Ken2k7 Posted May 10, 2009 Share Posted May 10, 2009 Change $query_data = mysql_fetch_row($result); to: $query_data = mysql_fetch_row($query); Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830788 Share on other sites More sharing options...
justAnoob Posted May 10, 2009 Author Share Posted May 10, 2009 now there is an error on the line you wanted me to change Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830791 Share on other sites More sharing options...
Ken2k7 Posted May 10, 2009 Share Posted May 10, 2009 duh! Change $query = "SELECT count(*) FROM abcxyz WHERE user_id = " . $e_row['id']; To $query = mysql_query("SELECT count(*) FROM abcxyz WHERE user_id = " . $e_row['id']) or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830795 Share on other sites More sharing options...
justAnoob Posted May 10, 2009 Author Share Posted May 10, 2009 oopppsss,, thought I did that... Everthing works now.... thanks... shoot me an email if you don't [email protected] a few questions for you if you dont' mind. Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830803 Share on other sites More sharing options...
justAnoob Posted May 10, 2009 Author Share Posted May 10, 2009 I'll get back to you tomorrow,, thanks again. Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830804 Share on other sites More sharing options...
Ken2k7 Posted May 10, 2009 Share Posted May 10, 2009 If you have a question that must be directed towards me, PM me. Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830809 Share on other sites More sharing options...
justAnoob Posted May 10, 2009 Author Share Posted May 10, 2009 Alright,, sounds good... Thanks again for all your help.... You have no idea how much I appreciate it. Talk to you soon. Link to comment https://forums.phpfreaks.com/topic/157551-solved-need-help-to-get-variable-for-a-script/page/2/#findComment-830815 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.