Jump to content

PHP Messup ?


ataria

Recommended Posts

this is what it displays on the page...


"You don't own any items.
" ); } else { echo "test"; ?>"

this is the script..
[code]<link rel="stylesheet" type="text/css"
href="mystyle.css" />
<php
include ("global.php");
$get_items = @mysql_query( "SELECT * FROM `user_items` WHERE `uid`='{$uid}' AND `place`='inventory'" );
$count_items = @mysql_num_rows( $get_items );

if ( $count_items == 0 )
{
echo ( "<center>You don't own any items.</center>" );
}
else
{
echo "test";


?>[/code]

anyone know what is wrong ?
Link to comment
https://forums.phpfreaks.com/topic/26823-php-messup/
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.