View Single Post
  #1 (permalink)  
Old Dec 3rd, 2005, 08:10
amit_shetye amit_shetye is offline
Junior Member
Join Date: Dec 2005
Age: 29
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
dividing one variable and store it into another variables

hi all,

i want to know whether it is possible to determine the particular character in the string??

i'm having one variable i.e.
$content="Air+Pacific%2C+Model%3A+Airbus%2C+Depart ure%3A+13%2F02%2Fp.m.";

i want to divide the above variable into three different variables so the result i'm expecting is :
$company="Air Pacific";
$model="Airbus";
$departure="13.02p.m.";

so is it possible in php??

anybody is having any idea??

thanx in advance

regards

amit
Reply With Quote