Tag Archive
ad blocker
AJAX
Alphabet Juice
apple
bars
Bayonne
blithe spirit
blue hill
books
brebidou
broadway
calculator
cars
cheeses
converter
d'affinois
default
desktop
drugs
durang
epoch
food
havarti
hitchcock
honey
hosts file
hydromel
IE8
imac
Indian
inPrivate Filtering
Jack Finney
James McManus
joke
json
Las Vegas
manhattan
mechanics
midtown manhattan
mySQL
NAICS
perl
pun
restaurants
roth private reserve
Perl script make MySQL query, binds variables, outputs JSON
An example of a Perl script that is called by an ajax request. The script takes in just one parameter, opens a MySQL DB connection, binds the parameter to the query, and sends the query. The result is then formatted into JSON and returned to the browser. This can be seen in action... »
Perl script makes MySQL query; outputs to JSON
An example of a perl script that is called by an ajax request. The script takes in a few parameters, opens a mySQL DB connection, and then makes a rather tortuous query. The result is then formatted in to JSON and returned to the browser. »