converting one variable and stores into another variables
Posted: Mon Dec 05, 2005 11:03 pm
hi,
i'm able to seperate the one variable and stores it into the three variable but in the following case what should i do??
i'm having one variable i.e.
$content="Jet+Airways%2CIndia%2C+Model%3A+Airbus%2C+Departure%3A+13%2F02%2Fp.m.";
In the above variable the company name is also seperated by comma and other things i.e. Model and Departure are also seperated by comma.
and my expected result is as below:
$company="Jet Airways, India";
$model="Airbus";
$departure="13.02p.m.";
so in this case what shall i do??
i'm able to seperate the one variable and stores it into the three variable but in the following case what should i do??
i'm having one variable i.e.
$content="Jet+Airways%2CIndia%2C+Model%3A+Airbus%2C+Departure%3A+13%2F02%2Fp.m.";
In the above variable the company name is also seperated by comma and other things i.e. Model and Departure are also seperated by comma.
and my expected result is as below:
$company="Jet Airways, India";
$model="Airbus";
$departure="13.02p.m.";
so in this case what shall i do??