Joel Posted April 6, 2008 Posted April 6, 2008 Im having big trouble with my game, I need help with some codes, Like Inventory, Market, Item Market, And Mail Box, Right ive got a Image as the Background and when people get loads off mails and items and stuff the Text will go off the Image, So im wondering if anyone can make something so they stay on the image like Pages, So like they click (Page 2) or something after 10 mails or 10 Items, Please help Im still Learning CSS and PHP Coding, Thanks Alot if you Help Me out :) Quote
KDawg08 Posted April 6, 2008 Posted April 6, 2008 Re: Please Help! Personally I would make a simple suggestion... Look at your userlist.php. It converts over to multiple pages, just learn from reading that code. Quote
Joel Posted April 6, 2008 Author Posted April 6, 2008 Re: Please Help! hmm, Ok ill have a Quick Look, Thanks Quote
Joel Posted April 6, 2008 Author Posted April 6, 2008 Re: Please Help! Ok i took the code out off userlist.php and tryed and put it in inventory.php, but its not seem to be working ive tried loads off things, I dont get no errors or nothing it just dont work, This is the code i made: $cnt=mysql_query("SELECT inv_itemid FROM inventory",$c); $membs=mysql_num_rows($cnt); $pages=(int) ($membs/2)+1; if($membs % 2 == 0) { $pages--; } print "Pages: "; for($i=1;$i <= $pages;$i++) Please could you help me, Thanks Quote
Joel Posted April 7, 2008 Author Posted April 7, 2008 Re: Please Help! Ok so i Guess no One no's the Answer to that but is there a way where you can make medium size boxes so you can put your text in there Like the code box below example example example example example example example example example example example example I want a box like the one above with a scroll Thing on it, In my game, Can some one please tell me how i cand Do this Thanks! Quote
KDawg08 Posted April 7, 2008 Posted April 7, 2008 Re: Please Help! v1 or v2? I'm going to assume v1 since i see alot of mysql_ Basically what you would have to do is take that piece of code u just pasted and a little more, and change $membs to something like $mail and a few other ideas. If i figure this out i'll let you know. Quote
Joel Posted April 7, 2008 Author Posted April 7, 2008 Re: Please Help! Its for V2 of Mccodes, And thanks KDawg08 if you work it out :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.