Php error, Rows wont show

Status
Not open for further replies.

mannythubbo

New Member
Jan 26, 2012
6
2
Could someone take a look at this and tell me why things won't show?
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
change
PHP:
$getItems = mysql_query("SELECT * FROM users WHERE mail = '{email}' ORDER BY order_id ASC");

to

PHP:
$getItems = mysql_query("SELECT * FROM users WHERE mail = '" . $_SESSION['user']['mail'] . "' ORDER BY order_id ASC");

 
Status
Not open for further replies.

Users who are viewing this thread

Top