Ok, have done the Ranking for every link and every category; no wmy problem:
1. I have a new field called rank;
2. In sub build_category_pages (build.cgi)
I count and give out the rank for every link.
Now two possibilities:
Save this number direct from sub build_category_pages
to Link:Rank or do it in sub site_html_link (HTML_Templates)
In both i need
1. The ID of the Link (How to get it?)
2. The SQL-Syntax like:
UPDATE Links set Rank = $counter where ID=$needvar
As is see there are different methods to do this UPDATE.
Which is the right syntax to prepare this update?
Robert
1. I have a new field called rank;
2. In sub build_category_pages (build.cgi)
I count and give out the rank for every link.
Now two possibilities:
Save this number direct from sub build_category_pages
to Link:Rank or do it in sub site_html_link (HTML_Templates)
In both i need
1. The ID of the Link (How to get it?)
2. The SQL-Syntax like:
UPDATE Links set Rank = $counter where ID=$needvar
As is see there are different methods to do this UPDATE.
Which is the right syntax to prepare this update?
Robert

