Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
Hello Itsik,you execute the generated file on the command line. It is a PHP script that does the relevant SQL INSERT commandsrgdsOliver
I have tried it:and I got empty file and error:Creating file /tmp/device1931dMMD0LNotice: Undefined offset: 0 in /var/www/DeviceTemplate2php.php on line 128Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/DeviceTemplate2php.php on line 75Notice: Undefined offset: 0 in /var/www/DeviceTemplate2php.php on line 128Done creating file!Now the file /tmp/device1931dMMD0L needs to be executed. Please do that on the command line usingphp /tmp/device1931dMMD0L
php devic.....
<?php error_reporting(E_ALL); $link = mysql_connect("localhost","root"); mysql_select_db("pluto_main",$link); $deviceTemplateID = $newPK; print "New DeviceTemplate: " . $newPK;?>