if ($result)
{
// echo $num. 'record inserted into database ';
//就是這一行想顯示出來,可是無法在頁面上顯示//
printf( "%c record stored in the database ",$num);
}
$link-> close();
}
請教到底怎麼回事?謝謝
------解決方案--------------------
c - the argument is treated as an integer, and presented as the character with that ASCII value.
d - the argument is treated as an integer, and presented as a (signed) decimal number.
printf( "%d record stored in the database ",$num);