Jump to content

Some problems

Jack McKalling

Recommended Posts

Hello, good to see you :) *correction, read*FunLinks is my own site. It can be found here, and is Dutch. Click hereBut it has been shut down for the time being.I want to have a visitor counter, which I have but not implemented on the site yet, and it has a bug to be fixed. Can any one help me with the following?

Count = "<?php$txtbestand = "bezoekers.txt";$content = fopen ($txtbestand, "r");$num = fgets ($content, 1000);fclose ($content);echo ($num);?>"
It should result as:
Count = "7"
As for the blue, is some number in file "bezoekers.txt".It leaves the quotes blank :)Ps.: the file that was opened consists of only that number. Edited by Dan The Prof
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...