By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

php submit button

P: 1
I have a submit button and i want to view next page after clicking that button
Oct 14 '08 #1
Share this Question
Share on Google+
7 Replies


Dormilich
Expert Mod 5K+
P: 8,639
And what's the problem?
Oct 14 '08 #2

Markus
Expert 5K+
P: 6,050
And what's the problem?
Hit the nail on the head there.
Oct 14 '08 #3

Atli
Expert 5K+
P: 5,058
Ajithkumar.
First of all, welcome to Bytes!

Eager as we are to help you solve your coding problems, in order to do so, you will need to provide an actual question.
And know that we do not like guessing, so you will also have to provide the details we will need to help you.

What those details are, and how this information should be presented is explained in the Posting Guidelines, which we require all members to read and abide by when posting in these forums.

Please keep that in mind in the future.

Thank you
Moderator
Oct 14 '08 #4

P: 6
write a php code for it which can be
[PHP]<?
if($_post['submit'])
{
header("location: nextpage.php");// give the name of the page you want in place of nextpage
}
?>[/PHP]
Oct 14 '08 #5

nomad
Expert 100+
P: 664
write a php code for it which can be
[PHP]<?
if($_post['submit'])
{
header("location: nextpage.php");// give the name of the page you want in place of nextpage
}
?>[/PHP]
Why are you using a php code for this?
Oct 14 '08 #6

P: 2
Expand|Select|Wrap|Line Numbers
  1. <form method="post" action="nextpage.php">
  2. <input type="submit">
  3. </form>
Oct 15 '08 #7

Markus
Expert 5K+
P: 6,050
Expand|Select|Wrap|Line Numbers
  1. <form method="post" action="nextpage.php">
  2. <input type="submit">
  3. </form>
You neglected to use [code] tags again. For this you are receiving a formal warning.
Oct 15 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.