Solved

Parsing Error

Posted on 2003-11-05
1
145 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

830 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