need help about


Posted on 16th Feb 2014 07:03 pm by admin

i store the value of my select statement result to an array and stored it to a variable named $fname the i used it as the value of:

<input type='text' name='fname' value=<?php echo $fname ?> />

but when $fname's value is more than 1 word it only displays the first word, but when i:

echo $fname;

i get the right result. What is the problem with this?

Need help. ASAP.

Thanks

No comments posted yet

Your Answer:

Login to answer
85 Like 7 Dislike
Previous forums Next forums
Other forums

Problem with array max size.
Hi to everyone,
I've got a homework about filling a bidimensional array un spiral shape, I alre

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

xml
<?php

echo "<h1>XML Articles</h1>";

$home

Display Database
I need to create a shopping cart. I found this code online: http://conceptlogic.com/jcart/
Unfort

$variable = $variable
Hello

Sorry if this is a really simple question but I have run out of ideas. Is there a reall

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

Need help making login verification cleaner...
I use the below to verify user login. I first check the cookie for the id, ip and a unique id. If it

PHP Error
On my .php page I have a drop down box that has several names in it. When a user clicks the name &am

How many users online in the last 24-hours using time()?
I'm fairly new to PHP. I have a MySQL table called 'users' and a field called 'loggedin' which is in

getting a website's source code as a variable? How?
Hey guys, is there any way for me to get the source code of a website as a variable for me to work w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash