close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist Redirect

Thread began 7/23/2010 8:11 am by jim286478 | Last modified 7/26/2010 9:55 am by Jason Byrnes | 751 views | 5 replies |

jim286478

DataAssist Redirect

Hi
In the page I have attached I am using dataassist to delete the last record from a MySQL table then redirect to another page, in this case publich.php. It works fine when I am on my local server however, in the actual server the record gets deleted then it shows the next last record instead of going to publish.php
I have not been able to figure out why it acts correctly in the local server but not in the actual server. Please help.

Attached Files
preview.zip
Sign in to reply to this post

Jason ByrnesWebAssist

there are a few problems i can see on your page that would cause the redirect to fail.

1) Line 4 has a space at the end:
"?> "

remove the space at the end of line 4.

2) line 109 is an unneeded close php tag. You can delete this from line 109.

Sign in to reply to this post

jim286478

I took care of those errors but its still doing it. I have attached the new page for your review.
Thanks

Attached Files
preview.zip
Sign in to reply to this post

Jason ByrnesWebAssist

there is now a blank space at the end of line 3:
"if (isset($_SESSION["WADbSearch1_resultsallenhanced"])) unset($_SESSION["WADbSearch1_resultsallenhanced"]);?> "

remove the blank space at the end of line 3:
"if (isset($_SESSION["WADbSearch1_resultsallenhanced"])) unset($_SESSION["WADbSearch1_resultsallenhanced"]);?>"

Sign in to reply to this post

jim286478

Thanks Jason that fixed it.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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