Very simple PHP script!

05-30-2002, 10:49 AM

ok! I want to script to do the following:

When a user visit a php script on a website:

then the verphp.php script should get the Ver=5 value and compare it to a already specified number in the script.....can you do that ?

For eg:

If Ver = 5 then echo("Update") else echo("NoUpdate")

can something like be this made ?


06-07-2002, 04:23 PM
Yes, look like this:

If ($Ver == 5) {
echo "Update!";
Else {
echo "No Update.";

Hope that helps.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum