addbox
function addBox(
string,
db) {
text = strip_tags(htmlspecialchars(
string)); if (strlen(
text)>0) {
y = rand(20,600);
x = rand(100,800);
db->query("BEGIN; INSERT INTO boxes (text,x,y) VALUES ('".
text."','".
x."','".
y."'); COMMIT;"); } }