google maps

hi all

i am using geokit plugin/appln for my site..where i want to get the pointers reflected on my site by fetching the values from the db on pageload..

return (newmap.addpoint("52.802761415419674","6.6357421875","abc","abc")

this is the code which is creating the ponters..I want to first of all fetch all the values from the db and get the latitude and longitude and then pass it dynamically in this addpont function..

Can any one tell me how to do it?

thanks