Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by BittenApple

  1. BittenApple

    Unexpected T_STRING? Eh..

    Haha, thank you so much sleipnir. I feel like such an idiot!! :P
  2. BittenApple

    Missing function apache_getenv

    O, man.. I thought I cracked it lol. Sorry, i've never really used apache_getenv.. Sorry I cant help
  3. BittenApple

    Unexpected T_STRING? Eh..

    <?php function shoutView(){ $color1 = "#466A2B"; $color2 = "#568434"; $e_shout = mysql_query("SELECT FROM 'shoutbox'); echo '<table width="100%">'; I edited loads of lines, so now the problem is on line 6.. heh. Btw, ''db.php'' in included in index.php, and this file is included in index.php so...
  4. BittenApple

    Missing function apache_getenv

    Simple, you missed out the quotes.. <?php echo "apache_getenv('PATH')"; ?> Try that..
  5. BittenApple

    Unexpected T_STRING? Eh..

    Wow thanks, it seems to be working.. But, now its turned into a T_LNUMBER -- :S echo '<table width="100%">'; thats what it is - whats a LNUMBER?
  6. BittenApple

    Unexpected T_STRING? Eh..

    It says unexpected T_STRING in line 9, but I dont get it, whats a string? I read a tutorial on reading errors, but it say T_'then problem of name' but I dont know what a string is.. this is my line 8-10 8 //Start table 9 echo "<table width="100%"> 10 " Heh, I know the "100%" is wrong...
  7. BittenApple

    Saving info to a database?

    Hi, ive got a HTML form all sorted, and you type in your name/e-mail/mobile and a comment, would this be a correct script to add it to a database? <? $username="username"; $password="password"; $database="your_database"; $first=$_POST['first']; $last=$_POST['last']; $mobile=$_POST['mobile']...

Part and Inventory Search

Back
Top