Hi!
When I display the entire results from a database table (mySQL), for some reason the 1st line is left out. My code is:
<?php
include_once ("dbc.php");
$sql=@mysql_query ("SELECT * FROM `my_desc`");
$row=mysql_fetch_array($sql);
$num_rows=mysql_num_rows($sql);
if ($num_rows < 0)
{...
Hi
The reason the table html is stored in a database field is because the table structure must be editable in our content management system. The only glitch is the variable included in the table does not display.
Hi
I have the following code stored in FIELD2 in a database (mySQL):
<table width="100%" height="200px">
<tr>
<td><?php echo($display["FIELD1"]); ?></td>
<td> </td>
</tr>
</table>
In my script I have the following code:
<?php
while ($display = mysql_fetch_array($data)) {...
Hi All
I need to do the following in javascript:
I have a text field with a "format" button. When the button is clicked a
popup opens with say 3 checkbox options: paragraph, bold, underline. The user can then enter
text in the text box and apply formatting to the text entered. When the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.