Archive

Posts Tagged ‘php’

php forms post

January 30th, 2010 admin No comments

Accept Credit Cards Now

php forms post
$ _POST Support php?

I have a box and a test database and I want everything equal to the text box will be removed similar value of the textbox will delete anything in a table. This is wat ive tried something like: method = "post" /> name:

$ Del = $ _POST [ 'lastname']; mysql_query ( "delete from table_1 where lastname = '$ del"); I get a Waring T_variable

I think you have your quote in shambles. Try this instead of your query line: mysql_query ( "delete from table_1 WHERE LastName = '". $ Del. "'"); The field. "Concatenate your variable for the rest of the chain.


Categories: Forms Tags: , , , ,