28, May 2012

address field in update_user_profile.php - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: address field in update_user_profile.php
« previous next »
Pages: [1] Print

Author Topic: address field in update_user_profile.php  (Read 1266 times)
Chicken-run Manager
*
Posts: 9
66 credits
Members referred : 0


« on: Mar 19, 2007, 01:35:56 pm »

Greetings:

I noticed the address field in update_user_profile.php page is not populated after I updated/entered my address. Anyone has the same problem?

Note: I am using the 1.96 version.

Thanks
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Mar 19, 2007, 11:19:33 pm »

check this row, there is a type (single =)

if ($_POST['user_email'] == "" || $_POST['address'] == "" || $_POST['postcode'] == "" || $_POST['city'] == "") {

Chicken-run Manager
*
Posts: 9
66 credits
Members referred : 0


« Reply #2 on: Mar 20, 2007, 02:19:03 am »

I changed from:
if ($_POST['user_email'] == "" || $_POST['address'] = "" || $_POST['postcode'] == "" || $_POST['city'] == "") {
to
if ($_POST['user_email'] == "" || $_POST['address'] == "" || $_POST['postcode'] == "" || $_POST['city'] == "") {

And it works great now.

Thanks
« Last Edit: Mar 20, 2007, 02:24:58 am by keatoh »
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6256
Tags : User Profile Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: address field in update_user_profile.php
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 06:58:31 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.