hello..
I have created a custom addon to extract dynamic urls from a mod of mine. Its working fine, but I need to add more URL's to it. Here is the code.
What I don't understand is how to add more than 1 URL that are generated from the same query.PHP Code:$lnkg = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "mytable");
while ($lnk = $db->fetch_array($lnkg))
{
$url = $vbseo_vars['bburl'].'/mypage.php?do=this&uid='.$lnk['uid'];
if(VBSEO_ON)
$url = vbseo_any_url($url);
vbseo_add_url($url, 1.0, '', 'yearly');
}
1. As in above, mypage.php?do=this&uid=XX is added BUT how to add more URL's like mypage.php?do=that&uid=XX and so on from the same query. Do I need to run the same query again coz I see vbseo_add_url function doesn't accept more than one "url" as argument.
2. Also, may I know how do we extract page URL's ? like I have 11 pages currently showing 8 records each, so how do I extract pages as their page no (id) isn't stored in database.
Thank You


LinkBack URL
About LinkBacks






Reply With Quote
