FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Parse error in line 206
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Parse error in line 206 [message #20813 is a reply to message #20751] Fri, 29 October 2004 10:39 Go to previous message
Abraxa is currently offline  Abraxa   Germany
Messages: 72
Registered: August 2004
Location: Germany
Karma:
Member
When you refer to arrays or objects inside quoted strings you need to put the expression in brackets:

$result2 = mysql("RegUser", "select aNum,aApp,aOS,aDateR,aStatus from UserApp where aUser = '{$row[0]}' order by aNum DESC");

Otherwise the compiler just sees $row and then [0] - which isn't what you mean Smile

-Abraxa
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: pq_query 'prepare' error
Next Topic: how do I create a redirect in a php file
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:37:45 GMT 2024

Total time taken to generate the page: 0.03905 seconds