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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Bjelleklang

    Split <texarea> field into individual lines. How?

    It works with no problems. The reason you couldn't get it to work, is because nl2br uses <br />, and not <br/>. Insert the extra space, and everything works perfectly.
  2. Bjelleklang

    How do i read a cookievalue?

    The cookie is set, and is printed with print_r, and is also listed in the webbrowser.
  3. Bjelleklang

    How do i read a cookievalue?

    How do I get the value from a cookie set with setcookie? I know the cookie exists, but when using echo $_COOKIE['user@systematicus'] nothing comes out. What do I do wrong?
  4. Bjelleklang

    Read a text file into a script

    How can you read the contents of a text file into a script??? I tried to read it using fread, but got an error message saying that i didn't use a valid File-Handle resource on the fread line.
  5. Bjelleklang

    Parse error.

    Thanks. I didn't know that it didnt point to the exact line. Thanks.
  6. Bjelleklang

    Parse error.

    I get a parse error on line 12 when i run this script, but I cant find anything wrong with it. Can someone help me??? <?php $name = str_replace (&quot;\t&quot; , &quot; &quot; , $_GET['name']); $mail = str_replace (&quot;\t&quot; , &quot; &quot; , $_GET['mail']); $country= str_replace...
  7. Bjelleklang

    fopen to add to a file?

    I use $fopen($file, a) to append something to a file, but how do i add something after a spesific tag, or at a specific linenumber?? Also, is it possible to make newlines in a txt file using php???
  8. Bjelleklang

    FWrite

    Gets a parse error in this line. Don't know what's wrong with it, and it's driving me mad. fwrite ($fp, $name . &quot;\t&quot; . $mail . &quot;\t&quot; . Can someone help me, as I'm fairly new in php??

Part and Inventory Search

Back
Top