i am using this code and its getting No ending delimiter '/' found
if (preg_match("/", $desp))
{
$dp = explode("/",$desp);
$dp1 = $dp[0];
$dp2 = $dp[1];
}
in $desp
i have value like abc/xyz
then it should be like
$dp1 = abc
$dp2 = xyz
so what is the right code thnx.