|
Not logged in [Login - Register] |
You Are Not Registered Or Not Logged In |
Corsa Sport » Message Board » Off Day » Geek Day » PHP/HTML » Post Reply
|
liamC |
posted on 24th Jan 07 at 17:32 |
yay! Thanks very much for your help mate - much appreciated!!! | |
James |
posted on 24th Jan 07 at 17:26 |
You can apply any HTML styles to it just as you would anything else by echo-ing out the HTML | |
James |
posted on 24th Jan 07 at 17:24 |
Bold - Put echo "<b>"; before the text and echo "</b>"; after | |
James |
posted on 24th Jan 07 at 17:21 |
oops might need the <br /> in speech marks. | |
James |
posted on 24th Jan 07 at 17:21 |
echo <br />; | |
liamC |
posted on 24th Jan 07 at 17:20 |
I love you James :D | |
James |
posted on 24th Jan 07 at 17:13 |
I would set a flag, say call the field "AdvertId" or something. Give it 1, 2, 3, 4 etc and then put "Where AdvertId = 3" etc on the end of the select. | |
liamC |
posted on 24th Jan 07 at 17:12 |
OK...another one. code: Each field has 4 rows. How would I get the PHP to only select the top row, or the third row etc? [Edited on 24-01-2007 by liamC] | |
liamC |
posted on 24th Jan 07 at 16:51 |
Nevermind, sorted it! :D code: change it to code: Cheers for your help James/aPk for the help. Wasn't so hard at all :) | |
liamC |
posted on 24th Jan 07 at 16:45 |
OK, getting there eventually. code: I get the following error: code: Any ideas where I'm going wrong? [Edited on 24-01-2007 by liamC] | |
liamC |
posted on 24th Jan 07 at 15:47 |
Cheers. | |
AndyKent |
posted on 24th Jan 07 at 15:26 |
just SELECT the text out of the database (into a $var) and then echo it out again - simple... | |
liamC |
posted on 24th Jan 07 at 15:21 |
Is this hard to do mate? | |
James |
posted on 24th Jan 07 at 15:18 |
Store the text of each one in a database. | |
liamC |
posted on 24th Jan 07 at 15:17 |
Right...just a thought/idea if anyone has any how to do this, or if it is possible. |