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

Removing Data from MySql Data base

Thread began 1/17/2012 9:06 am by maftouh | Last modified 1/18/2012 4:21 pm by Jason Byrnes | 1118 views | 3 replies |

maftouh

Removing Data from MySql Data base

Hi.
I've created a smoll data base to record contact information and feedback from a website visitors. As well as i created it, data are now recorded and printed in a files that retrieve data from my MySql db.

What i would like to do now is to set a bouton that can allow administrator to remode a record without going to the PHPMyAdmin. (This administrator can be a besktop assistant, so, he may don't know more about webmastring)

i guesse that the Sql syntax can look like this :
DELETE FROM `contact`.`client` WHERE `client`.`fullname` = \'My Name\' AND `client`.`email` = \'name@domaine.com\' AND `client`.`phone` = 3333333 AND `client`.`subject` = \'tQuerry\' AND `client`.`message` = \'test data base contact message \' LIMIT 1

And i want to create a bouton to remove a record. For exemple, the bouton will be called : "remove".

SO, here is my question : how can i set the link in this bouton and connect it to this Sql syntax in order to remove the record ?
if you have an advice on the Sql syntax that can be much better, please do help me.

THank so much

Sign in to reply to this post

Jason ByrnesWebAssist

Use DataAssist to create a set of database management pages. The pages created by the DataAssist wizard will allow you top delete records, insert new or update old ones, it will also create a search and results page.

Sign in to reply to this post

maftouh

Thank you Jason.
unfortunatly, i'm not able to purchase for an item for this time being.
i don't have neither visa card, nor Mastercard or any online shopping card.

that why i allways request for help.

any way, thank you for all your help.

if you have any other suggestion, please give it to me.

Regard.

Sign in to reply to this post

Jason ByrnesWebAssist

see the dreamweaver documentation for creating a master detail page set:
help.html?content=WScbb6b82af5544594822510a94ae8d65-78b7.html


from there, look at the documentation for creating an insert and update page.

I would recommend looking at some some PHP / MySQL Books for further details and step by step walkthroughs.

the David Power Foundation PHP book is a good starting place and is geared towards php / mysql development in dreamweaver specifically.

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