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


Updating table created from import

Thread began 9/09/2009 3:52 pm by bjgarner241692 | Last modified 9/10/2009 11:43 am by Jason Byrnes | 806 views | 2 replies |


Updating table created from import

I have one table on one of my PHP MySQL site which I created by importing a .csv.

I then created Admin pages to manage the content of the db but they will not work.
It is just this table. I cannot insert, update or delete.

When I try to do an update, I do not get an error, it submits the page and shows the result, but the record is unchanged.

I do not believe it is the Data Assist pages, but rather something about the table. I can update the table using PHP MySQ?LAdmin so I'm stumped.

Is there something I can check in MySQL that would be blocking the update?

Sign in to reply to this post


You may have checked this already but double click the "Update Record" server behavior and then hit next on the first dialogue screen just to ensure that your columns have a binding to give an updated value.

If everything looks good there... the next step will be to dump the post values on the screen to ensure that you are creating values.

Best regards,


Sign in to reply to this post

Jason ByrnesWebAssist

Just to make sure it is not a problem in the update record server behavior, look for the following code:

$WA_Sql = "UPDATE `" . $WA_table . "` SET " . $updateParamsObj->WA_setValues . " WHERE " . $WhereObj->sqlWhereClause . "";

$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());

and change it to:

$WA_Sql = "UPDATE `" . $WA_table . "` SET " . $updateParamsObj->WA_setValues . " WHERE " . $WhereObj->sqlWhereClause . "";

$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());

This will write the UPDATE SQL To the screen try running that SQL statemnt directly on the database using PHPMyAdmin or another tool.

If that works, then check that the username being used in the Dreamweaver Database connection has edit access to the database.

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





Ease of use


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