[PHP-DB] parse error.

2003-09-25 Thread Mücella Erdem Efe
I am a new programmer of PHP4.3.3 an MySql 3.23 . When below script is executed Parse error: parse error, unexpected T_DNUMBER in c:\program files\apache group\apache\htdocs\ilkdeneme21.php on line 17 is being seen. This may be very simple but I could not solve it.Could you help me for this

[PHP-DB] Defining relation between tables

2003-09-29 Thread Mücella Erdem Efe
Hi ; I am a new programmer of PHP4.3.3 an MySql 3.23 . In MyPhpAdmin CREATE DATABASE phpmyadmin; GRANT SELECT,INSERT,DELETE ON phpmyadmin.* to 'local host user'; enter the databasename in $cfg['Servers'][$i]['pmadb'] (this works) But the statement below dosen't work at all. CREATE

[PHP-DB] using href=abc.php/?day=......

2003-10-21 Thread Mücella Erdem Efe
Hi; I need to use a href=abc.php/?day=.. /a statement in a xxx.php file. I have to use a php variable on the right of the day variable like a href=abc.php/?day=+?echo $start_day;? /a. When i get this variable in abc.php file if (phpversion() = 4.1.0) { $vars =

[PHP-DB] Using printer in Php code

2004-02-27 Thread Mücella Erdem Efe
I use the Php 4.3.3 on WindowsXP with Apache Server I want to use $handle = printer_open(PCLAB1); statement in my php program But it does not work. Almost I have defined the extension=php_printer.dll and printer.default_printer = PCLAB1in the c:/windows/php.ini file. The error is