details - user only see own data |
12/19/2007 6:35:51 AM |
PHPRunner General questions | |
G
garethp authorDevClub member
Hi |
|
J
|
Jane 12/19/2007 |
Hi, global $conn; $where = ""; $str = "select orderno from order_header where account=".$_SESSION["_order_header_OwnerID"]; $rs = db_query($str,$conn); while ($data = db_fetch_array($rs)) $where.=$data["orderno"].","; $where = "orderno in (".substr($where,0,-1).")"; $strWhereClause = whereAdd($strWhereClause,$where); |
G
|
garethp authorDevClub member 12/19/2007 |
Jane Technical information Error type 256 Error description Unknown column 'asd1' in 'where clause' URL www.**.co.uk/trial/order_details_list.php? Error file e:\domains\i\****.co.uk\user\htdocs\trial\include\dbconnection.php Error line 26 SQL query select `record`, `orderno`, `part` From `order_details`
|
J
|
Jane 12/20/2007 |
Hi, |
G
|
garethp authorDevClub member 12/21/2007 |
Jane |
J
|
Jane 12/24/2007 |
answered in your personal email. |