Running a shell script in PHP how do I insert the output data to MYSQL database? : I am trying to run a shellscript from PHP inline code and the ouptut of that script should be inserted into MYSQL table. How can that be done?