So how exactly do i add a space in between $book and the parenthesis ?
<?php foreach($books as $isbn => $book) { ?>
<li><?php echo $book . "(" . $isbn . ")"; ?></li>
what i get is clearly $book($isbn), and what i want is $book ($isbn)
do i need to add
. " " .
between my concatenated variable and 1st parenthesis ?
<li><?php echo $book . " " . "(" . $isbn . ")"; ?></li> ?
please help i cant seem to get it to work, thanks guys
This should do the trick: