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

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

Session variable help
I'm having a very troubling issue. Maybe I'm just looking over something but I have looked at the co

Fatal error: Call to a member function fetchrow() on a non-object in C:xamppht
okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title..

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

Inserting a check in checkbox from array value
Hello all,
I have a bit of code that works for a select option box, but does not work for my chec

Strange array issue, never happened before.
mysql_fetch_array returns 1 array per call. Generally that's why it is inserted into a while statem

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered...

I often see an exa

Save User Inputs while javascript reloading!
hi..
i have written a PHP code in which i reload the page when user selects a value in dropdown..

wav to mp3 + goDaddy
I need to convert wav files to mp3s. From what I have found so far one way to do it is to have my PH

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