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
Post a Comment