On submit button click use inlcude statement

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
starwars
Forum Newbie
Posts: 1
Joined: Wed Dec 03, 2008 12:00 pm

On submit button click use inlcude statement

Post by starwars »

I need some help with this.......

when i click on submit button the code has to use include statement
include ("xxxx.php")

i am not sure how to do this...i have been searching from such a long time and i tried with different options but still it doesn't work

echo " <form action= "include("DB_Insert_DL.php")" method=\"post\">";

echo "<input type=\"button\" name=\"redirect\" value=\"Back\" onClick=\"history.go(-1)\">";
echo "<input type=\"submit\" value=\"Submit\">";

i am want to use only include statement as i need the data from this code to move on to xxx.php

Thanks in advance
Post Reply