real_escape_string($_COOKIE['invite']); $q = "select petition_name, web_color from petitions where web_short_name = '$invite'"; $r = $petition->query($q); $d = mysqli_fetch_array($r); echo "

$d[petition_name]

"; } ?>