Why or what's wrong with this :
I like to separate a string into 3 parts
$dir=substr($dbman_field[33],0,1);
$dir1=substr$dbman_field[33],1,2);
$dir2=substr($dbman_field[33],3,2);
print "De laatste aangeboden occassion's : ";
print "<a href=\"$db_script_url?db=search&uid=default&view_records=View+Records&mh=10&sb=inputdate&so=descend&ID=$dbman_field[0]\"><b>$dbman_field[1]</b></a>, $dbman_field[2] $dbman_field[3] $dbman_field[4]
";
print "<a href=\"http://mydomain.com/$dir/$dir1/$dir2/\"><b>Te bezichtigen bij ...</b></a>
";
$dir works fine but $dir1 and $dir2 don't work and they give no output with the SSI
Thank
Sjaak
I like to separate a string into 3 parts
$dir=substr($dbman_field[33],0,1);
$dir1=substr$dbman_field[33],1,2);
$dir2=substr($dbman_field[33],3,2);
print "De laatste aangeboden occassion's : ";
print "<a href=\"$db_script_url?db=search&uid=default&view_records=View+Records&mh=10&sb=inputdate&so=descend&ID=$dbman_field[0]\"><b>$dbman_field[1]</b></a>, $dbman_field[2] $dbman_field[3] $dbman_field[4]
";
print "<a href=\"http://mydomain.com/$dir/$dir1/$dir2/\"><b>Te bezichtigen bij ...</b></a>
";
$dir works fine but $dir1 and $dir2 don't work and they give no output with the SSI
Thank
Sjaak