$value) { $a[$key] = addslashes($a[$key]); } $data .= "INSERT INTO add_links VALUES ('0','$a[link]', '$a[description]', '$a[tooltip]', '$a[hits]'); \r\n#endquery\r\n"; } echo $data; ?>