| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
can't display date posted
Hi there!
i have this form that a user fills out ti post a message know the thing is i dont have a field were a user enters a date but i have a hidden field e.g <input type="hidden" name="date" value="<%request.write=now()%>"> i was hoping that the system date will appear automatically on my database but it does'nt . and i also have this on my connection strDate = Request.Form("dates") MM_editQuery = "insert into details (dates, name, surname, email, subject, msg) " MM_editQuery = MM_editQuery & "values ('"& strDates &"','"& strName &"','"& strSurname &"','"& strEmail &"','"& strSubject &"','"& strMsg &"')" i dont know what is it that i am doing wrong please can any one help ![]() |
|
#2
|
|||
|
|||
|
use MM_editQuery & "values ('"& strDate &"','"& strName &"','"& strSurname &"','"& strEmail &"','"& strSubject &"','"& strMsg &"')" instead
|
|
#3
|
|||
|
|||
|
not working
Thanks for replying but it's not working it's giving me this error!
Microsoft VBScript compilation (0x800A03EA) Syntax error /mngome/posts.asp, line 22, column 13 |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > can't display date posted |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|