dividing one variable and store it into another variables
Posted: Sat Dec 03, 2005 3:15 am
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
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