05-07-2009, 10:58 PM
|
#2 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Let's do it one step at a time. Let's first clean up your query..
PHP Code:
$notesquery = mysql_query("SELECT * FROM user WHERE `username` = '".$username."' AND `password` = '".$password."' ") or die(mysql_error());
$notesresult = mysql_fetch_array( $notesquery );
$notes = $notesresult['notes'];
|
|
|
|