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

rating

Problem with multiple insert server behavior

Thread began 1/30/2020 11:22 am by illbe322016 | Last modified 2/02/2020 8:11 pm by Ray Borduin | 58 views | 2 replies |

illbe322016

Problem with multiple insert server behavior

I have been following the tutorial http://www.webassist.com/community/tutorials/view_tutorial.php?tid=25&accesscheck=/community/tutorials/view_tutorial.php?tid%3D25 and have an issue with my insert page, everything is fine up to the point of adding the insert multiple records server behavior, I keep getting this error:
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /homepages/30/d351966251/htdocs/lynchdesign/advertisers_insert.php on line 16. Line 16 is the session variable apparently. I have included my code below. As usual, thank you for your help, I, sure it may be something I missed but I have gone back and forth several times and am out of ideas.

Sign in to reply to this post

Ray BorduinWebAssist

Line 16 has:
$InsertQuery->bindColumn("advertiserID", "i", ".$_SESSION['WADA_Insert_advertisers'] .", "WA_BLANK");

it should be:
$InsertQuery->bindColumn("advertiserID", "i", "".$_SESSION['WADA_Insert_advertisers'] ."", "WA_BLANK");

Make sure you have downloaded and installed the latest version (reinstall the extension). I think this may have been an issue in a previous version that has been corrected.

Sign in to reply to this post
Did this help? Tips are appreciated...

illbe322016

Thank you Ray, that fixed the issue. I did re-download the extension and re-install (v2.3.5) but when I inserted the behavior again I got the same result with the extra quotes, just a heads up. Thank you again for the quick reply and fix. - Tom

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