What's wrong with my Syntax? (PHP/HTML) -


well, i've gone on atleast 30 times, tried many possible combinations think of, can spot syntax error? (i can't, obviously). doesn't display should be, instead displays actual html of page!

the code:

$ct->data[$key][1] =   '<input id="quantity" name='."items[<?=$product_id;?>]".   'type="text" value="'.$ct->data[$key][1].'"    style="background:#ffffff url(qty.png) no-repeat 4px 4px; 

can please tell me i've done wrong? help/advice @ appreciated.

thanks!

what this?

name='."items[<?=$product_id;?>]".' type= 

i think meant

name="items[' . $product_id . ']" type= 

Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -