Category: Php

insert update delete with image in php

In this concept is heart of the php program language,this source code mainly used for backend section.this source code helpful for php beginners.   Download source code config.php In this page to connect database, <?php /** * This code is php and mysqli connection part. */ $databaseHost = 'localhost'; $databaseName = 'phpcrud'; $databaseUsername = 'root';

How to Declare checkbox variable in php

Html checkbox input type not accept normal php variable declaration method, its can use for another way. Example: Html Code: <html> <body> <h2>Color Type:</h2> <form> <input type="checkbox" name="color" value="Red" ><span style="font-size:20px;">Red</span><br> <input type="checkbox" name="color" value="Blue" ><span style="font-size:20px;">Blue</span><br> <input type="checkbox" name="color" value="Green" ><span style="font-size:20px;">Green </span><br> <input type="checkbox" name="color" value="Black" ><span style="font-size:20px;">Black</span> </form> </body> </html> use name