RE: Error. Need help (Bad arguments.)
Sounds more like a PHP error than a MySQL error. -Original Message- From: John [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 12:53 AM To: mysql@lists.mysql.com Subject: Error. Need help (Bad arguments.) I get this error: Warning: implode(): Bad arguments. in /home/b/cl/TP2/admin/defaults.php on line 102 102-104 Code is: { $cat_array=explode(:,$_POST['cat_str']); } Ideas? Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] INFORMATION IN THIS MESSAGE, INCLUDING ANY ATTACHMENTS, IS INTENDED FOR THE PERSONAL AND CONFIDENTIAL USE OF THE INTENDED RECIPIENT(S) NAMED ABOVE. If you are not an intended recipient of this message, or an agent responsible for delivering it to an intended recipient, you are hereby notified that you have received this message in error, and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you received this message in error, please notify the sender immediately, delete the message, and return any hard copy print-outs. This message has been scanned for viruses by McAfee's Groupshield. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Error. Need help (Bad arguments.)
I get this error: Warning: implode(): Bad arguments. in /home/b/cl/TP2/admin/defaults.php on line 102 102-104 Code is: { $cat_array=explode(:,$_POST['cat_str']); } Ideas? Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Need Help bad!.. today.. of all days!
hope you version came out better thn mine.. in my mail it was all out of shape.. maybe could attach a text file.. doubt the list allows that thoough alot dont Upload it as your_code_name.txt to your website and send an URL to the list. filter: mysql query sql Bye, B. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Need Help bad!.. today.. of all days!
Hello.. of all days i have a project thats to be shown tomorrow. i cannot get the dam thing to work it should be simple i'd think i would post code and all and if asked will but it comes down to this.. i am using php 4 and mysql.. and doing math i have say 40 entries in the database, 20 for two differant surveys.. anytime anew person fills out the survey they get a unique id i have it set to grabe the results from each unigue id for each question through mysql.. but it seems to stop shot about 4 questions.. i even tried dropped the while loop 4 questions shorter -4 and it still stop the same place.. of all days for this to occure.. i know but if anyone has a clue please offer suggestions.. also plase cc [EMAIL PROTECTED] with your reply.. thanks -- Your Guardian Angel... find out here http://www.angelhaven.com/aodmail/ Come Cruisin with the Angels http://www.AngelCruise.com Sign up for your free AngelHaven E-mail Today http://www.angelhaven.com/mail/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Need Help bad!.. today.. of all days!
I think you need to post the code. The description of the problem is a bit ambiguous. _justin Webmaster wrote: Hello.. of all days i have a project thats to be shown tomorrow. i cannot get the dam thing to work it should be simple i'd think i would post code and all and if asked will but it comes down to this.. i am using php 4 and mysql.. and doing math i have say 40 entries in the database, 20 for two differant surveys.. anytime anew person fills out the survey they get a unique id i have it set to grabe the results from each unigue id for each question through mysql.. but it seems to stop shot about 4 questions.. i even tried dropped the while loop 4 questions shorter -4 and it still stop the same place.. of all days for this to occure.. i know but if anyone has a clue please offer suggestions.. also plase cc [EMAIL PROTECTED] with your reply.. thanks -- Your Guardian Angel... find out here http://www.angelhaven.com/aodmail/ Come Cruisin with the Angels http://www.AngelCruise.com Sign up for your free AngelHaven E-mail Today http://www.angelhaven.com/mail/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Need Help bad!.. today.. of all days!
the code is huge i'll post whats relevant. there may be a few irrelevant things in there... but hell... if your willing to look i'm willing to post i know what works so will skip down lower to prevent wasting your time and if ya could please cc your responce to [EMAIL PROTECTED], though if to much trouble i understand i thought i was close.. but then compared the data and it doesnt match.. for instance its spitting out the right subcluters.. and untill i asked for the coomparison it was fine.. i cant do a percentage match or trial till it gives right info.. while($i_sub$num_sub){ $sub_id = @mysql_result($result_sub,$i_sub,subcluster_id); $result_per = mysql_query(select ques_ans from data_1 where ass_id=$ass_id AND user_id=$user_id AND subcluster_id='$sub_id',$db); $num_per = mysql_num_rows($result_per); $i_per=0; //this seems wrong but will count all subclusters equally 1 at a time through the while should $i_per1 = 0; // need a double count so need two seperate $cper = 0; while($i_per$num_per){ // so we need to run the while, probably need to cut the ending out here to add to end of total //gonna change this into an include so its not listed 3 times here-maybe // do math function $nper = $num_per; $nper2 = ($nper*5); // max reading to devide by //answer = // need to add all the answers here while($i_per1$num_per){ $cper = $cper; $cper1 = @mysql_result($result_per,$i_per1,ques_ans); $i_per1++; $cper2 = @mysql_result($result_per,$i_per1,ques_ans); $cper = ($cper+$cper1+$cper2); // $cper3 = $cper; // this is just an easy extraction // i think this actualy might work echo sub=$sub_id = $cperp; $i_per1++;}; // this should loop through output to count the results total //TEST //echo cper3 = $cper3; $i_per++; }; $i_sub++;}; i know theres some redundant code in there etc.. but hey.. till it works i dont like to delete -- Original Message -- From: Justin Farnsworth [EMAIL PROTECTED] Date: Tue, 25 Dec 2001 09:28:53 -0500 I think you need to post the code. The description of the problem is a bit ambiguous. _justin Webmaster wrote: Hello.. of all days i have a project thats to be shown tomorrow. i cannot get the dam thing to work it should be simple i'd think i would post code and all and if asked will but it comes down to this.. i am using php 4 and mysql.. and doing math i have say 40 entries in the database, 20 for two differant surveys.. anytime anew person fills out the survey they get a unique id i have it set to grabe the results from each unigue id for each question through mysql.. but it seems to stop shot about 4 questions.. i even tried dropped the while loop 4 questions shorter -4 and it still stop the same place.. of all days for this to occure.. i know but if anyone has a clue please offer suggestions.. also plase cc [EMAIL PROTECTED] with your reply.. thanks
Re: Need Help bad!.. today.. of all days!
hope you version came out better thn mine.. in my mail it was all out of shape.. maybe could attach a text file.. doubt the list allows that thoough alot dont -- Original Message -- From: Webmaster [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 25 Dec 2001 09:53:50 -0500 the code is huge i'll post whats relevant. there may be a few irrelevant things in there... but hell... if your willing to look i'm willing to post i know what works so will skip down lower to prevent wasting your time and if ya could please cc your responce to [EMAIL PROTECTED], though if to much trouble i understand i thought i was close.. but then compared the data and it doesnt match.. for instance its spitting out the right subcluters.. and untill i asked for the coomparison it was fine.. i cant do a percentage match or trial till it gives right info.. while($i_sub$num_sub){ $sub_id = @mysql_result($result_sub,$i_sub,subcluster_id); $result_per = mysql_query(select ques_ans from data_1 where ass_id=$ass_id AND user_id=$user_id AND subcluster_id='$sub_id',$db); $num_per = mysql_num_rows($result_per); $i_per=0; //this seems wrong but will count all subclusters equally 1 at a time through the while should $i_per1 = 0; // need a double count so need two seperate $cper = 0; while($i_per$num_per){ // so we need to run the while, probably need to cut the ending out here to add to end of total //gonna change this into an include so its not listed 3 times here-maybe // do math function $nper = $num_per; $nper2 = ($nper*5); // max reading to devide by //answer = // need to add all the answers here while($i_per1$num_per){ $cper = $cper; $cper1 = @mysql_result($result_per,$i_per1,ques_ans); $i_per1++; $cper2 = @mysql_result($result_per,$i_per1,ques_ans); $cper = ($cper+$cper1+$cper2); // $cper3 = $cper; // this is just an easy extraction // i think this actualy might work echo sub=$sub_id = $cperp; $i_per1++;}; // this should loop through output to count the results total //TEST //echo cper3 = $cper3; $i_per++; }; $i_sub++;}; i know theres some redundant code in there etc.. but hey.. till it works i dont like to delete -- Original Message -- From: Justin Farnsworth [EMAIL PROTECTED] Date: Tue, 25 Dec 2001 09:28:53 -0500 I think you need to post the code. The description of the problem is a bit ambiguous. _justin Webmaster wrote: Hello.. of all days i have a project thats to be shown tomorrow. i cannot get the dam thing to work it should be simple i'd think i would post code and all and if asked will but it comes down to this.. i am using php 4 and mysql.. and doing math i have say 40 entries in the database, 20 for two differant surveys.. anytime anew person fills out the survey they get a unique id i have it set to grabe the results from each unigue id for each question through mysql.. but it seems to
Re: Need Help bad!.. today.. of all days!
Hello.. of all days i have a project thats to be shown tomorrow. i cannot get the dam thing to work it should be simple i'd think i would post code and all and if asked will [snip] Is the performance of your code data independent? That is to say, if you remove (from the database) the set of data where it currently stops, does it stop there again? Does the code stop in the same place with different data? Brad - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
help bad
i went through my code 20 times.. hit the help sites and all to see if it was a linux problem or what.. i am running 4.05 php 2.23.37 mysql (i believe, been awhile sine i touched it *l*) its definately 2.23 i can say i even got the 2.1 gd installed with it thought took a week still shows as 1.6 though so guess it doint matter. aint had time to play to see if it works better.. but wouldnt know cause never had time to play with old gd i do this crap for a living.. and why this is acting up i dont understand.. its a simple while loop that should count as it goes.. i am missing something dumb i guess.. just help if ya can.. and thaks if you even bother to look it over.. -- Your Guardian Angel... find out here http://www.angelhaven.com/aodmail/ Come Cruisin with the Angels http://www.AngelCruise.com Sign up for your free AngelHaven E-mail Today http://www.angelhaven.com/mail/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: help bad
i meant 3.23.. just so you all know -- Original Message -- From: Webmaster [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 25 Dec 2001 10:26:50 -0500 i went through my code 20 times.. hit the help sites and all to see if it was a linux problem or what.. i am running 4.05 php 2.23.37 mysql (i believe, been awhile sine i touched it *l*) its definately 2.23 i can say i even got the 2.1 gd installed with it thought took a week still shows as 1.6 though so guess it doint matter. aint had time to play to see if it works better.. but wouldnt know cause never had time to play with old gd i do this crap for a living.. and why this is acting up i dont understand.. its a simple while loop that should count as it goes.. i am missing something dumb i guess.. just help if ya can.. and thaks if you even bother to look it over.. -- Your Guardian Angel... find out here http://www.angelhaven.com/aodmail/ Come Cruisin with the Angels http://www.AngelCruise.com Sign up for your free AngelHaven E-mail Today http://www.angelhaven.com/mail/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php -- Your Guardian Angel... find out here http://www.angelhaven.com/aodmail/ Come Cruisin with the Angels http://www.AngelCruise.com Sign up for your free AngelHaven E-mail Today http://www.angelhaven.com/mail/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: help bad
So sprach »Webmaster« am 2001-12-25 um 10:30:47 -0500 : i meant 3.23.. just so you all know Fine... And the problem is...? Filter: sql Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED] iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 9 days 8 hours 53 minutes - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php