I'm executing HTML code from PHP & need to insert a PHP variable into the text box value="". But I have tried countless attempts to make this succeed but to no avail.
I think the problem is because the HTML is being called by the PHP ? I have included code below, this runs in a loop.
echo '<input name="rowID" type="textbox" id="rowID" value="" />';
The variable I would like in the value="" area is $rowID but I have tried various combinations of brackets, full stops, escaping characters etc but just cannot get this to work.
Any help would be greatly appreciated.