» »

PHP help!

PHP help!

TylerDurden ::

Kje je napaka? Nekje pri brake mora biti, ker mi tam javi parse error.

default:
$query = "SELECT * FROM $db_table";
if(!mysql_query($query))
{
say("You need to install this program first. Go to here to do so now.");
exit;
}
else
{
$mysql[result] = mysql_query("SELECT * FROM " . $db_table . "WHERE iztek > CURRENT_DATE");
if ( !$result = mysql_query( $query ) )
echo mysql_error();
else
{
echo "";
while ( list( $id, $s, $article, $title, $author, $date, $email, $iztek) = mysql_fetch_row($result) )
{
echo "
$title";
echo "
$article";
}
echo "
";
brake;
}
?>
Let\'s make some soap ...

glavic ::

$query = "SELECT * FROM $db_table";

if( !mysql_query($query) ) {
say("You need to install this program first. Go to here to do so now.");
exit;
}

else {
$mysql[result] = mysql_query("SELECT * FROM " . $db_table . "WHERE iztek > CURRENT_DATE");
if ( !$result = mysql_query($query) ) echo mysql_error();
else {
echo "";
while ( list( $id, $s, $article, $title, $author, $date, $email, $iztek) = mysql_fetch_row($result) ) {
echo $title;
echo $article;
}
echo "";
brake;
}
}
?>
Musselli bizi


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

sql injection [PHP + mysql]

Oddelek: Informacijska varnost
111870 (1595) Lion29
»

php variable scope problem

Oddelek: Izdelava spletišč
81274 (1187) darh
»

PHP in mySQL

Oddelek: Programiranje
241941 (1649) rasta
»

PHP help!

Oddelek: Programiranje
251739 (1577) rc-car
»

MySQL & PHP napaka..

Oddelek: Programiranje
211739 (1554) lordgreg

Več podobnih tem