June 16, 2015

MySQL: PHP register script not working.


It's simple sript to select OR insert query with MySQL.

I copied the example from the PHP documentation.


<?php
    $sql='Type here any select OR insert query';
    $result = mysql_query($sql);
    if (!$result) {
        die('Invalid query: ' . mysql_error());
    }
    mysql_close();
?>

For more result Click Here!

Enjoy!

No comments:

Post a Comment

Integrating Google reCAPTCHA v3 in HTML Form with PHP

  What is Google reCAPTCHA v3? Google reCAPTCHA is a free service that helps protect websites from spam and abuse. reCAPTCHA v3 is the lates...