close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Bug: unescaped table columns on select

Thread began 2/02/2011 2:23 pm by 0001421801 | Last modified 2/02/2011 2:51 pm by 0001421801 | 1012 views | 2 replies |

0001421801

Bug: unescaped table columns on select

It actually crashes DW from which I have sent in the automatic Apple/Adobe crash reports.

Generated via the Data Assist Wizard...

Unfortunately I'm having to deal with an already running database which I can't change:

The originator who wrote out the schema used "order" for one of the table columns.

That blows an error because the code generated didn't think to escape it.

$query_WADAClassroom = sprintf("SELECT id, name, `order` FROM Classroom WHERE id = %s", GetSQLValueString($Paramid_WADAClassroom, "int"));

Just in case anyone runs into that.. it didn't hit me for a few minutes, save your self some hair. :)

As a test I changed the table column name to Corder and ran the wizard again.. no crash.

Sign in to reply to this post

Jason ByrnesWebAssist

it is recommended to avoid using MySQL Reserved words when creating your data base schema for this reason.

Sign in to reply to this post

0001421801

I know that.. the person who did the schema didn't. :) Now I can't change it..he's built an iPad app around it.. I'll have to let him know though. DataAssist should check for that though.. I thought DW did when it did it's Server Behaviors.

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