Delete Bookmark
$rc=sybsql_connect();
$rc=sybsql_dbuse("mtest");
if ($parent == "/");
$prefix="";
else;
$prefix="/";
endif;
>
Select the entry to be deleted
Warning : This cannot be undone!
$qs="select name,path from bookmarks where type='F' and parent='$parent' order by name";
$rc=sybsql_query($qs);
$nrows=sybsql_numrows();
if ($nrows > 0);
$i=0;
while($i<$nrows);
sybsql_result("
@0
");
$i++;
endwhile;
endif;
$qs="select name,path from bookmarks where type='B' and parent='$parent' order by name";
$rc=sybsql_query($qs);
$nrows=sybsql_numrows();
if ($nrows > 0);
$i=0;
while ($i<$nrows);
sybsql_result("
@0
");
$i++;
endwhile;
endif;
>