★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/002184.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  C'mon guys try this one

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   C'mon guys try this one
DerekHalstead
Junior Member
posted July 29, 2000 01:22 AM     Click Here to See the Profile for DerekHalstead   Click Here to Email DerekHalstead     Edit/Delete Message Reply w/Quote
Hi,
I have php 4 installed and i also have sessions enabled. So when i type this:
<?php
// Session test

session_start(void);

session_register('counter');

//$counter = 2;

$counter++;

echo ("You have visited the page $counter times.");
?>

Nothing shows up when i run the page. But when i comment session_start and session_register i get the other code stuff. ie code other than what i have written above.
Why is this happening??
Please help,
Derek

------------------
Programming at it's best with Derek Halstead

Shiju Rajan
Member
posted July 29, 2000 03:45 AM     Click Here to See the Profile for Shiju Rajan   Click Here to Email Shiju Rajan     Edit/Delete Message Reply w/Quote
Read the following article.
http://www.phpbuilder.com/columns/mattias20000312.php3

------------------
SR -
webshiju.com

"The fear of the LORD is the beginning of knowledge..."

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.