Hello I seem to have a small problem, I have just setup a Apahe server on my localhost so I can run PhP Files.
and I made some simple codes. but they don’t seem to work proberly, those used to work on my univeristy where I statred making them as they are my Practical Assignment. Here are the wronmg outputs
when I try to send the var from home.php to guess.php I get this output
Hello " .$name . "!" . " Try and guess the number dude!!!..."); ?> "); echo("A Number from 1-100 has been set. up for the challange?"); ?>and ofc is wrong. also I need some help to know how to check if the number given in guess.php is the same as the $x variable home.php [php] Home Page <?php session_start(); session_register("login"); ?> Enter Registration [/php]
guess.php
[php]
Hello " .$name . "!" . " Try and guess the number dude!!!...");
?>
<?php $x = 10; echo (""); echo("A Number from 1-100 has been set. up for the challange?"); ?> Enter Your Number [/php]
and correct.php
[php]
Correct <?php if ($x == 10) ; echo("correct"); ?> [/php]