Solved

Parsing Error

Posted on 2003-11-05
1
141 Views
Last Modified: 2006-11-17
Could someone tell me what is wrong with this line. It gives me a parsing error.      


$qry = 'SELECT DISTINCT L1Code, L1Desc, L1Image, L1URL FROM '.$opts['tb']. .$opts['tb1']. ' WHERE Status = "A" ORDER BY L1Desc';

Thanks

Rafael
0
Comment
Question by:rcleon
1 Comment
 
LVL 13

Accepted Solution

by:
lozloz earned 250 total points
ID: 9689865
you only need one dot in between your 2 variables

$qry = 'SELECT DISTINCT L1Code, L1Desc, L1Image, L1URL FROM '.$opts['tb']. $opts['tb1']. ' WHERE Status = "A" ORDER BY L1Desc';

loz
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now