Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2012
    Posts
    51
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Writing to specific line

    Does anyone know if its possible to write to a specific line, perhaps using fwrite() or something?

    PHP Code:
    <?php
        session_start
    ();
        
    $id "2";
    So I can get PHP to write in $id from $POST or something.

  • #2
    Regular Coder
    Join Date
    Apr 2004
    Posts
    298
    Thanks
    0
    Thanked 23 Times in 23 Posts
    line in a file?
    line (record) in a database table?

    Need more info as to what you are seeking to accomplish.

  • #3
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,302
    Thanks
    4
    Thanked 204 Times in 201 Posts
    Noonga, why are you starting another thread? You've asked this question already in this thread which has received an answer pointing you to the correct reason why what you have tried has not worked.
    Dave .... HostMonster for all of your hosting needs


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •