close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adding Dynamic Text

Thread began 7/02/2011 10:53 am by SCVerano | Last modified 7/11/2011 11:07 am by SCVerano | 1516 views | 7 replies

Jason ByrnesWebAssist

1) So in the users table is a column that holds the file name of the profile image?

again on the login page, edit the authenticate user behavior, on the third step of the wizard, click the plus button and select the profile iamge column to have the file name stored in a session.

then add an image place holder to the home page, and set the source to the path to the image folder and use the session variable value:

<img src="image/path/<?php echo($_SESSION['profileImgSessionName']" />

where profileImgSessionName is the name of the session created by the authenticate user behavior.

2) Updating the name in the database does not change the session value. you would need to add code on the update page to set the session to the new value posted by the update form.

add the following code at line 1 to reset the session:


$_SESSION['userName']) && isset($_POST['userName']) && $_SESSION['userName'] != $_POST['userName']) $_SESSION['userName'] = $_POST['userName'];

this is assuming the name of the session is "userName" and the name of the form element is "userNmae" you will need to adjust the code accordingly if your session or form element use different names.

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





Ease of use


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...