[Plugin: ThickBox Content] Too big?
-
Hi, I’m using your plugin into a wp page that get a lot of data from a database. I put a table with data into the thickbox.
the page will show each “Link Anchor Text” only if I drop some field in the table. Why? What should I do?
here is the code:
$result = mysql_query("SELECT * FROM universita WHERE paese='" . $_GET['paese'] . "'"); if (!$result) { die('Invalid query: ' . mysql_error()); } $i = 0; while ($row = mysql_fetch_assoc($result)) { echo "[thkBC height='600' width='600' anchortext='".$row['Nome']."' title='".$row['Nome']."' type='inline' html_wrap='p' inline_id='inlinecontent".$i."']"; echo "<div id='inlinecontent".$i."'>"; echo "<table border='1' width='100%'>"; echo "<tr><td>Codice Università: </td><td>" . $row['Codice'] . "</td></tr>"; echo "<tr><td>Sede:</td><td>" . $row['Sede'] . "</td></tr>"; echo "<tr><td>Indirizzo sede:</td><td>" . $row['IndirizzoSede'] . "</td></tr>"; echo "<tr><td>Pagina WEB:</td><td> <a target=.blank href='" . $row['URL'] . "'>" . $row['URL'] . "</a></td></tr>"; echo "<tr><td>Telefono relazioni internazionali:</td><td>" . $row['RecapitoRelazioniInternazionali'] . "</td></tr>"; echo "<tr><td>Fax relazioni internazionali:</td><td>" . $row['FaxRelInt'] . "</td></tr>"; echo "<tr><td>Email relazioni internazionali:</td><td>" . $row['EmailRelazioniInternazionali'] . "</td></tr>"; echo "<tr><td>Responsabile relazioni internazionali:</td><td>" . $row['ResponsabileRelazioniInternazionali'] . "</td></tr>"; echo "<tr><td>Indirizzo relazioni internazionali:</td><td>" . $row['IndirizzoRelazioniInternazionali'] . "</td></tr>"; echo "<tr><td>Info varie:</td><td>" . $row['Info']; echo "</td></tr></table>"; echo "</div>"; $i++; } } echo "</td></tr></table>"; ?>
It works only if I comment 2 table rows (doesn’t matter wich one).
Thanks for answers!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: ThickBox Content] Too big?’ is closed to new replies.