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

Delete Behaviour

Thread began 4/08/2010 8:11 am by John Langer | Last modified 4/08/2010 5:07 pm by John Langer | 2249 views | 6 replies

Jason ByrnesWebAssist

Strange that it will work on items that do not have a space.

To trouble shoot the issue, lets write the SQL being executed to the screen,

change the following line of code:

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



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

this should write SQL similar to:
DELETE FROM `bbc_service` WHERE serviceID = 'South Green'

to check the validity of the SQL, use a tool like PHPMyAdmin or SQLYog to access the database directly and run the query. Try changing it to a SELECT query instead:
SELECT * FROM `bbc_service` WHERE serviceID = 'South Green'

and try changing the where clause to lower case:
SELECT * FROM `bbc_service` WHERE serviceID = 'south green'

the key to a delete statement is in the where clause. Any records returned by the where clause will be deleted, so we need to determine why the where clause is not returning any results.

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