All, I have the following query in PHP:
$music_choice = $_POST['music_choice'];
$qryupdate = "Update event_details set ".$music_choice."='$song_id' where user_id='$_SESSION[oml_user_id]'";
I'm basically trying to pass in the variable of the column that I'd like to update. I can't get it so that it displays the variable as the column name instead of the variable.
Any ideas on how to do this? Thanks!