I have a variable defined in the php page code, called $id.
I am also displaying a database field from a mysql database, called $text.
The $text database field needs to display and load the $id variable in it as well.
$result=mysql_query("SELECT text FROM testtable WHERE id='1');
What does the $text field need to contain when I insert it into the testtable to display the $id in it as well.
Say the data in $text field is: 'here is the text and the id is $id'
What code needs to go around the $id part to display properly?
I guess it is a variable in a variable?