Topic awaiting preservation: This has got to be a common problem... |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Scotland |
posted 10-17-2002 17:34
Ok, so I'm adding things to my database through form fields, and when I want to edit the values, I'm editing them in other form fields... normal so far. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-17-2002 17:36
soncisnail: In php you'd use addslashes() - I assume there must be something similar in ASP. |
Bipolar (III) Inmate From: Scotland |
posted 10-17-2002 18:00
Empreor: (sorry, couldn't resist after your typo!) |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-17-2002 18:11
sinicsnail: I understand what you mean but PHP is easy to learn and you could pick it up as a hobby quote:
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-17-2002 18:37
In HTML, you're not supposed to use backslashes to escape quotes, you're supposed to use " to escape them. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-17-2002 19:29
Many times instead of worrying about slashes (which in PHP can get unwieldy if magic quotes is on and you are passing some data from page to page) I like to urlencode data like this and then decode it laters In JS you can use the escape funtions. |
Paranoid (IV) Inmate From: Behind the Wheel |
posted 10-18-2002 09:47
in ASP isn't the escape character a # ? code: <input type="text" value="<%=(rs_update.Fields.Item("db_fieldname").Value)%>">
|
Bipolar (III) Inmate From: Australia |
posted 10-22-2002 05:59
I also have to agree with php, ive learnt it recently and built a database and a few things from it, i like the way it works. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 10-25-2002 20:16
other whise the msdn Library over at microsoft is a good place to search for asp help http://msdn.microsoft.com |