textarea getting each word and set to variable

  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

needed badly.. i have textarea and have the content on it for example aaa,bbb,ccc,ddd and i want to get that each content separated with comma and set each with a variable like...$a1="aaa";$a2="bbb";$a3="ccc"; and $a4="ddd"; something like that..is it possible?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ultimate11
  • Student
  • Student
  • ultimate11
  • Posts: 86

Post 3+ Months Ago

$key=(aaa,bbb,ccc);
$string=explode(","$key);
foreach($string as $result){
$result;
}
this is what i mean....

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 67 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.