Re: [PHP] mysql test and error

2008-02-24 Thread hE
The following program gave the error: "Parse error: parse error in C:\apache\htdocs\mysqltest.php on line 10" Test MySQL Error ' . mysql_errno() . ': '. mysql_error() . ''; else { ?> Variable_nameValue '; $row_array = mysql_fetch_row($result); for ($j = 0; $j < mysql_num_fields($result);

[PHP] mysql test and error

2008-02-24 Thread hE
hi, I found an e-book in the net about php and mysql and with its sample program I am trying to test whether I have mysql working correctly or not. the following program gives error message. why? Test MySQL Error “ . mysql_errno() . “: “ . mysql_error() . “”; else { ?> Variable_nameValue

Re: [PHP] PHPTriad and php error

2008-02-24 Thread hE
thanks for the help. I am a C/C++ programmer and decide to learn php and mysql to develop web pages. is it the correct place to ask questions similar to this? or is there any other group suitable for this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] PHPTriad and php error

2008-02-24 Thread hE
hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error "Parse error: parse error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10" PHP Test This is an HTML line what is the reason? p.s. phpi

[PHP] Please Help......

2001-06-29 Thread Man He
Hi all, Can anybody give me a guideline or idea on how to write a PHP scriot which is used to create a domain or sub-domain and a default page and a same time. My OS is Red Hat Linux 6.1. For example, in my program, when i press "activate' button, the script will create me a sub-domain