Thread: Work on Wesite?
View Single Post
Re: Work on Wesite?
Old
  (#25)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Work on Wesite? - 07-11-2004

Ok, let's start with the database, because we will need one. Some kind of table the content of which can be read and put into the right place on an HTML page, and in the format we specify. For example, if there is a column named "rating", and this column contains the value "4" for the map as_oilrig, then on the web page in the line for as_oilrig, there should be 4 little stars or whatever we use under "rating".
I figure we could read comments or site reviews for any waypoint from such a table as well...
Another question is: Can we write stuff into the table / database automatically? Let's say a user clicks on "comment/rate", writes "this waypoint file sucks, bots keep getting stuck" and rates "1" out of 5 stars... how do we get this into our table automatically? Can we program the page in a way that the values and the text entered by our user will automatically be added into the table / database, and that upon the next reload, these freshly entered values will be displayed already?



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote