krone
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by krone
-
-
Hi.
ive just started creating a forum.. for inserting post/thread. it does not read carriage returns. is there a function that i can use that will read carriage returns and put it in mySql accordingly?
the forum post/thread elements are "TEXT" data type in mySql.
eg.
if i post
one
two
three
it comes out in the post as "one two three"
;D cheeers
dispalying images from your server folder???? Help Please
in PHP Coding Help
Posted
in half psuedo (cus im lazy)
<?php
$path = /somepath/path
$img = array{'imgName1', 'imgName2'....};
for (blah... { ?>
<td>blah <img src = '<?php echo $img[$i]; ?>.jpg'> </td>
// just echo the names of the images... if ur unique id is incremental u like.. 1, 2, 3
no need for an $img arraay. just use echo $i where $i = 1 and $i++ in ur for loop
?>
hope thats what u wanted