php - Store value from SELECT statement into variable -
how can store value select mysql statement php variable? example:
$myvariable = select * x id = x
thanks
you need @ php manual mysql/mysqli wrapper functions.
http://us3.php.net/manual/en/book.mysql.php
http://us3.php.net/manual/en/book.mysqli.php
if code provided written proper syntax (you need single/double quotes around string literals in php) variable contain sql query string. need send database via kind of wrapper.
you may wont search around general php , php/mysql tutorials.
Comments
Post a Comment