Hello everyone, anyone have any idea?
thank you
thank you
//Get any IMDB link from descr and load it into the DB under imdb
$timdb = SQL_Query_exec("SELECT descr FROM torrents WHERE id = $id");
$bang = mysqli_fetch_assoc($timdb);
$bang2 = implode(" ",$bang);
preg_match_all('/\b(https?):\/\/(www).(imdb.com)[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i', $bang2, $matches);
$urls = $matches[0];
function array_map_callback($url)
{
return mysqli_real_escape_string($GLOBALS["DBconnector"], $url);
}
array_map('array_map_callback', $urls);
foreach ($urls as $url) {
SQL_Query_exec("UPDATE `torrents` SET `imdb`= '".$url."' WHERE id = $id");
}//Get any IMDB link from descr and load it into the DB under imdb
$timdb = SQL_Query_exec("SELECT descr FROM torrents WHERE id = $id");
$bang = mysqli_fetch_assoc($timdb);
$bang2 = implode(" ",$bang);
preg_match_all('/\b(https?):\/\/(www).(imdb.com)[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i', $bang2, $matches);
$urls = $matches[0];
function array_map_callback($url)
{
return mysql_real_escape_string($url);
}
array_map('array_map_callback', $urls);
foreach ($urls as $url) {
SQL_Query_exec("UPDATE `torrents` SET `imdb`= '".$url."' WHERE id = $id");
}
<legend><b><?php echo T_("IMDB_PLOT"); ?></b></legend><?php echo $bdhaut; echo"<br>"; echo $_data->Plot; echo"<br>" ; echo $bdbas;?></fieldset></td></tr> <legend><b><?php echo T_("IMDB_PLOT"); ?></b></legend><?php echo $bdhaut; echo"<br>"; /*echo $_data->Plot;*/echo htmlspecialchars($descr['description']); echo"<br>" ; echo $bdbas;?></fieldset></td></tr>
printf('<legend><b>%s</b></legend>%s<br>%s<br>%s</fieldset></td></tr>', T_('IMDB_PLOT'), $bdhaut, $_data->Plot, $bdbas);
No users online
Torrents
Members
Online