I m not getting how to link pages in php.....
For ex if I click on submit button of a regidtration form then i want to be navigated to a new page..
What should i do ...
please suggest.....

Its not liking like in hyperlinking. You create forms using the form tag

<form id="form1" name="form1" method="post" action="">
</form>

in the action bit you can add a link to the location of the of the file you want to link to. action"car.php" will take you to the location of car.php after the button is hit

if you are creating a form say login Then:-

the the code will be:-

<?php

echo <<<_END

<form action='login.php' method='post'>
Username : <input type="text" name="username">
Password : <input type="password" name="password">
 <input type="Submit" value="Login">
</form>

_END;
?>

Then the following line displays a Submit button to send the data VIA post...

<input type="Submit" value="Login">

I hope it becomes easy...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.