Forum Moderators: coopster
I'm getting the following error when running one of my php scripts:
Undefined offset: 1 in /ftp/virt/techno/classifieds/advertisement.php on line 530
I checked the folowing line (530) and all I had in it was:
$curent_cat_id=$fourth_id_cut[1];
What can cause this error and what does it mean?
Thanks in advance,
Roy
globay: Now that you've mentioned it, maybe there is one chance that there is nothing after the "=".
Hmmm... I guess that if I'll enter the following line, it should sove it, isn't it:
$fourth_id_cut=explode("=",$third_id_cut);
if (isset($fourth_id_cut))
{
$curent_cat_id=$fourth_id_cut[1];
}
Thanks,
Roy.