This Question have 2 answers right now.

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);



Best way to access Exchange using PHP?

Encrypting Passwords

Connect PHP to IBM i (AS/400

Are PHP Variables passed by value or by reference?


Make XAMPP/Apache serve file outside of htdocs [closed]

How can I get the authenticated user name under Apache using plain HTTP authentication and PHP?

Using object property as default for method property

Mechanisms for tracking DB schema changes [closed]

How can I get at the matches when using preg_replace in PHP?

Why is my ternary expression not working?

File size differences after copying a file to a server vía FTP

MySQL/Apache Error in PHP MySQL query


PHP Error - Uploading a file

Multi-Paradigm Languages

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