at the moment i am trying to do the sql which selects the relevent row from the mysql database.
this code:
Code: Select all
$query = "SELECT * FROM bookingtable WHERE id = 1";the page this is on allready is http://*******.com/********/**********/editbay.php?id=9, so the page knows which id link was clicked on in the previous page.
the code i am thinking of is something along the lines of
Code: Select all
$query = "SELECT * FROM bookingtable WHERE id =' . $row['id'] . '";Code: Select all
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRINGThanks in advance.