Hi

I get this fatal error when I am upgrading from php4 to php5:
Fatal error: Function name must be a string in /home/test5/www/sok-om-billan.php on line 54

My code is (line 54) :

if(isset($_POST["submit"]) && $_POST("submit") == "Legg til medsøker"){

Do i have to define it as a string, how do I do this ?

Espen

Change this to :

if(isset($_POST["submit"]) && $_POST["submit"] == "Legg til medsøker"){

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.