Original Post
Hey everyone, I have been trying to get this to work for ever and I'm totally stuck. Here's my code below It won't display $pgdesc[$pgdesc_track2] after I go thorugh the str_replace function. Can someone please point out to me what I'm doing wrong? I'm sure it's somthing simple but I just can't see it. Any help is appreciated.
$pgdesc_track = ($pgdesc_track + 1);
$pgdesc[$pgdesc_track2] = str_replace("<DRS::DATETIME>", "date test", $pgdesc[$pgdesc_track]);
$pgdesc_track2 = ($pgdesc_track2 + 1);
echo "$pgdesc_track
";
echo "$pgdesc_track2
";
echo "$pgdesc[$pgdesc_track2]";