Hi all, very new to PHP and encountering what seems to me a very strange problem.
<?php
$txtAuthor = $_GET['Author'];
$txtTitle = $_GET['Title'];
$txtPublisher = $_GET['Publisher'];
$txtIsbn = $_GET['Isbn'];
echo $txtAuthor . "<br />";
echo $txtTitle . "<br />";
echo $txtPublisher . "<br />";
echo $txtIsbn . "<br />";
echo
"<form action='insertScript.php' method='post' name='insert'>
<input name='author' type='text' value='" . $txtAuthor;
echo "'/><label>Author</label><br />
<input name='title' type='text' vaule='" . $txtTitle;
echo "'/><label>Title</label><br />
<input name='publisher' type='text' vaule='" . $txtPublisher;
echo "'/><label>Publisher</label><br />
<input name='isbn' type='text' vaule='" . $txtIsbn;
echo "'/><label>ISBN</label><br />
<input name='submit' type='submit' value='Submit' />
</form><br />
<form action='index.php' method='get' name='back'>
<input name='submit' type='submit' value='Back' />
</form>";
?>
When this page is displayed in a broswer (tried Firefox v3 and IE7) the varibles echo'd at the start display fine, but in the form only the first varible shows up in the text field ($txtAuthor) the other text fields are blank. What is even stranger when i view the sorce code for the page the values for each text field are there...
Any one able to throw some light on this prblem for the newb would be greatly appreciated.
Alzir