Answers for "fetch variable into function php"

PHP
0

php fetch mysql result as variable

<?php
$result = mysql_query("SELECT id,email FROM people WHERE id = '42'");
if (!$result) {
    echo 'Could not run query: ' . mysql_error();
    exit;
}
?>
Posted by: Guest on October-15-2020

Code answers related to "fetch variable into function php"

Browse Popular Code Answers by Language