ataria Posted November 10, 2006 Share Posted November 10, 2006 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 More sharing options...
haaglin Posted November 10, 2006 Share Posted November 10, 2006 well, <php is wrong, write <?php. and you are missing an } at the end. Link to comment https://forums.phpfreaks.com/topic/26823-php-messup/#findComment-122655 Share on other sites More sharing options...
ataria Posted November 10, 2006 Author Share Posted November 10, 2006 oh. wow. XD thanks :) Link to comment https://forums.phpfreaks.com/topic/26823-php-messup/#findComment-122656 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.