Jump to content

krone

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

krone's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. at work so syntax might be a little off :) 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
  2. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.