Jump to content

dayzd

Members
  • Posts

    488
  • Joined

  • Last visited

Everything posted by dayzd

  1. You're welcome. I learnt something, to: assumptions are bad! lol
  2. Oh, I haven't tested it...! I'm just assuming it does!
  3. On the whole, it's very pleasant and attractive (aside from the inconsisten comic sans use). One thing I would say is your header area is very large and very heavy. On a 1024x768 display there's always scrolling to be done to read your content, which slows down your users. Good work, though!
  4. while ($count < mysql_numrows($tables)) { // Loop through all rows in $tables result $category[] = mysql_tablename($tables,$count); // Add table name from selected row to $category array $count++; // Increment counter } echo ''; // Start select dropdown foreach ($category as $key => $value) { // Loop through all $category values echo ''.$value.''; // Add option to select dropdown } echo ''; // Close select dropdown For the record, CESIL's way is more concise and efficient. I just didn't think of it.
  5. mysql_connect("localhost","backdoor","(*****)"); $tables = mysql_list_tables("dbase"); $count = 0; $category = Array(); while ($count < mysql_numrows($tables)) { $category[] = mysql_tablename($tables,$count); $count++; } echo ''; foreach ($category as $key => $value) { echo ''.$value.''; } echo ''; ?>
  6. The easiest way to write the script would be have a local copy of the template file somewhere on the machine that pupils cannot access (maybe a folder just for your custom stuff in 'Macintosh HD:Library') and have it make a copy into the users' folder on login.
  7. Ahh... Is it because your foreach loop is happening inside your while loop? Methinks it probably is! Does this serve you any better? mysql_connect("localhost","backdoor","(*****)"); $tables = mysql_list_tables("dbase"); $count = 0; while ($count < mysql_numrows($tables)) { $category = array(mysql_tablename($tables,$count).","); $category = str_replace(",", "", $category); $count++; } echo ''; foreach ($category as $key => $value) { echo ''.$value.''; } echo ''; //'mysql_tablename($tables,$count).''; //echo mysql_tablename($tables,$count)." "; ?>
  8. You want your select tags to be outside your loop so they're not repeated: echo ''; foreach ($category as $key => $value) { echo ''.$value.''; } echo ''; Change your tag to a tag and you should be golden.
  9. Ah... you're right. IE7 isn't on the list. Bummer. In which case, I'm not sure if you can do what I suggested...
  10. Not sure if it'll help, but you could create a 'My Computer' security zone... How to Enable the My Computer Security Zone in Internet Options It should allow you to set the 'active content from this computer' rule for local content, then leave it off in your other internet zones. I think (I've only fiddled with this personally. I've never used it on a full network). Don't know if you can control the new zone from AD, though.
  11. Is this template a file, or are you referring to your imported .plist? What does the template do? (We don't have Logic here, but I'll be trying it at home soon...)
  12. dayzd

    Mac Mini HDMI

    I can't wait for apple to support bluray. Then finally my macmini media system (hooked up to the tv, natch) will be complete! I've no idea why Jobs described it as a 'bag of hurt' or whatever last year... Licencing maybe? Surely not hardware - even my 1.83 C2D / GMA950 based machine can deliver 1080p h264!
  13. I'll assume you're making sure to copy user plists, not machine ones? You might wanna check the plists once they're in the WGM and make sure there aren't any user-specific details in there, such as paths or usernames that reference your local account. Plus, you may have added settings you didn't need or want. I tend to do a bit of trial and error with some test accounts to make sure I only apply settings for what I need.) Also, it seems to depend which area you put them in - I've found some things will apply more reliably if you put them under 'Often' rather than 'Always'. ('Often' re-applies at log-on, so is usually acceptable anyhow.) All that said, I'm only a slightly seasoned user of WGM-controlled Macs (only had them for 9 months), so take the above with smidge of salt in case I'm wrong!
  14. Google also takes in to account the actual content of your pages (obviously). If the page is well written (semantic use of html) and your content good (pages don't repeat the same content too often etc), you'll do better. In my experience, Google can take several weeks to re-crawl websites, even if you have a sitemap.xml and robots.txt to help it on it's way...!
  15. Ours died yesterday and today as it got hit for weather news. As in, died completely in a 'Service unavailable' kinda way, so couldn't even make a plain HTML page... I went after some more info of my own and found this: Reverse IP Lookup - Find Other Web Sites Hosted on a Web Server From where I discovered EMBC serve 151 school sites (Northants and Notts) through one IP! (I imagine this is common with clustered servers/virtualisation and whatnot, but you can bet the EMBC implementation leaves a lot to be desired!)
  16. Hello hello. I'm Andy from Carlton le Willows in Nottingham.
×
×
  • Create New...