Solved

Parsing Error

Posted on 2003-11-05
1
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

626 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