Jump to content

[SOLVED] How do i carriage return and line feed this?


bilis_money

Recommended Posts

I have this below

 

$ip = $_SERVER['REMOTE_ADDR'];

 

Now i want to add this '\n' at the end of the string above, how should i go about this?

 

like this?

$ip = $_SERVER['REMOTE_ADDR'] . '\n';

 

i tried that but it's not working properly, could you show it to me?

 

thanks

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.