1.


SELECT
SQL_CALC_FOUND_ROWS tagp_count
FROM
TagsParole
WHERE
tagp_site_id = 13 AND tagp_parola = 'Math Doesn't Suck'

MySQL error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't Suck'' at line 1

Backtrace

function: query
file: /home/topnews/advertisingtopnews.net/htdocs/tags/index.php
line: 7

close all

successful queries: 0

message: Don't forget to explicitly call the close() method at the end of your script. This can be a life saver if you have heavy traffic and frequent queries

method: close()

close all

watch: 0

$_COOKIE $_FILES $_GET $_POST $_SERVER $_SESSION

$_FILES

Array
(
)
                

$_GET

Array
(
    [tags] => Math Doesn't Suck
)
                

$_POST

Array
(
)
                

$_SERVER

Array
(
    [DOCUMENT_ROOT] => /home/topnews/advertisingtopnews.net/htdocs
    [HTTP_ACCEPT] => Accept: application/xhtml+xml,text/html;q=0.9,text/plain;
    [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
    [HTTP_ACCEPT_ENCODING] => gzip
    [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_CONNECTION] => close
    [HTTP_HOST] => www.educationtopnews.net
    [HTTP_PRAGMA] => no-cache
    [HTTP_USER_AGENT] => CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
    [PATH] => /usr/bin:/bin
    [REDIRECT_QUERY_STRING] => tags=Math+Doesn't+Suck
    [REDIRECT_SCRIPT_URI] => http://www.advertisingtopnews.net/tags/Math+Doesn't+Suck/
    [REDIRECT_SCRIPT_URL] => /tags/Math+Doesn't+Suck/
    [REDIRECT_STATUS] => 200
    [REDIRECT_URL] => /tags/Math+Doesn't+Suck/
    [REMOTE_ADDR] => 38.103.63.62
    [REMOTE_PORT] => 37449
    [SCRIPT_FILENAME] => /home/topnews/advertisingtopnews.net/htdocs/tags/index.php
    [SCRIPT_URI] => http://www.advertisingtopnews.net/tags/Math+Doesn't+Suck/
    [SCRIPT_URL] => /tags/Math+Doesn't+Suck/
    [SERVER_ADDR] => 62.149.215.15
    [SERVER_ADMIN] => webmaster@advertisingtopnews.net
    [SERVER_NAME] => www.advertisingtopnews.net
    [SERVER_PORT] => 80
    [SERVER_SIGNATURE] => 
Apache/1.3.39 Server at www.advertisingtopnews.net Port 80
[SERVER_SOFTWARE] => Apache/1.3.39 (Unix) PHP/5.2.5 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.8b [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => tags=Math+Doesn't+Suck [REQUEST_URI] => /tags/Math+Doesn%27t+Suck/ [SCRIPT_NAME] => /tags/index.php [PATH_TRANSLATED] => /home/topnews/advertisingtopnews.net/htdocs/tags/index.php [PHP_SELF] => /tags/index.php [REQUEST_TIME] => 1231356933 [argv] => Array ( [0] => tags=Math [1] => Doesn't [2] => Suck ) [argc] => 3 )

$_SESSION