close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to add images that are stored in database to a user profile?

Thread began 8/26/2016 2:21 pm by Robert | Last modified 8/26/2016 6:11 pm by Ray Borduin | 1346 views | 3 replies |

Robert

How to add images that are stored in database to a user profile?

I am trying to add images stored in database to a user profile.
I have 3 pages.
MyPersonalPortal.php is the log in page
MyPersonalPortalHome.php is where I want to use ADD buttons to add that image to the user's profile page.
MPPhome is the profile page where these image will show.

I have been working on this for a few weeks, but I need help.
Thanks,
Robert

Attached Files
MPPhome.php
MyPersonalPortal.php
MyPersonalPortalHome.php
Sign in to reply to this post

Ray BorduinWebAssist

You should be able to
1) add a column to your database to store the images.
2) Add input type="File" fields to your page that updates the profile (make sure your form has enctype="multipart/form-data")
3) Apply the webassist File Upload server behavior to move the files to the folder where you want them on your server
4) Use the file upload "server file name" bindings to save the uploaded file name into your database
5) refer to the uploaded file to display it in an image tag wherever you want

Where are you getting stuck?

Sign in to reply to this post
Did this help? Tips are appreciated...

Robert

Once the user is logged in, I want them to use the ADD button on this page to add "Emergency" section to their profile. How do I accomplish this using this ADD button? Here is the link to the page.

http://pbcca.org/MyPersonalPortal

Sign in to reply to this post

Ray BorduinWebAssist

That can be an update page just like any other. Just follow the steps I outlined above. Perhaps start with the existing edit profile page and then just change the fields that they can update.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...