
October 27th, 2003, 09:43 AM
|
|
Contributing User
|
|
Join Date: Aug 2003
Posts: 42
Time spent in forums: 1 h 58 m 7 sec
Reputation Power: 6
|
|
|
Form submiting problem
Hello everybody
I verry new to ASP and i have a problem wich i can solve myself so i'm posting this question. I have this form wich looks like that:
PHP Code:
Case "add"
If Request.Form("action") <> "add" Then %>
<form action="" method="post" enctype="multipart/form-data" name="adding">
<input type="hidden" name="action" value="add">
<table width="50%" border="0" .......................................................</table></form>
<% ELSE
Response.Write("Trip has beed added.")
End If
You see that is the basic code posible like if the form is not submited will show the form else runns the instruction betwen the else and end if. Now everything looks ok but if i press the send button from the form it is not showing the "response.write" message it is refreshing the from, but if i take the enctype="multipart/form-data" out it will work just fine, sience i need the enctype="multipart/form-data" there for image uploading i have a problem.
If anyone know i will appreciate the effort.
Thanks
|