Re: [phpXperts] Empty field becomes right-slash
- Sorry .... www.NeedleSharp.co.uk AboutUs > Services > QuotationAll files attached unzip to a server (www)The errors are not occuring now, but removing one or other of
the "stripslashes($_POST[' '])" might show the problem again.It was definately a right-slash / that I was seeing.It's probably obvious that I am an amateur at PHP/CSS/MySQL.My aim was to collect the data into a file that could be turned
into a .csv to import into a Contacts List or MySQL database
table; rather than have it emailed to me, then cut-&-pasted into
the database.Any further tips or suggestions would be most welcome.best regardsBob Sharp=============== ================= ================
I'm not finding a "SERVICES" link.
There are a couple of issues.
1. We have never received complete code, so we can't properly debug it.
2. You weren't clear on the type of value you were being returned. "Right slash" is "/", but it's going to be highly likely that you meant a left slash: "\".
1. Complete code.
2. Sample input.
3. Sample output.