Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 3
Joined: Tue Jun 25, 2013 1:07 pm


Postby lanana » Tue Jul 02, 2013 4:43 pm

Hi!, it is posible to make a post from a form to another page posting wich variables i wish to load

for example
from my form post a variable 'post1' with the example.php as a value and the other page loads
$post1 = $_POST['post1'];

php include $post1;


something like that, thank you.

php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: post

Postby johnj » Tue Jul 09, 2013 12:09 am

$post1 is available in the next page, why do you want to include it? Further, you cannot include a variable, you can include a file.

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 4 guests