beginner @ mySQL
Moderator: General Moderators
i know that you can't, I just wanted to show what $result contained.
BTW, the output is now 1 (without any errors), so i guess it works now
this seems to be the thing that made it not work:
BTW, the output is now 1 (without any errors), so i guess it works now
this seems to be the thing that made it not work:
Code: Select all
<?php
$sql = "SELECT * FROM one";
$result = mysql_query($sql) or die(mysql_error()); //If replace the $sql variable with the content of $sql, it doesn't work, but like it is now, it's working :/
?>
Last edited by vigge89 on Tue Dec 23, 2003 2:53 pm, edited 1 time in total.