Go Back   Access World Forums > Apps and Windows > Web Design and Development > PHP & MySQL

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 03-10-2015, 11:30 AM   #1
rangersedge
Newly Registered User
 
Join Date: Jun 2014
Posts: 82
Thanks: 0
Thanked 1 Time in 1 Post
rangersedge is on a distinguished road
Upload Images

I'm using mysql and php to create a website. I want to upload an image to a folder on my server and rename that image to the records ID field and convert to jpg. Any suggestions on where to find this info? I have found tutorials on uploading and even renaming, but nothing on setting the new name to the ID of the record I'm currently viewing (the id number shows in the url). I don't want to save the images in the db itself...

rangersedge is offline   Reply With Quote
Old 03-10-2015, 03:15 PM   #2
rangersedge
Newly Registered User
 
Join Date: Jun 2014
Posts: 82
Thanks: 0
Thanked 1 Time in 1 Post
rangersedge is on a distinguished road
Re: Upload Images

The tutorials I've found have me run another page. This takes me away from my submitted form. I would like to stay on that form after submitting.

It's a basic "Edit" form that lets you view a single record and edit it at a time. I'm trying to get an upload image function on this page so the user can upload the image for the record, naming it the same as the ID field so that it displays on the page, and then stay on the page but refresh...

any help?
rangersedge is offline   Reply With Quote
Old 02-12-2018, 11:27 AM   #3
rajputrana
Newly Registered User
 
Join Date: Feb 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
rajputrana is on a distinguished road
Re: Upload Images

many tutorials are available in internet. w3schools is famous for PHP try this.

rajputrana is offline   Reply With Quote
Reply

Tags
mysql images

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow user to upload images derek84 Forms 4 02-15-2013 03:20 AM
How to upload images in a form shishir Forms 4 07-04-2012 04:19 AM
Question Linking Jpeg Images to access: Selecting 2 from multiple images stored on network geekygal General 104 01-13-2010 07:54 PM
How to upload images and display them inline in your post boblarson Access FAQs 1 12-10-2009 01:16 PM
Printing multiple forms with linked images...How can I make the images work? hunterw Forms 0 10-03-2008 12:05 PM




All times are GMT -8. The time now is 09:13 PM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Sponsored Links

How to advertise

Media Kit


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World