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

Not showing a 'thanks' page after email triggered

Thread began 8/02/2011 6:25 pm by Paul | Last modified 8/06/2011 3:59 pm by Paul | 1540 views | 7 replies

PaulBeta Tester

Thanks for your response.

I removed the space, but made no difference.

Prior to using DA to insert a new record, i was using DW's insert script, as per below. That worked fine and returned the 'thanks.php' page fine

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "WAATKRegistrationForm")) {
$insertSQL sprintf("INSERT INTO member_tbl (mem_email, mem_password, mem_app_dated, mem_fname, mem_lname, mem_type, mem_active, mem_conf_id, mem_active_flag, mem_terms, mem_host, mem_browser, mem_referrer, mem_picLimit) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['mem_email'], "text"),
GetSQLValueString($_POST['mem_password'], "text"),
GetSQLValueString($_POST['mem_app_dated'], "text"),
GetSQLValueString($_POST['mem_fname'], "text"),
GetSQLValueString($_POST['mem_lname'], "text"),
GetSQLValueString($_POST['mem_type'], "int"),
GetSQLValueString($_POST['mem_active'], "int"),
GetSQLValueString($_POST['mem_conf_id'], "text"),
GetSQLValueString($_POST['mem_active_flag'], "int"),
GetSQLValueString($_POST['mem_terms'], "int"),
GetSQLValueString($_POST['mem_host'], "text"),
GetSQLValueString($_POST['mem_browser'], "text"),
GetSQLValueString($_POST['mem_referrer'], "text"),
GetSQLValueString($_POST['mem_picLimit'], "int"));

$Result1 mysql_query($insertSQL$Crazyhomes) or die(mysql_error());

$query_RegType "SELECT * FROM mem_type WHERE";
$RegType mysql_query($query_RegType$Crazyhomes) or die(mysql_error());
$row_RegType mysql_fetch_assoc($RegType);
$totalRows_RegType mysql_num_rows($RegType);

My initial problem started just as soon as i switched the DW script for the DA version. everything else on the page was untouched

The registration page completes all the tasks right through to sending the email correctly, so i'm puzzled as to why the problem is occurring at some point between the email send and executing the $GoToPage = "thanks.php"; line, when i changed the insert script!

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