| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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: Oct 2003 
				Location: Atlanta 
				
				
					Posts: 2,840
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				XML data files... anyone know how to...
			 
			does anyone know XML and how to create flat xml data files. where all the search data is in a .xml file on the system. I want to create a product database of about 40-60 items that will be called up via a drop-down box. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2002 
				Location: Behind the scenes 
				
				
					Posts: 5,190
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 not sure what you mean. xml is a markup language, you can layout structure however you want, but i wouldn't use it for storing data. 
		
	
		
		
		
		
			Code: 
	<xml>this is as flat as it goes</xml> 
				__________________ 
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Feb 2005 
				Location: south central 
				
				
					Posts: 60
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 hey you got a nice site in your sig manno!   
		
	
		
		
		
		
		
	
	  do you mind if I ask you what script you are using for it?  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Apr 2004 
				Location: Toronto, ON 
				
				
					Posts: 1,706
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Oct 2003 
				Location: Atlanta 
				
				
					Posts: 2,840
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 holograph: i wanted to do something like this in a products.xml 
		
	
		
		
		
		
		
	
	<prodname>Ipods</prodname> <desc>20gig ipod</desc> <url>http://www.url.com</url> <prodname>PSP</prodname> <desc>Sony PSP</desc> <url>http://www.urlpsp.com</url> then i want to use a FORM with a drop down box [ prodnames ] and when the user selects from the drop down box it the url for the product will load on the main page. graphicspimp: i'm using k-rate http://www.turn-k.net/ its a pretty good script but the creator just disappeared back in april. i got a coder that pretty much helped me tweak the script a lot adding features and removing stuff. its a good script to mess with though.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Oct 2003 
				Location: Atlanta 
				
				
					Posts: 2,840
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 by the way, the reason why i wanted to use a .xml is cause i'm only going to have like 40 or so products and i'm trying to cut back on the mysql connections when its not really needed 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Oct 2003 
				Location: Atlanta 
				
				
					Posts: 2,840
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 bump for the morning crew... anyone know xml and have an example 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2003 
				Location: Someplace Windy 
				
				
					Posts: 4,501
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 You CAN write code to build the xml file based on the DB data and use the built-in PHP XML parser to create the drop down from the xml file, though I can't imagine why you'd want to... 
		
	
		
		
		
		
			Are you looking for free code here or what? 
				__________________ 
		
		
		
		
	
	Perfect Gonzo  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 <&(©¿©)&> 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jul 2002 
				Location: Chicago 
				
				
					Posts: 47,882
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Creating XML files JUST so you can cut down on mysql connections is pointless.      Unless you know what you are doing, you will probably make things worse.  icq: 33375924 if you want to discuss other possible solutions to your mysql connection problem. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |