burtybob
-
Posts
105 -
Joined
-
Last visited
Posts posted by burtybob
-
-
In profile.php
<form method="GET" action="?"> <input type=textbox name=text> <input type=submit> </form> <?php $id = $_GET[text]; include ('$id.php'); echo $data; ?>
In 123.php
<?php $data = ben ?>
Yet whenever i put 123 in the text box it just gives me a blank page other than the text box?
I now understand the get a lot better thank you guys and girls (if any of you are girls) so i guess some things are just easier to understand when explained in another way so i thank you all for that and please can you help on this bit.
I am on MSN if it easier my msn is bobob24@hotmail.co.uk.
-
i have read the phpmanual and many tutorials and i did a search on here and i am still stuck.
I can do forms but i cant understand how the URL bit works i will give an example
On websites they use like
profile.php?id=123
and i dont understand how the id=123 bit is generated is it connect to mysql then something else?
I understand everything in green but not the red bits?
A PHP Login Script?
in PHP Coding Help
Posted
This is a basic login script it might need a minor edit to make it work for you in the way you want but that should mean just basic php knowledge.
LOGIN FORM
LOGIN CHECK AGAINST DATABASE
LOGIN CONFIG FILE