Simple script change help needed for novice

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
developerahusain
New php-forum User
New php-forum User
Posts: 44
Joined: Tue May 28, 2013 10:04 pm
Location: India,Lucknow

Re: Simple script change help needed for novice

Post by developerahusain » Wed Jun 12, 2013 5:13 am

do it like this.
<?
$text_line = explode(" ","Dave simply");
$firstname=$text_line [0];
$lastname=$text_line [1];

echo $firstname."&nbsp;".$lastname;

?>
developerahusain

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest