On Wed, October 25, 2006 2:41 pm, Gert Cuykens wrote: > i do not get any output from mysql except form echo $bin that displays > 1 ? > <?php > exec("mysql -h hhh -u uuu -pppp <test.php",$out,$bin); > print_r($out); > echo $bin; > ?> And what does 'perror 1' tell you on the command line? Or you could go whole-hog and install this: http://l-i-e.com/perror :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php