I have two little problems with my code that i'm sure won't take a great deal of fixing. Firstly i want to display 2 variables in my browser with a gap in between them. The code i have at the moment is as follows:
echo '<tr><td align=\"left\"><b>'.$num , $questions.'</b></td></tr>..........
When i view the output in my browser i get something like '2Question' when i actually would like '2 Question'. I tried to use the command but i must have used it incorrectly as nothing happened.
The second problem concerns the position of a button when my code is viewed in my browser. I have a normal form that contains php code between the start and end form tags e.g.
<form name="testing"action="test1.php"method="POST"> <?php While loop to display my questions ?> <input type="submit" name="submit"value="Submit Answers"> </form>
When i run this code and view it in my browser my 'Submit Answers' button is positioned at the top of my page. I would like it to be positioned centrally at the bottom of my page after my while loop has finished displaying my last question. For some reason i'm finding this task rather difficult. I'm sure it will be fairly straight forward. Can someone please put me out of my misery?