Page 1 of 1

Post cut off

Posted: Thu Nov 18, 2004 2:47 am
by Hammer65
I'm trying to post a question about some code but my post keeps getting truncated. Sorry I'm a newbee so I'm sure it's something simple.

Thanks to anyone who can help.

Posted: Thu Nov 18, 2004 5:48 am
by djot
-
Hi,
did you use BBCode around your code?

Code: Select all

їPHP]CODEї/PHP]
djot
-

Posted: Thu Nov 18, 2004 7:03 am
by m3mn0n
Well put it in a text file, upload it, and send us a link then. :)

cut off

Posted: Fri Nov 19, 2004 12:53 am
by Hammer65
I did use the BBCode but it still cut it off. I didn't use the buttons just hand coded it in. I was trying to find out why I couldn't get fwrite to work with a string as below.

Code: Select all

<?php$f_lookup = $art_num.":".$tfile."\n";
fwrite($f_ptr,$f_lookup);?>
This which should be the same thing works.

Code: Select all

<?php fwrite($f_ptr,"$art_num:$tfile\n");?>
No big deal I guess but I'm not used to putting variables inside strings so I usually code by joining strings and variables instead as you do in Javascript.

My post appears to be working now. Thanks for any help you can give.

Posted: Fri Nov 19, 2004 1:44 am
by patrikG
Sorry to hear that Hammer65. Could you post browser, browser version, operating system and operating system version, please?

Posted: Fri Nov 19, 2004 3:35 am
by Weirdan
Hammer65, you should have the space after the <?php tag to make your code working.

cut off

Posted: Fri Nov 19, 2004 3:53 am
by Hammer65
Yes, certainly

Mac OSX 10.3.5
Safari 1.2.3 (v125.9)