Jump to content

jon23d

Members
  • Posts

    100
  • Joined

  • Last visited

    Never

Everything posted by jon23d

  1. Can we see the rest of your code please?
  2. You can put them into an array, then loop through by key. $rs = mysql_query("SELECT * FROM table WHERE week='$week' AND status='0'"); $games = array(); while ($r = mysql_fetch_assoc($rs)) { $games[$r['gameid']][] = array( 'hometeam' => $r['hometeam'], 'awayteam' => $r['awayteam'] ); } foreach ($games as $game_info_arr) { echo "<table><thead><tr><th>Home</th><th>Away</th></tr>"; foreach ($game_info_arr as $game) { echo "<tr><td>{$game['hometeam']}</td><td>{$game['awayteam']}</td></tr>"; } echo "</table>"; }
  3. Yes, I have tried this. According to the structure returned from imap_fetchstructure, the part has a charset of 'windows-1252'. At first I thought it might be because I'm on linux, but gmail displays it just fine (and is using the same character set I am, UTF-. I can remove the characters easily enough, but I would like to actually render them.
  4. I am terribly confused... I am trying to display the html body of a message pulled through imap. I thought that if I did this: <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> in the html head, that everything would be pretty much figured out for me, but... When I look at the original message in gmail (prior to being pulled with imap), I get an ellipses(...), but once I display it in my browser, I get a black diamond question mark thingy... Help! I've tried all manners of conversion, but suspect I'm completely missing the boat here. Thanks
×
×
  • 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.