Jump to content

Logix

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

About Logix

  • Birthday 09/19/1976

Contact Methods

  • AIM
    crypticlogix
  • Yahoo
    crypticlogix

Profile Information

  • Gender
    Male
  • Location
    Dirty Jersey

Logix's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for code - this will actually put me in the right direction... ;D
  2. yeah - I was trying to think how to do it - if its even possible.... ;D
  3. this worked great - thanks a lot!!!! My new problem (go figure) - is to list them the same way but up and down thenleft to right.. ie currently: a b c d e f g h I need to get a c e g b d f h thanks for all your help! b
  4. WOW!!!! I also got it to work by doing this $c++; Echo  ($c % 4) == 0 ? "</tr>\n" : '' instead of Echo  ($c % 4) == 0 ? "</tr>\n" : '' $c++; but now I am going to try your new way...  Thanks for everything I am learning a sh*t oad from this!
  5. I see how this works now..  Thank you...  Its almost there - I am getting weird output - but that might be formatting...  its doing Name Name  Name  Name Name Name  Name  Name thanks alot man - at least I can learn from this code now...
  6. I am getting Parse error: syntax error, unexpected ')', expecting ',' or ';' in /home/fighting/www/www/testdb/pfs_cei.php on line 54 until I change echo ($c % 4) == 0) ? "<tr>\n" : ''; to echo ($c % 4) == 0 ? "<tr>\n" : ''; but then I just get the same results i was without the count.. First time I am working with counters in code like this.... I change my array also - didnt make a difference tho but thanks
  7. Thank you!!!!!! I will try it in a little bit and let you know....
  8. I am ready to bang my head o the wall on this..  I am doing a standard while loop with some tables. [code] $connect=mysql_connect("$db_Hostname","$db_UserName","$db_Password"); mysql_select_db("$db_Database",$connect); $showpfsinst=mysql_query("SELECT * FROM Instructor WHERE Rank='CEI' ORDER BY LName ASC")or die; while($pfsq = mysql_fetch_array($showpfsinst)) { //START Echo " <tr>\n"; Echo " <td align=middle><font face=Verdana size=1 color=" . $textcolor_inst . ">" . $pfsq[FName] . " " . $pfsq[LName] . "</font></a></td>\n"; Echo " <td align=middle><font face=Verdana size=1 color=" . $textcolor_inst . ">" . $pfsq[FName] . " " . $pfsq[LName] . "</font></a></td>\n"; Echo " <td align=middle><font face=Verdana size=1 color=" . $textcolor_inst . ">" . $pfsq[FName] . " " . $pfsq[LName] . "</font></a></td>\n"; Echo " <td align=middle><font face=Verdana size=1 color=" . $textcolor_inst . ">" . $pfsq[FName] . " " . $pfsq[LName] . "</font></a></td>\n"; Echo "</tr>\n"; //END } [/code] This works - but displays the same record for each of the cells..  How can I change the record for each cell?  Basically I just want those 4 cells wide - each with a different record... thank you in advance!!!!!!
×
×
  • 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.