I need a script to delete a row from a database. I am not sure of the syntax of the statement due to the format of the database.
This is an example row of the table that has four columns:
I know the value of s:12 in variable $randid.
what I have been trying is variations of this
but just get errors.
mysql_query("DELETE FROM ecom_cart WHERE '%s:6:\'randid\'`,\'s:12:\'".$randid."\'%'
Any help would be appreciated.