|
|
| |
1. parse error message |
|
Reply |
|
|
 jungica | 2006-12-29 00:48:41 |
hi
im getting this error message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/domain/poker/pokerDeck.php on line 29
whats the problem of the code?
27 class Deck {
28
29 public static $flop; //holds the flop cards - is array
30 public static $turn; //array with only the turn card
31 public static $river; //array with only the river card
32 public static $allhands; //array with all pockets for $playnum players
|
| |
2. Re: parse error message |
|
Reply |
|
|
 Jayme Fishman | 2006-12-29 12:10:02 - In reply to message 1 from jungica |
This looks like you may not be using PHP version 5.0 or higher. The class requires at least version 5.0.
Jayme |
| |
3. Re: parse error message |
|
Reply |
|
|
 Jayme Fishman | 2006-12-29 12:37:05 - In reply to message 2 from Jayme Fishman |
| Also .... if you don't have access to v.5.0 I recommend downloading XAMPP (free at: http://www.apachefriends.org/en/xampp.html) it has PHP, MySQL, and more all tied together with PHP admin and can be run from a memory stick. I used it to create this class. |
| |
4. Re: parse error message |
|
Reply |
|
|
 jungica | 2006-12-29 12:47:37 - In reply to message 3 from Jayme Fishman |
oh, thanx :)
great work btw, ill try to create an ajax powered graphic poker interface later |
|