Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-02-2009, 01:17 AM
Fireballchad Fireballchad is offline
Member
 
Join Date: Aug 2009
Posts: 49
Credits: 8,482
Fireballchad
Default Layout question [Answered]

Hey there I am having a horrible time trying to make my pets be in collums,
PHP Code:
//Loop out code
$i=0;
while (
$i $num) {

$aid=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel=@mysql_result($result,$i,"currentlevel");
$type=@mysql_result($result,$i,"type");
$name=@mysql_result($result,$i,"name");

$aid1=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel1=@mysql_result($result,$i,"currentlevel");
$type1=@mysql_result($result,$i,"type");
$name1=@mysql_result($result,$i,"name");
// Our code to determine if we show the table or not...


$article_content $article_content."<center><table><tr>";



// Output the table information...
// Get the current adoptable's image

$image getcurrentimage($aid);

$article_content $article_content."<td><div align='center'><p>".$name."</p><p><a href='myadopts.php?act=manage&id=".$aid."'><img src='".$image."' border=0></a></p><p>
<b><a href='myadopts.php?act=manage&id="
.$aid."'>Manage</a></b></p></div></td>";


$image1 getcurrentimage($aid1);

$article_content $article_content."<td><div align='center'><p>".$name1."</p><p><a href='myadopts.php?act=manage&id=".$aid1."'><img src='".$image1."' border=0></a></p><p>
<b><a href='myadopts.php?act=manage&id="
.$aid1."'>Manage</a></b></p></div></td>";

$article_content $article_content."</tr></table></center><br>"
it keeps repeating the same adopt on the same line, ive been messing with the $i var and others to try to get it to "jump" one ahead to put it there but then the next line it falls back...

I want
pet-a | pet-b
pet-c | pet-d
I am getting when i mess with it
pet-a | pet-b
pet-b | pet-c

Ive read this but its not working
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Layout x3 Rozel Questions and Supports 17 04-21-2011 02:35 PM
xD I screwed up the layout~ Rozel Questions and Supports 0 03-21-2011 10:33 PM
Trying to fix up adopting layout Kyris Questions and Supports 4 01-28-2011 10:23 AM
Alt outcome question [Answered] Fireballchad Questions and Supports 2 02-10-2010 08:00 PM
How do i make a new layout? RipJawWolfFang Questions and Supports 1 04-10-2009 08:39 AM


All times are GMT -5. The time now is 01:19 AM.

Currently Active Users: 769 (0 members and 769 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636