pouncer Posted January 23, 2007 Share Posted January 23, 2007 [code]<form method ='post' action='delete_privatemessage.php' name='record'> <td><img src=\"../index_images/delete.ico\"></td> <input type='hidden' name='message_id' value='$message_id'></form>[/code]Instead of putting the button there, i put a .ico image there.but how can i make it go to the 'delete_privatemessage.php' page properlybecause, in 'delete_privatemessage.php' i need to get the message_id and remove that entry!!! Link to comment https://forums.phpfreaks.com/topic/35397-form-question/ Share on other sites More sharing options...
paul2463 Posted January 23, 2007 Share Posted January 23, 2007 <input type="image" src="../index_images/delete.png" > Link to comment https://forums.phpfreaks.com/topic/35397-form-question/#findComment-167394 Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 I believe you can use <input type="image" name="submit"> and then do the src of your image. I think it has to be an image, not an ico. Link to comment https://forums.phpfreaks.com/topic/35397-form-question/#findComment-167395 Share on other sites More sharing options...
pouncer Posted January 23, 2007 Author Share Posted January 23, 2007 thanks guys!it worked fine with .ico :P Link to comment https://forums.phpfreaks.com/topic/35397-form-question/#findComment-167401 Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 Great :) Link to comment https://forums.phpfreaks.com/topic/35397-form-question/#findComment-167412 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.