L
|
Lorenbond author 12/10/2008 |
I've done some research and found that I can create a (site-map.xml) and (robots.txt) to list hyperlinks to the View page of each item listed in the database. |
J
|
Jane 12/11/2008 |
Hi, global $data; $value="http://www.MyWebPage.com/main_view.php?editid1=".$data["ItemID"]; |
L
|
Lorenbond author 12/11/2008 |
Maybe I have not made my question clear. |
J
|
Jane 12/12/2008 |
Hi, global $conn,$strTableName; $strUpdate = "update ".$strTableName." set URL='http://www.MyWebPage.com/main_view.php?editid1=".$keys["ItemID"]."'; where ItemID=".$keys["ItemID"]; db_exec($strUpdate,$conn);
$id = mysql_insert_id(); |
L
|
Lorenbond author 12/15/2008 |
Hi, use After record added event for this purpose. Here is a sample: If key field is auto-increment you can use mysql_insert_id() function to return ID of added record:
|