How can I add spaces in php I means btween st_ id and em_ name I want to add more speces

Tags: php
Question!

I means between st_id and em_name I want to add more spaces

echo "student id, emirate name <br>";
foreach ($resultset as $row)

    echo $row['st_id'],  "" , $row['em_name'], " ",  $row['st_bday'], "",  $row['st_emirate'] , "",  $row['em_id'], "",  $row['em_name'],'<br />';
By : ralkutbi


Answers

I assume that you're echoing this to a browser, in which case, & nbsp;

must be used.

echo $row['st_id'],  "&nbsp;&nbsp;" , $row['em_name'], " ",  $row['st_bday'], "",  $row['st_emirate'] , "",  $row['em_id'], "&nbsp;",  $row['em_name'],'<br />';
By : Craig


byte[] imageBytes = Convert.FromBase64String(body);
MemoryStream stream = new MemoryStream(imageBytes);
pictureBox1.Image = Image.FromStream(stream);


This video can help you solving your question :)
By: admin