techker Posted October 17, 2007 Share Posted October 17, 2007 hi guys im woundering if any body could help me find a tutorial for this: i have a friend that i made a web site for and he is a distributor. now he has some products that sell like hot cakes. i want to make him a page that contains his monthly hot cakes but i want him to update it. i have an idea but still a newbe at this.. i can make the database and some of the code.but i have now idea how to make this. thx for the help.hope im clear in my explanation..lol Quote Link to comment https://forums.phpfreaks.com/topic/73720-like-a-cms/ Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 CMS do you know what CMS? i guess you dont need it on that project Quote Link to comment https://forums.phpfreaks.com/topic/73720-like-a-cms/#findComment-371978 Share on other sites More sharing options...
techker Posted October 17, 2007 Author Share Posted October 17, 2007 i guess it could be pretty simple.no need for that.i was just referring to it. Quote Link to comment https://forums.phpfreaks.com/topic/73720-like-a-cms/#findComment-371979 Share on other sites More sharing options...
kratsg Posted October 17, 2007 Share Posted October 17, 2007 Sounds like something as simple as using a flat text file that your friend could edit. The php file you make could read line by line, interpret and display the info, like: new_updates.txt Product Name|http://www.product_url.com/|http://www.product_url.com/image_of_product.gif|price of product And each line would contain that information (filled in properly of course). Then you simply get a php script fgets() function to store each line as an array, loop through the array, implode each array[index] at "|", and etc... If you need more description on the functions, just reply. Quote Link to comment https://forums.phpfreaks.com/topic/73720-like-a-cms/#findComment-371982 Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 oh men what are you saying Sounds like something as simple as using a flat text file that your friend could edit. The php file you make could read line by line, interpret and display the info, like: new_updates.txt Product Name|http://www.product_url.com/|http://www.product_url.com/image_of_product.gif|price of product And each line would contain that information (filled in properly of course). Then you simply get a php script fgets() function to store each line as an array, loop through the array, implode each array[index] at "|", and etc... If you need more description on the functions, just reply. i believe thats not what he mean Quote Link to comment https://forums.phpfreaks.com/topic/73720-like-a-cms/#findComment-371985 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.