Hi, I need some advice please. I don't know much anything about php, but am a copy/paste wizard. I do basic websites and a client needs to upload a picture and description for each new product he wants to put on the site. I know the universe of php is vast and powerful, but I really don't have the time to venture into it. I was wondering if anyone could help me to find the shortest, easiest method to do the following: 1) Create an upload form (this I can do no problem) for an image and a description 2) Using a php script, hopefully avoiding databases, get the uploaded image and description to be posted at a specified point in the html code of another page. In other words, the client submits an image and a description, and this image and description immediately reflects on a live html page. Of course, if it is the only way, it would be fine to have the image and passage posted into .php files that could be rendered in the html. Thanks in advance. Please forgive me for my reluctance to learn php from the beginning and figure it out myself, but that is a long road I cannot pursue.
The simplest and easiest way for you to achieve this is to use the same technique your client is using to develop his website--find someone who knows how to do it and pay them to do it. I suggest you put a post up in the Services-Programming Forum
Learning PHP is certainly not a long road to pursue, all you need is patience and dedication which I can guess you don't have. In any case, I'm not sure what you're trying to accomplish here. If you can upload the image, then no problem, but if you're going to view its description, then this will be only one time. You will need to store the description somewhere (eg. mysql database, or some external file).. To grab the description that user entered in a form, you use the $_POST['field_name']. eg: <form action="" method="post"> <textarea name="desc"></textarea> <input type="submit" value="Submit!" /> </form> <?php if(isset($_POST['desc'])) echo $_POST['desc']; ?> PHP: