pixlnet Posted November 2, 2007 Share Posted November 2, 2007 Is there a way to assign a variable from a database field? I'm thinking along the lines of $make = $row_rsList['make']; $model = $row_rsList['model']; then they'll switch out based on my SQL WHERE statement. This valid syntax? Quote Link to comment https://forums.phpfreaks.com/topic/75807-assign-variable-from-database-field/ Share on other sites More sharing options...
~n[EO]n~ Posted November 2, 2007 Share Posted November 2, 2007 $make = $row_rsList['make']; $model = $row_rsList['model']; Yes, it is valid Quote Link to comment https://forums.phpfreaks.com/topic/75807-assign-variable-from-database-field/#findComment-383671 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.