query .. please review

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux