Monday 25 December 2017

php - Deprecated: mysql_query()

i just update my server. it showing an error
today




Deprecated:
mysql_query(): The mysql extension is deprecated and will be removed in the >future:
use mysqli or PDO instead in C:\wamp\www\work\db\dbfields - Copy.php on line
33





my
dbfields - Copy.php page is






mysql_query("insert into user(name,address)
values('$name','$address')");







i
create 2 columns (name&address), need to insert the value of var($name&
$address).

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...