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

Tweaking... need some help on few issues

Thread began 5/30/2012 1:47 am by Christopher West | Last modified 6/01/2012 2:19 pm by Christopher West | 4853 views | 12 replies

Jason ByrnesWebAssist

1) Set the data type for the date field to use date rather than timestamp. the use the following code to insert the correct date:

<?php echo(date("Y-m-d")); ?>

2) does the registration page have an authenticate user behavior on it that automatically logs them in?

create the link to the registration page as:
<a href="regitration.php?accesscheck=<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>">register</a>

and on the registration form, make sure the action passes any query string variables that are passed in:

 action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != ""?"?".htmlentities($_SERVER["QUERY_STRING"], ENT_QUOTES):""); ?>"

3) Each shipping address should be a unique record. I'm assuming that in your users table, you have a column that links to the default shipping address by storing the ID for that record?

the radio buttons value should use the ID for the shipping address records, and on submit it should update the relation column in the users table.

4) you should be storing the ID of the logged in user in the orders table, and use a join query to return the billing address rather than storing it in the orders table.

5) use the following code to display total quantity:

<?php echo $cartName->TotalColumn("Quantity"); ?>

6) You would need to use an SQL COUNT statement to return the numbers of records that belonged to the category:

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