Hi,
I am setting up a form in html which will take the data and send an email through php, my form is done, but I get this error in my php script.
Warning: Unexpected character in input: ''' (ASCII=92) state=1 hardware.php on line 23
Parse error: parse error, unexpected T_STRING
hardware.php on line 23
The error come on text fields that I use math to calculate, I am not sure if they have to be strings or not. the state =1 may be mu checkbox. Any ideas?
PHP and HTML help
Moderator: General Moderators
-
mettlehead
- Forum Newbie
- Posts: 15
- Joined: Fri Oct 11, 2002 11:03 am
- Location: Canada
a little code
I don't off the top of my head but if you post a little of your code that shows the form and the php you are using to generate the email, it might help. If you are using javascript to make the calculation before the page is submitted it then int or string types won't make a dif as javascrript doesn't care about that sort of thing.
phpScott
phpScott
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK