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

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -