| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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 
			
		
			
			
			Join Date: Apr 2002 
				
				
				
					Posts: 9,736
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Extremely basic PHP help needed.
			 
			Okay, i've already got this..  
		
	
		
		
		
		
		
	
	PHP Code: 
	
			
	Hopefully that actually makes sense. I'm so very clueless when it comes to this shit.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 See sig.  Join Epic Cash. 
			
		
			
			
			Join Date: Oct 2002 
				Location: Montreal, Quebec. ICQ: 214702014 
				
				
					Posts: 22,366
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 PHP Code: 
	
			
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Nov 2001 
				Location: MTL 
				
				
					Posts: 5,060
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 If w is a variable you can check with  
		
	
		
		
		
		
			if (empty($w)) { ... } else { ... } not sure if I get what you mean tough! 
				__________________ 
		
		
		
		
	
	mmm my sig was too big... no more cool animation but hey still! need php? ICQ: 94586959  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Apr 2002 
				
				
				
					Posts: 9,736
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 SilverTab, thanks. That's exactly what i was looking for. psyko, thanks too, but not exactly sure what to do with what you gave me! But thanks anyways. Sorry for being so unclear in the first place. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Nov 2001 
				Location: MTL 
				
				
					Posts: 5,060
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Np !...glad I could be helpful  
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	mmm my sig was too big... no more cool animation but hey still! need php? ICQ: 94586959  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 See sig.  Join Epic Cash. 
			
		
			
			
			Join Date: Oct 2002 
				Location: Montreal, Quebec. ICQ: 214702014 
				
				
					Posts: 22,366
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Chodadog...  the isset() function checks to see if the variable has been set (if it has a value).  if so, it gives a result of TRUE. 
		
	
		
		
		
		
		
	
	the code i posted checks to see if W has been given a value, and if not, it gives W a value of 99999 or whatever else you want. i posted it in one line, but it could be broken into several lines PHP Code: 
	
			
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Nov 2001 
				Location: MTL 
				
				
					Posts: 5,060
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	
	mmm my sig was too big... no more cool animation but hey still! need php? ICQ: 94586959  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Feb 2002 
				Location: Florida 
				
				
					Posts: 672
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I always create  a function like: 
		
	
		
		
		
		
			PHP Code: 
	
			
	
				__________________ 
		
		
		
		
	
	- this space intentionally left blank -  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2002 
				
				
				
					Posts: 160
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 another way(not tested btw) just cuz i have nothing better to do after i've watered the plants and taken my special pills.  
		
	
		
		
		
		
		
	
	$w = empty($w) ? 999999 : $w;  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |