BryanG Posted June 20, 2011 Share Posted June 20, 2011 Ok, so i am working with simple html dom, and i am gathering prices of products from newegg, bestbuy, amazon, and tiger direct (im affiliated with all 4 and have permission) and i need a way so i can edit the script so i can change the link to the page of the item. How could i do this? Could i do this with a form? I also need to edit the link on the html file it generates so when they click buynow, it uses my affiliate link to that site, so i get my money. How can i edit this all from an "admin panel" Quote Link to comment https://forums.phpfreaks.com/topic/239894-price-comparison-editing-php-script/ Share on other sites More sharing options...
AMcHarg Posted June 20, 2011 Share Posted June 20, 2011 Are you asking how to change the link on an html page? Sorry; a little confused. :-\ Quote Link to comment https://forums.phpfreaks.com/topic/239894-price-comparison-editing-php-script/#findComment-1232237 Share on other sites More sharing options...
BryanG Posted June 20, 2011 Author Share Posted June 20, 2011 Im asking, How do i make it so my client can login, fill out a form with the information, it inserts that information into the script and runs it. (that will then intern generate a new html page) Quote Link to comment https://forums.phpfreaks.com/topic/239894-price-comparison-editing-php-script/#findComment-1232243 Share on other sites More sharing options...
AMcHarg Posted June 20, 2011 Share Posted June 20, 2011 Ah, I see now. Well that's quite a lot for one question. You'd be better getting the form to store information on a database and having a single php page to extract particular records using a unique id, than creating a new page each time. I'd suggets you probably need to learn a bit about php as I doubt someone will just give you a full, working example in here. It's not quite as simple as just telling you what to do if you have no experience. Quote Link to comment https://forums.phpfreaks.com/topic/239894-price-comparison-editing-php-script/#findComment-1232247 Share on other sites More sharing options...
BryanG Posted June 20, 2011 Author Share Posted June 20, 2011 I know php, i was just wondering what the best way was. I already wrote a script to collect the prices and stuff from the websites, now i just gotta write this. Quote Link to comment https://forums.phpfreaks.com/topic/239894-price-comparison-editing-php-script/#findComment-1232251 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.