更新时间:2023-12-04 13:57:46
_GET [ submitannouncements])== GET)
{
arry = explode( \ r \\ n,
_GET [ 'announcementtext']);
for(
I was able to do this with a regular textarea, using PHP explode:
if (isset($_GET["submitannouncements"]) == "GET")
{
$arry=explode( "\r\n, $_GET['announcementtext']);
for ($i = 0; $i < 5; $i++)
{
$sql = "UPDATE tblannounce SET content = '".addslashes($arry[$i])."' WHERE id = ".++$i;
mysqli_query($conn, $sql);
}
}
How can I possibly do this if I'm now using tinyMCE?
_GET["submitannouncements"]) == "GET") {
arry=explode( "\r\n,
_GET['announcementtext']); for (