Hi Uchendu!
Yes, this is very possible! Here are a few things that come to mind.
There are of course many ways to do this :
To check the existance of a variable, consider isset() as it checks for
the existance of a variable :
if (isset($HTTP_GET_VARS['images']))
Maybe set some default val
OK, I have a problem calling a function using default variables.
In 'gallery.inc':
-
function gallery ($filename, $first = 1, $tablewidth = 4, $total = 20) {
echo "Filename: $filename, First image: $first, Table Width:
$tablewidth, Total: $total";
}
---
2 matches
Mail list logo