Jump to content

run php scrip from php script


grotehaas

Recommended Posts

It looks like you need include(). Use the include() function to include other PHP scripts within your current file.

 

For example,

 

include 'next_script_to_run)';

 

Also, the if statement appears to have a logical mistake.

if ($user==$username & $pass==$password)

Notice the == symbol. == is the or operator. You may also use

 

if ($user==$username and $pass==$password)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.