# Slightly confused... \[PHP\]

**URL:** <https://forum.kirupa.com/t/slightly-confused-php/234495>\
**Category:** Uncategorized\
**Created:** [August 2, 2007, 6:24pm UTC](https://forum.kirupa.com/t/slightly-confused-php/234495 "2007-08-02T18:24:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [August 2, 2007, 6:24pm UTC](https://forum.kirupa.com/t/slightly-confused-php/234495/1 "2007-08-02T18:24:43Z")

</div>

ok. So im learning php now, its a pretty big learning curve.  
but sofar I have learnt how to use variables, mkdir, upload and sessions

Im on sessions atm. but i need to know how to make a new line in php.  
I know ‘/n’ or something like that does it ($newline and \</br\>)

But when ever I add \<br /\> i get a syntax error.

my php code:

```php
<?php 
session_start(); 

echo "Your name is " .$_SESSION['name'];
echo "Your email is ".$_SESSION['email']; 
echo "your favorite number is ".$_SESSION['favno']; 
?>

```

any ideas?
