Code: Select all
<p>Usage is as simple as this:</p>
<pre><?php<br>require 'varDx.php';<br><br>$dx = new \varDx\cDX; //create an object<br>$dx->def('file.dat'); //define data file<br><br>$val1 = "this is a string";<br><br>$dx->write('str1', $val1); //writes key to file<br>echo $dx->read('data1'); //returns key value from file</pre>
<p>It has functions for reading, writing, modifying, checking and deleting data. Get the code from the Github <a title="varDx Github Repo" href="https://github.com/rahuldottech/varDx" target="_blank" rel="noopener">repository</a>, and see the <a title="varDx Documentation" href="https://github.com/rahuldottech/varDx/blob/master/README.md" target="_blank" rel="noopener">README</a> file for more documentation.</p></article>
Code: Select all
<p>Usage is as simple as this:</p><pre><?php<br>require 'varDx.php';<br><br>$dx = new \varDx\cDX; <p>It has functions for reading, writing, modifying, checking and deleting data. Get the code from the Github <a title="varDx Github Repo" href="https://github.com/rahuldottech/varDx" target="_blank" rel="noopener">repository</a>, and see the <a title="varDx Documentation" href="https://github.com/rahuldottech/varDx/blob/master/README.md" target="_blank" rel="noopener">README</a> file for more documentation.</p></article>