- Joined
- 5 Apr 2002
- Messages
- 13,314
I am a pretty good ASP coder (maybe you'll think otherwise after seeing my code) and I am still learning PHP. I need to convert the following code from ASP to PHP. First one to help gets cookies!
Thank you.
Code:
' Start of workType Counter
msgBody = msgBody & "<tr><td width=62% class=E1>When are you available to work?</td><td width=38% class=E1>"
workTypeCount = 1
workTypeCounter = Request.Form("workType").Count
If workTypeCount <= workTypeCounter Then
msgBody = msgBody & "<b>" & Request.Form("workType")(1) & " (" & Request.Form("fullTimeShift") & " Shift)</b><br>"
workTypeCount = workTypeCount + 1
End If
If workTypeCount <= workTypeCounter Then
msgBody = msgBody & "<b>" & Request.Form("workType")(2) & " (" & Request.Form("partTimeShift") & ")</b><br>"
workTypeCount = workTypeCount + 1
End If
If workTypeCount <= workTypeCounter Then
msgBody = msgBody & "<b>" & Request.Form("workType")(3) & " (" & Request.Form("tempDate1") & "-" & Request.Form("tempDate2") & ")</b>"
workTypeCount = workTypeCount + 1
End If
msgBody = msgBody & "</td></tr>"
' End of workType Counter
Thank you.