[PHP] PHPTriad and php error
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. phpinfo.php which comes with the installation executes correctly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPTriad and php error
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.net/unsub.php
[PHP] mysql test and error
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 ”; $row_array = mysql_fetch_row($result); for ($j = 0; $j < mysql_num_fields($result); $j++) { echo “” . $row_array[$j] . “”; } echo “”; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] mysql test and error
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); $j++) { echo ''. $row_array[$j] . ''; } echo ''; } ?> what is the reason? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Please Help......
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 try.php.com and a default page index.php is created for that sub-domain. Thanks for advice.. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]