ironside82 Posted May 17, 2008 Share Posted May 17, 2008 i am performing a SQL search with the code below which is not working: $model=$r[$bag1]; how do I get the variable $bag1 to function in this statement? Should be simple enough. Am i missing quotations or something? Cheers James Link to comment https://forums.phpfreaks.com/topic/106045-variables-in-sql-search/ Share on other sites More sharing options...
phpzone Posted May 17, 2008 Share Posted May 17, 2008 Can you post a code snippet please. What is in $bag? You are passing $bag's content at the key to $r, is that what you intended to do? Code snippet, explanation would help Link to comment https://forums.phpfreaks.com/topic/106045-variables-in-sql-search/#findComment-543478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.