Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 PHP doesn't work... D:
jonathan.95. Offline
Junior Member
**
Posts: 9
Joined: Mar 2011
Post: #5
RE: PHP doesn't work... D:
(03-04-2011 01:39 AM)RateU Wrote:  What is the code?


This:

PHP Code:
1
2
3
4
5
6
7
<?php
$groups = $db->query("SELECT usergroup,displaygroup FROM mybb_users WHERE uid='{$memprofile['uid']}'");
while($group = mysql_fetch_array($groups))
if($group['usergroup'] == 42 OR $group['displaygroup'] == 42){
echo '<div style="position: absolute; top: 165px;left: -3px; background: transparent url(http://img1.cdn1.habbo.com/c_images/stickers/summer_swim_trunk.gif); width: 83px; height:53px;">';
}
?>


And this:

PHP Code:
<?php  $getcomments=$db->query("SELECT * FROM mybb_profilecomments WHERE user='{$memprofile['uid']}'");
 $numcomments = mysql_num_rows($getcomments); ?><div style="float: right;"> Totale commenti: <?php echo $numcomments; ?>

03-04-2011 04:22 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
PHP doesn't work... D: - jonathan.95. - 03-03-2011, 03:08 PM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-03-2011, 04:40 PM
RE: PHP doesn't work... D: - jonathan.95. - 03-03-2011, 10:28 PM
RE: PHP doesn't work... D: - RateU - 03-04-2011, 01:39 AM
RE: PHP doesn't work... D: - jonathan.95. - 03-04-2011 04:22 PM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-04-2011, 05:58 PM
RE: PHP doesn't work... D: - jonathan.95. - 03-04-2011, 11:38 PM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-05-2011, 08:53 AM
RE: PHP doesn't work... D: - jonathan.95. - 03-05-2011, 03:42 PM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-05-2011, 06:34 PM
RE: PHP doesn't work... D: - jonathan.95. - 03-06-2011, 05:28 AM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-06-2011, 08:56 AM
RE: PHP doesn't work... D: - jonathan.95. - 03-06-2011, 05:04 PM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-06-2011, 05:21 PM
RE: PHP doesn't work... D: - jonathan.95. - 03-06-2011, 05:35 PM
RE: PHP doesn't work... D: - ZiNgA BuRgA - 03-06-2011, 08:39 PM
RE: PHP doesn't work... D: - jonathan.95. - 03-06-2011, 09:48 PM

 Standard Tools
Forum Jump: