Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-05-2012, 01:13 PM   #1
leekheed
Registered User
 
Join Date: Apr 2012
Posts: 5
Default can anyone tell me why my PHP script contains the characters ","

may sound stupid but can anyone tell me why my PHP script contains the characters ","

example

$comma_separated = $fullname . "," . $zodiac . "\n";
leekheed is offline   Reply With Quote
Old 05-05-2012, 03:12 PM   #2
audiopro
Learning Fast
 
audiopro's Avatar
 
Join Date: Dec 2009
Location: Morecambe
Posts: 755
Default

Comma separated files are very common and this looks like a very simple version of one.
If you were trying to keep a number of variables together - ie. Firstname, Lastname, Username and Password, saving Them to a variable as 'John,Doe,JOHN114,ABCD1234' would allow you to split the variable, on the commas, and get all the separate variables back as an array.
audiopro is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:36 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.