Warptweet Posted January 14, 2007 Share Posted January 14, 2007 I asked this before, but it didn't work.I've decided to open an actual topic to actually ask the question the way everyone else does.EXAMPLE:The Fox was nice.The Fox was smart.The Fox was cunning.The Fox was mean.The Fox was dumb.the Fox was clumsy.----------------------------------See how "The Fox was cunning" and "The Fox was mean" were seperated by a double space? Well, I need a code to to make that double space.I'm using the fwrite function and all, how can I make a double space inside the "'s? Link to comment https://forums.phpfreaks.com/topic/34095-double-space-help/ Share on other sites More sharing options...
trq Posted January 14, 2007 Share Posted January 14, 2007 Im really not sure what your talking about as there are no double spaces in your example. Anyway, just place the spaces in the string, eg;[code]"the Fox was clumsy."[/code] Link to comment https://forums.phpfreaks.com/topic/34095-double-space-help/#findComment-160333 Share on other sites More sharing options...
scotmcc Posted January 14, 2007 Share Posted January 14, 2007 I think he means "New Line"Put this in your code if it is a text file...[code]The Fox was cunning.\n\nThe Fox was mean.[/code]or this[code]The Fox was cunning.<br><br>The Fox was mean.[/code]if outputting to HTML Link to comment https://forums.phpfreaks.com/topic/34095-double-space-help/#findComment-160335 Share on other sites More sharing options...
Warptweet Posted January 14, 2007 Author Share Posted January 14, 2007 THANKS A ZILLION!I completely forgot I could use HTML!Sorry, I've just gotten so used to PHP lately. With all my questions getting answered I've been learning PHP rapidly, all thanks to people like you :d-Thanks! Link to comment https://forums.phpfreaks.com/topic/34095-double-space-help/#findComment-160341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.