Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-22-2012, 06:35 AM   PM User | #1
Noonga
New Coder

 
Join Date: Feb 2012
Posts: 51
Thanks: 5
Thanked 0 Times in 0 Posts
Noonga can only hope to improve
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.
Noonga is offline   Reply With Quote
Old 02-22-2012, 11:29 AM   PM User | #2
litebearer
Regular Coder

 
Join Date: Apr 2004
Posts: 287
Thanks: 0
Thanked 21 Times in 21 Posts
litebearer is on a distinguished road
line in a file?
line (record) in a database table?

Need more info as to what you are seeking to accomplish.
litebearer is offline   Reply With Quote
Old 02-22-2012, 11:57 AM   PM User | #3
djm0219
Senior Coder

 
djm0219's Avatar
 
Join Date: Aug 2003
Location: Wake Forest, North Carolina
Posts: 1,227
Thanks: 2
Thanked 189 Times in 187 Posts
djm0219 is on a distinguished road
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
djm0219 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:34 PM.


Advertisement
Log in to turn off these ads.