close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I need help finishing adding a new field...

Thread began 5/14/2010 8:44 pm by a2d | Last modified 5/24/2010 12:39 pm by a2d | 2727 views | 8 replies

a2d

I need help finishing adding a new field...

This is where I am:

I am a notice. I am using Dreamweaver. I have a site set up, testing server set, and am connected to the database via Dreamweaver.

1. I created my new field in mySQL (CompanyName) - see mysql photo attachment

2. I added my Company Name Text field to the user registration form - see userregistration attachment. Even though I added the field in dreamweaver and dragged the userCompanyName from the bindings into the field I don't think I am doing it right. Actually it's not correct bc the info is not saving to my database when I register a test user. My code is
<?php echo((isset($_POST["UserCompanyName"]))?$_POST["UserCompanyName"]:"") ?>. The code to another field and similar to all other fields is as follows:
<?php echo(ValidatedField("usersRegistration","UserFax")) ?>

What window would I use to get this code and add it to the Company Name text field to make it work and save to the database.

3. I added the field to the userProfile page as well, but not sure what window to use to add get the correct GET php code. See my attachment.

Can someone point me in the right direction with some clear instructions? This is my first time actually going into a database and updating it and using the database connection in dreamweaver.

This is my url if you need to look at that:
users_Registration.php

I would like to take it one step at a time, but I would also like to add check boxes with different categories that the registrant will be able to pick up to 5 categories to be listed in. Would this be similar to adding the new text field above and what would the php code (or whatever code) be to limit their choices during registration?

If you need additional information please let me know, but be clear on what you need b/c like I said I am not familiar with the coding language in mySQL and php.

Thank you,
Ernie

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