Hi,
I try to use PHP on my Win98 PC. It is mainly running but there is a
problem:
When I want to submit variables in the url
(http://localhost/script.php?var=xy),
the script will not know them and show me the message "Notice: undefined
variable var ..."

Conditions which depend on var will not work.

I thougt that perhaps there has something to be enabled in php.ini - but
couldn't find anything.


The next problem, which is perhaps connected to the first:
When using something like:
  while ($row = mysql_fetch_array($result)) {
   $name = $row[name]; }

I get the message:
    "Notice: Use of undefined constant name - assumed 'name' in ..."

It is working and can be suppressed by not let php show the warnings - but
I'm surprised about it.


Has anybody the right hint for me?

Uwe

PS.: Those scripts run very well when used on the webserver - but not at
home.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to