Re: [PHP] How I can create....

2004-09-16 Thread Yusdaniel Rodriguez Espinosa
Hello Jason Thanks I understand now, but tell me someting, PHP don't have any function that create a button??? When I want to clean a DB I have to call another page always tell me you don't have any code for example that do the same thing that I want to do??? Thanks again Yusda

Re: [PHP] How I can create....

2004-09-15 Thread Jason Davidson
the reason it doesnt work, is becuase you have muddied the requests for the client and the server. PHP is completely server side, so putting a php function name in onclick, which will execute client side code doesnt work. the solution would be to have you button reload the page, or submit to an

[PHP] How I can create....

2004-09-15 Thread Yusdaniel Rodriguez Espinosa
Hello to everyone. I want to clean a field from my Data Base in MySQL from a button. But I don't know how i can create a button in PHP, the funtion of button is TRUNCATE TABLE(Table). I have a form in HTML but hi don't work because when I press the button he don't do anything, but when i press