close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

pass variable in url of $UpdateGoTo line in update record behaviour

Thread began 11/29/2017 2:40 am by Bitossi | Last modified 11/29/2017 10:50 pm by Ray Borduin | 118 views | 8 replies |

Bitossi

pass variable in url of $UpdateGoTo line in Mysqli update record behaviour

I have an update page (update_user.php) where admin can update records. It contains the update record behaviour.
I want to pass the uuid column of the record being updated, inside the url on the $UpdateGoTo line (34) so I used the parameters button in the 'after updating, go to' field in the update record behaviour dialog box to produce line 34.
I can't get the uuid displayed on the resulting page (user_updated.php).
can you help?

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of the page and I can take a look at what might be wrong.

Sign in to reply to this post

Bitossi

Originally Said By: Ray Borduin
  Please attach a copy of the page and I can take a look at what might be wrong.  
Sign in to reply to this post

Ray BorduinWebAssist

What version of Dreamweaver are you using?

Line 34 should be updated from:

$UpdateGoTo = "user_updated.php?updtdID=\" . echo($Recordset1->getColumnVal(\"uuid\")) . \"";



to:

$UpdateGoTo = "user_updated.php?updtdID=" . ($Recordset1->getColumnVal("uuid")) .  "";
Sign in to reply to this post

Bitossi

Originally Said By: Ray Borduin
  What version of Dreamweaver are you using?

Line 34 should be updated from:
$UpdateGoTo = "user_updated.php?updtdID=\" . echo($Recordset1->getColumnVal(\"uuid\")) . \"";


to:
$UpdateGoTo = "user_updated.php?updtdID=" . ($Recordset1->getColumnVal("uuid")) .  "";
  
Sign in to reply to this post

Bitossi

It works! That's brilliant Ray, thank-you very much!

Sign in to reply to this post

Ray BorduinWebAssist

They removed the parameter option from Dreamweaver after CS6, so it creates code in a way that isn't formatted properly with the extension that has been updated for more recent versions.

Sign in to reply to this post

Bitossi

So if I upgrade to Dreamweaver cc it should work fine?

Sign in to reply to this post

Ray BorduinWebAssist

Well... there won't be a way to add a parameter. So that won't be broken it just won't exist. They didn't add functionality to replace it.

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