Jump to content

If Check


ecabrera

Recommended Posts

<?php

$viewid = (int)$_GET['v'];

include "staff/scripts/connect.php";

$query = mysql_query("SELECT * FROM headlines WHERE id=$viewid");
$rows = mysql_fetch_assoc($query);

$title = stripslashes($rows['title']);
$author = stripslashes($rows['author']);
$date = stripslashes($rows['date']);
$picture = stripslashes($rows['picture']);
$headline = nl2br(stripslashes($rows['headline']));
$video = stripslashes($rows['video']);

mysql_close();

?>

 

so im just trying to see if there is anything inside

Link to comment
https://forums.phpfreaks.com/topic/261776-if-check/#findComment-1341435
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.