Open Source & Stuff  
  |     Main Site     |      Forum     |     Contact     |
Ajax Linked Select boxes :  forum.Salix.gr forum.Salix.gr
Comments, questions, usage, bugs. 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
messageproblem with inserting
Posted by: gewa (IP Logged)
Date: June 04, 2008 10:12AM

Thanks for this wonderful script.
It works like a charm. My only problem is when inserting data into Mysql whenever I have white space "First Last" it adds a "+" sign in between so "First Name" becomes "First+Name"

I also tried using str_replace on that specific input field like so $artist = str_replace('+', ' ', $_POST['artist']); but it keeps gnorig it.


How do I solve this problem?

Thanks!

messageRe: problem with inserting
Posted by: panos (IP Logged)
Date: June 05, 2008 02:59AM

Hi,
thanks for you kind words.

is there a chance that your form has method GET and not POST ?

Best regards
Panos

messageRe: problem with inserting
Posted by: gewa (IP Logged)
Date: June 09, 2008 04:49PM

No! the method is POST.

I wolud realy like to solve this issue.

messageRe: problem with inserting
Posted by: panos (IP Logged)
Date: June 10, 2008 02:37AM

Hi,

the values of the options have white space? this is something i havent test.
is it possible to send me a link to that page and a db dump of the tables involved? (better mail it)



Sorry, only registered users may post in this forum.

All Rights Reserved 2006 Salix.gr  |  Design by Ades Design |  Hosting by e-emporio |  forum.Salix.gr powered by Phorum