Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/73720-like-a-cms/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/73720-like-a-cms/#findComment-371982
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/73720-like-a-cms/#findComment-371985
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.