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

Echoing a Variable from a Object
How do I get a variable from the new User Class to echo out in this clasS?

class MyApp
{

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

mail() problem
Hi Guys,

I've set up a contact email form. It sends the information fine, but it sends it to

function not returning the correct value
I have a program that needs to return a value from a function. I have an output statement inside the

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

why isn't this PHP code working ???
it's suppose to find a name on the database.

<?php

$s = $_POST["lname&

Post, not working, please help
The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /student

Help building / using array
First - this is a cross-posting, if this is wrong I apologise! What started out as a MySQL query que

DOMDocument parsing
Hello, I am parsing an xml file from an API which I have converted into a DOMDocument in php. This i

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