Missing $ in variable name rs1? On Jul 18, 2009, at 7:37 PM, Reji Jayan wrote: > I made a small mistake while making the query in posting > > field name which is used in table and qry are same > > ---------------------------------------------------------- > > $sql1 = "SELECT * FROM cityrates WHERE id = '$city_rec'"; > $rec1 = mysql_query($sql1); > $rs1=mysql_fetch_array($rec1); > > $ship_county=$rs1['County']; > 49 $ship_tax = rs1['Tax']; > $ship_city=$rs1['City']; > > ---------------------------------------------------------- > Parse error: parse error in > E:\wamp\www\adsdfsdfsdf\vieworders.php on line 49 > ---------------------------------------------------------- > > Love Cricket? Check out live scores, photos, video highlights and > more. Click here http://cricket.yahoo.com > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]