» »

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
111849 (1574) Lion29
»

php variable scope problem

Oddelek: Izdelava spletišč
81257 (1170) darh
»

PHP in mySQL

Oddelek: Programiranje
241930 (1638) rasta
»

PHP help!

Oddelek: Programiranje
251729 (1567) rc-car
»

MySQL & PHP napaka..

Oddelek: Programiranje
211724 (1539) lordgreg

Več podobnih tem