Search found 9 matches
- Wed Jan 14, 2004 1:54 pm
- Forum: PHP - Code
- Topic: Newbie need help about PHP poll code
- Replies: 16
- Views: 1247
$_SERVER['PHP_SELF'], or as it is in your script, $PHP_SELF is a var cotaining a string with the current file's location. I havent read your entire script, havent got the time, but try to change $PHP_SELF to $_SERVER['PHP_SELF']. Also, if you can get up a link with your script in action it would hel...
- Tue Jan 13, 2004 6:51 pm
- Forum: PHP - Code
- Topic: "Get the contents from a directory" Question
- Replies: 2
- Views: 453
- Tue Jan 13, 2004 6:29 pm
- Forum: PHP - Code
- Topic: Newbie need help about PHP poll code
- Replies: 16
- Views: 1247
The errors you are getting, is as AVATAr is saying, you are refering to undefined variables. One way to fix this is to use [php_man]empty[/php_man] in an if statement. As in:
Code: Select all
<?php
if (!empty($action) AND $action == 'logout')
{
echo 'Do stuff here.';
}
?>- Tue Jan 13, 2004 3:17 pm
- Forum: PHP - Code
- Topic: Newbie need help about PHP poll code
- Replies: 16
- Views: 1247
- Fri Jan 09, 2004 10:34 pm
- Forum: PHP - Code
- Topic: HereDoc not working properly
- Replies: 9
- Views: 957
- Wed Jan 07, 2004 10:12 am
- Forum: PHP - Code
- Topic: printing the key and its value from mysql select query
- Replies: 11
- Views: 587
- Sat Jan 03, 2004 11:30 am
- Forum: PHP - Code
- Topic: Best Way
- Replies: 8
- Views: 2232
- Fri Jan 02, 2004 12:41 pm
- Forum: PHP - Code
- Topic: Show 3 columns per row
- Replies: 3
- Views: 381
- Fri Jan 02, 2004 12:20 pm
- Forum: PHP - Code
- Topic: Best Way
- Replies: 8
- Views: 2232