echo href to pass two variables
Posted: Wed Apr 09, 2014 3:47 am
Hello, please help.
In a table column I have the following, which works as expected:
What I'm asking is; how to redirect to the detail page with TWO id variables:
Example: detail_edit.php?id1=23 AND id2=17
I know it has to be for example : ../detail_edit.php?fldID1=23&fldID2=17,
but I don't know how to include that "&fldID2" section in the php echo code.
I keep messing up the placement of the inverted commas (") and the full stops (.) in the echo.
Please help a newbie.
Thank you kindly.
Jamie.
In a table column I have the following, which works as expected:
Code: Select all
echo "<td><a href = detail_edit.php?id1=".$fldID1." >"."EDIT"."</a></td>";Example: detail_edit.php?id1=23 AND id2=17
I know it has to be for example : ../detail_edit.php?fldID1=23&fldID2=17,
but I don't know how to include that "&fldID2" section in the php echo code.
I keep messing up the placement of the inverted commas (") and the full stops (.) in the echo.
Please help a newbie.
Thank you kindly.
Jamie.