| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | |||
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Oct 2018 
				Location: New Orleans, Louisiana. / Newcastle, England. 
				
				
					Posts: 1,225
				 
				
				
				
				 | 
	
	
	
	
		
			
			 Any of the programmer types on here able to tell me why this is kicking out the following error? 
		
	
		
		
		
		
			Quote: 
	
 Here was the original code: Quote: 
	
 Quote: 
	
 ![]() 
				__________________ 
		
		
		
		
	
	Extreme Link List - v1.0  | 
|||
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Oct 2018 
				Location: New Orleans, Louisiana. / Newcastle, England. 
				
				
					Posts: 1,225
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Oh, i should add, when using only 1 query, the code works perfectly  
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Extreme Link List - v1.0  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Bollocks 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jun 2007 
				Location: Bollocks 
				
				
					Posts: 2,793
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Is this all of the code? What are lines 62, 63 and 74? 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Interserver unmanaged AMD Ryzen servers from $73.00  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Too lazy to wipe my ass 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2002 
				Location: A Public Bathroom 
				
				
					Posts: 38,688
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Easy, they are the lines that come between lines 61 and 64, plus the line between 73 & 75 respectively... come on... keep up  
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | ||
| 
			
			
			
			 see you later, I'm gone 
			
		
			
			
			Industry Role:  
				Join Date: Oct 2002 
				
				
				
					Posts: 14,127
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Not sure how any of that code is running. 
		
	
		
		
		
		
			You mention 2 queries but you only have one query in there. It has 2 conditions, but it is one query. Quote: 
	
 $sql = "SELECT * FROM Recipe WHERE Title RLIKE 'fryer' AND Title RLIKE 'Air' ORDER BY Title ASC"; You have to have the field being interrogated listed in each condition. I am not sure if that is your only problem. Quote: 
	
 The second set of code that was posted should not even run because of the errors in there. It shows 2 different wile loops but only one is closed. That doesn't matter though because the 2 different while loops make no sense. You are looping through the resuult and inside the loop you are looping through the results again. I don't think you want ot do that. . 
				__________________ 
		
		
		
		
	
	All cookies cleared!  | 
||
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | ||
| 
			
			
			
			 Bollocks 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jun 2007 
				Location: Bollocks 
				
				
					Posts: 2,793
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Try replacing the line 
		
	
		
		
		
		
			Quote: 
	
 Quote: 
	
 ![]() 
				__________________ 
		
		
		
		
	
	Interserver unmanaged AMD Ryzen servers from $73.00  | 
||
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Bollocks 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jun 2007 
				Location: Bollocks 
				
				
					Posts: 2,793
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 BTW the parameters need to be in the order ("localhost", user, password, database_name) 
		
	
		
		
		
		
			But you said it works fine if you only have one query so it may be you had the correct code for connecting to the database. Try using the query Sarettah described, the ones you wrote don't make sense. 
				__________________ 
		
		
		
		
	
	Interserver unmanaged AMD Ryzen servers from $73.00  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Oct 2018 
				Location: New Orleans, Louisiana. / Newcastle, England. 
				
				
					Posts: 1,225
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 i fixed it early this morning. 
		
	
		
		
		
		
			This issue was a missing Category as Sarettah mentioned above. Quote: 
	
 Must stop coding while drinking Jameson, that will solve most of the issues ![]() 
				__________________ 
		
		
		
		
	
	Extreme Link List - v1.0  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
			 
			 
		 | 
		
	|||||||
		
			
  | 
	|||||||
| Bookmarks | 
| Tags | 
| php, warning, america/chicago], parameter, line, null, [20-may-2022, expects, code, mysqli_result, kicking, mysqli_fetch_array, error, sets, crap, original, errors, query, mysqli_query, sql, types, multiple, programmer, mysqli |