jackhampson1 Posted May 9, 2011 Share Posted May 9, 2011 Hi , i was just posting to ask you all a simple question , and please help cus its realy annoying :( Can i ask right , Each mod all the time when i try to add it its always got a sytnax error please look at this and tell me what the error is? Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in *****\******\*****\stocks.php on line 109 And Line 109 is : <td><a href="http://'.$_SERVER['PHP_SELF'].'?trip=sell&ID='.$soc['holdingID'].'" target="_blank">Sell Stock</a></td> So please try and help me? Quote Link to comment Share on other sites More sharing options...
Danny696 Posted May 9, 2011 Share Posted May 9, 2011 Are you doing like print" or print' or echo" or echo'???? Quote Link to comment Share on other sites More sharing options...
jackhampson1 Posted May 9, 2011 Author Share Posted May 9, 2011 echo ' mate Quote Link to comment Share on other sites More sharing options...
Danny696 Posted May 9, 2011 Share Posted May 9, 2011 Well, replace "'" with a ' Quote Link to comment Share on other sites More sharing options...
jackhampson1 Posted May 9, 2011 Author Share Posted May 9, 2011 Dude.... Ur pro ;D now all i have to sus out is Stock Market Here is a list of stocks available along with their price and such. -> View your stocks -> View your log Unknown column 'stockCHA' in 'field list' I'm sure it will be easy :/ Quote Link to comment Share on other sites More sharing options...
Danny696 Posted May 9, 2011 Share Posted May 9, 2011 Lol, I'm no where near a pro... The stock table doesnt contain a column called 'stockCHA' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.