Hello,
I use a drop shipping program which offers us an XML file with every product they offer including information like the product number, long descriptions, image location, price, etc. The file is updated every day and is accessible via a normal url link (no need to log in). How can I use t his XML file to generate dynamic pages for my site?
I am trying to learn PHP but after realizing how in depth it is I was considering just learning how to setup the product page and database first and get it working... then learn more in depth about php.
Can anyone explain how I can set up a php page that will be able to access this xml data and produce a page with that product's information? I would like the title of the page to be the product name also. My hosting company provides MySQL (and postgres mysqul whatever this is) but I only have a VERY minimal understanding of databases.
If nothing else I would at least like to use this xml file along with some program to create many html files and upload them to my server. So if anyone knows of a good program to do this I would appreciate that info too We have a section completely devoted to PHP Programming, so I've moved you in here and hopefully this should help get your question answered.
My personal belief, if you have the time to do so, learn the programming language you're planning using very well. It will just frustrate you more and more as time goes on to know the language can do all these cool things but that you don't know how to make it work.
But, I'm one of those crazy guys who actually enjoys coding, so you may not want to listen to me The easiest and most flexible answer is to import the XML as part of your MySQL database. You can do this in phpMyAdmin.
Of course that will depend on your cart, too. So some work may have to be done.
I use a drop shipping program which offers us an XML file with every product they offer including information like the product number, long descriptions, image location, price, etc. The file is updated every day and is accessible via a normal url link (no need to log in). How can I use t his XML file to generate dynamic pages for my site?
I am trying to learn PHP but after realizing how in depth it is I was considering just learning how to setup the product page and database first and get it working... then learn more in depth about php.
Can anyone explain how I can set up a php page that will be able to access this xml data and produce a page with that product's information? I would like the title of the page to be the product name also. My hosting company provides MySQL (and postgres mysqul whatever this is) but I only have a VERY minimal understanding of databases.
If nothing else I would at least like to use this xml file along with some program to create many html files and upload them to my server. So if anyone knows of a good program to do this I would appreciate that info too We have a section completely devoted to PHP Programming, so I've moved you in here and hopefully this should help get your question answered.
My personal belief, if you have the time to do so, learn the programming language you're planning using very well. It will just frustrate you more and more as time goes on to know the language can do all these cool things but that you don't know how to make it work.
But, I'm one of those crazy guys who actually enjoys coding, so you may not want to listen to me The easiest and most flexible answer is to import the XML as part of your MySQL database. You can do this in phpMyAdmin.
Of course that will depend on your cart, too. So some work may have to be done.