Search results

  1. C

    intring parse error

    Posting the script might help, at a guess, a missing ; or } will be to blame though
  2. C

    MYSQL help

    The vars you're getting from post vars $firstname=$_POST['Name']; $message=$_POST['Message']; doesn't match the values you're inserting in the table mysql_query("INSERT INTO Feedback (Firstname, Message) VALUES ('$Name, '$Message')"); change the above insert to match the vars you...
  3. C

    MYSQL help

    In you're script if($submit=="submit"){ is always going to evaluate to false, because, in your form, the value for submit is "Submit" not "submit". Thus, the db connect and subsequent insert isn't ever going to happen. Try replacing that line with this instead if ($submit=="Submit") { or...
  4. C

    Simple Header Script, Need Help

    You might wanna correct the typo's in the style tags too ;) eg </sytle> to </style>
  5. C

    Apache 2.2.10 and PHP 5.2.6

    You need to check your php.ini file, and the httpd.conf file for apache, it would seem to be the case that php isn't getting loaded correctly, which suggests mis-configuration in one of those files. Without knowing your setup, or what you have configured, it's difficult to make a diagnosis...
  6. C

    Apache 2.2.10 and PHP 5.2.6

    Always helpful with windows error messages to search (google/whatever) on the actual fault address, a search on 'fault address 0x00001085' threw up this as first result. http://forums.devnetwork.net/viewtopic.php?f=31&t=73509 Scroll down and you'll find info about commenting out any...
  7. C

    Old school, innit?

    You don't have to use tables, not using a stylesheet doesn't automatically mean you need tables. You could use in-line styles, ie styles attached to the tags, taking the original code example, with inline styles, looks like this, not a table in sight... <html> <head> <title>Inline...
  8. C

    Firefox alignment issue

    What text editor are you using? Could be that yours doesn't fully support utf-8 (even if it says it does) The validator indicates the problem is at line 80, so have a look around that line in your code and see if any special characters jump out at you, and either remove or replace them. Quick...
  9. C

    Found it!

    Do-able with JS, simple example here http://www.irt.org/script/257.htm
  10. C

    music?

    I haven't played around with music files in webpages for a long time, however, this should cover most browsers (replace mytune.wav with the path and filename of your music file of course) <embed src="mytune.wav"></embed> <noembed> <bgsound src="mytune.wav"> </noembed> FWIW, background...
  11. C

    Firefox alignment issue

    It'd help if we knew how it's supposed to look. At a guess you're talking about the sponsors and stats links appearing in a separate column to the nav links etc. but that's just a guess, as to me, other than the vast area of white space it creates below the stats, I can't see any problems with...
  12. C

    Possibility of replying to text messages sent from mobile using the portal

    There's a number of ways to do this, the easiest of which is to sign up with an SMS gateway provider such as http://www.tm4b.com/ (not a recommendation, just an example). Most providers have API's which allow you to send and/or receive messages from/to your site via SMS using standard http...
  13. C

    1 isn't working :S

    I see what you're seeing vigge, using FF 3.01. Can't see any obvious reason for it, but it's clearly a script issue, as the source shows correctly, so try taking your scripts out one by one, and see which one is causing it.
  14. C

    Table not rendering in IE

    Hehe, not sure on the strange results you're getting with the dtds, then again, I never code pure js rendered pages myself, so it could be any number of things, I'd need to look more closely at your scripts and css to have an idea (no time tonight, but I don't mind giving it a look tomorrow if...
  15. C

    Table not rendering in IE

    Try adding a valid doctype declaration (DTD) to your markup, IE's operating in quirks mode without it, which causes all manner of odd behaviour. Slightly OT, it's not a good idea to rely entirely on JS to render your page content, it's inaccessible to anyone with JS turned off, or using a text...
  16. C

    planets

    If you're after creating planets, you'd be better of with Terragen There's some nice tuts out there to get you started too... http://www.terranuts.com/index.php?page=planets_and_suns http://www.terradreams.de/All/Tutorials/SpaceTut/TutPlanet1ENGL.htm...
  17. C

    Scroll Area Restriction?

    Try removing the extra body tag and divs from below the head tags... ...this bit... <BODY bgcolor="#E4E4E4"> <DIV align="center"> <div style="width:800px; height:700px; border:1px solid padding:5px; color:black; background:white "> </div> Once you've done that, you might need to...
  18. C

    em411 CMS

    They're not from an available CMS. Take a look here for some more info http://drupal.org/node/48680 to quote from that thread
  19. C

    Javascript Confirm dialogue box help please

    Try using document.getElementById() instead of getDocumentByID() since it's element id's you're trying to get. Also, grab a copy of Firefox if you're not already using it, make sure you install the web developer toolbar too, then pop on over to Firefox add-ons and install Firebug which will...
  20. C

    Trying to get property of non-object

    Try adding a check before that call to make sure the result is populated if (!$results) return;That's assuming you want it to return false to the Ajax call, of course, otherwise add a bit of logic... if (!$results) { // do something when there's no results } else { // handle the results...
Top