close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update Record server behavior issues

Thread began 7/02/2014 3:50 pm by gail.bergan407744 | Last modified 7/07/2014 12:02 pm by Jason Byrnes | 1918 views | 21 replies |

gail.bergan407744

Update Record server behavior issues

I've uploaded a page at www.gcssepm.org/update_self2.php. It's a form that allows our members to update their info on our databases. I've tried to replace DW's old Update Record server behavior with yours in the MySQLi extension. However when I look at the page locally, I get the error " Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\wamp\www\2010 new site\update_self2.php on line 58". When I look at it remotely, I get a blank page in Firefox. Can someone look at the page and try to tell me what's wrong? Thanks, Gail

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page so i can see the code.

Sign in to reply to this post

gail.bergan407744

Thank you, please see attached update_self2.php

Sign in to reply to this post

Jason ByrnesWebAssist

in the update record behavior, you have the column values bound to the member ID recordset, use the form element bindings instead.

Sign in to reply to this post

gail.bergan407744

See attached file; in the Update Record server behavior, even after changing the column values to be bound to the form1 bindings (I hope I understood you correctly), I still get a blank page upon opening on the server. Happens in IE and Firefox.

Attached Files
update_self2.php
Sign in to reply to this post

Jason ByrnesWebAssist

change line 58:
$UpdateQuery->addFilter("user_id", "=", "i", "$_GET['user_id']");

to:
$UpdateQuery->addFilter("user_id", "=", "i", "".$_GET['user_id']."");

Sign in to reply to this post

gail.bergan407744

I'm getting the same results. Updated page is attached.

Attached Files
update_self2.php
Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

gail.bergan407744

see link and attached site file. Thank you for your help.

Attached Files
GCSSEPM 2010 new site.ste
Sign in to reply to this post

Jason ByrnesWebAssist

the foreign column is still bound to the recordset:

$UpdateQuery->bindColumn("foreign", "s", "".($memberProfile_i->getColumnVal("foreign")) ."", "WA_DEFAULT");

instead of being bound to the form.

Sign in to reply to this post
loading

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