cjbeck71081 Posted December 18, 2006 Share Posted December 18, 2006 Hello,I have a client that is interested in having a page that has Before and After pictures of projects that he has done. The page should be very simple i figured a table with 2 Columns and 2 Rows. Top Row to read the address, and the bottom row to have a picture on the left of the before, and a picture on the right of after. The only complicated part is...what is the easiest way to allow him to edit the information. --Should i create an extremely simple table, and show him where to copy code from one place, and insert it to another, then to change the information? Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/ Share on other sites More sharing options...
tracy Posted December 18, 2006 Share Posted December 18, 2006 I have a similar issue and the solution was to create a php page (secured) for the client to log on, type the address in an html form and upload photos to the mysql database. It was straight forward and simple for the client...literally about a minute per upload.I achieved this with much help here, to the credit to those who helped me. Do you have any code yet? Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/#findComment-143642 Share on other sites More sharing options...
mendoz Posted December 18, 2006 Share Posted December 18, 2006 You can make a html & php form to instert or update data on the database.Tell me if you need more help Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/#findComment-143645 Share on other sites More sharing options...
cjbeck71081 Posted December 18, 2006 Author Share Posted December 18, 2006 What code would i use to for the "Browse for pictures and upload" Button, to allow the client to browse his PC for new pictures and upload them to the DB? Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/#findComment-143658 Share on other sites More sharing options...
HuggieBear Posted December 18, 2006 Share Posted December 18, 2006 It's just a simple html form element...[code]<input type="file" name="file_to_upload"><input type="submit" name="submit" value="Upload">[/code]It will put the browse button in automatically.RegardsHuggie Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/#findComment-143673 Share on other sites More sharing options...
cjbeck71081 Posted December 18, 2006 Author Share Posted December 18, 2006 You are a champ, im putting something together now, check back if u would, i might have some more questionsThank YouChris Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/#findComment-143677 Share on other sites More sharing options...
HuggieBear Posted December 18, 2006 Share Posted December 18, 2006 If that worked, then mark the topic as solved and raise any new questions in a new topic, this will help people when searching titles for meaningful phrases.RegardsHuggie Quote Link to comment https://forums.phpfreaks.com/topic/31108-images-inserted-into-table/#findComment-143680 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.