Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Javascript php array incompatibility
Old 01-15-2009, 08:01 PM Javascript php array incompatibility
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
Anyone know of a good "fits all" solution?
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-15-2009, 08:47 PM Re: Javascript php array incompatibility
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Knowing what you are trying to do would be a help.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-16-2009, 06:55 AM Re: Javascript php array incompatibility
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
I am passing a javascript array via ajax to a php script. I am looking for a solution that will convert a javascript array to a php array.
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Old 01-16-2009, 12:19 PM Re: Javascript php array incompatibility
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
You should look at the json_encode and json_decode functions for PHP 5+. JSON, which stands for JavaScript Object Notation, is becoming the standard method of communication between JavaScript and server-side scripts.
__________________
Want new web resources every day? - Follow me on
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 01-16-2009, 05:42 PM Re: Javascript php array incompatibility
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
Sounds good, thx!
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Javascript php array incompatibility
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48656 seconds with 12 queries