Ten Operator Syntax


Posted on 16th Feb 2014 07:03 pm by admin

Hi Guys,

I can't figure out why i am getting a parse error with this basic ten op code:


$prodTH = ($prodIA == "Y") ? "<img src="" . amazon_display_thumbnail($prodID) "">" : '<img src="imgProducts/img-th/'.$productThumb.'" alt="'.$prodNM.'" border="0" /></a>';


i can't see where the error lies! any help would be appreciated

thanks

No comments posted yet

Your Answer:

Login to answer
294 Like 50 Dislike
Previous forums Next forums
Other forums

Help Import Animoto and Youtube
CAn someone help me urgently want to allow users on my website to import youtube/revver/dailymotion

Sub-domains & calling unique content
Hello,

Is there a way use something similar to the $_GET function for a sub-domain? I to be a

Function
How can I make this function that once you click the link in the code it takes you to a new page wit

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

Create PHP table grid help, please
I have a MySQL database setup, now it's time for the table (gridview) design in php. Here's the prob

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

extending tidy
I have problem with type-hinting and extending tidy. This code creates error:
Code: class cMyTidy

Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is

Developing Ajax-enabled ASP.Net applications for the iPhone
I would like to develop Ajax web applications using Visual Studio that are optimized for the iPhone.

Random Number Generation And Probability
Hello, I am working on a function which has to insert data into a SQL table.

we have to suppl

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash