Search found 7 matches

by indiodoido
Sun Feb 22, 2009 12:18 pm
Forum: PHP - Code
Topic: PHP & MySQL BLog
Replies: 4
Views: 168

Re: PHP & MySQL BLog

hey watson516!

that's it! that's what i'm looking for...
thanks a lot :D
by indiodoido
Sun Feb 22, 2009 10:25 am
Forum: PHP - Code
Topic: PHP & MySQL BLog
Replies: 4
Views: 168

Re: PHP & MySQL BLog

hi Citizen

Yes, i have a date and time field in my post table.
I'm really new to PHP, how do i use date("mY",$row['time']) as an array key?
by indiodoido
Sun Feb 22, 2009 10:09 am
Forum: PHP - Code
Topic: PHP & MySQL BLog
Replies: 4
Views: 168

PHP & MySQL BLog

hi, I'm thinking on developing a simple blog in PHP & MySQL. The only thing i want in the blog is the possibility to enter posts and archive them by date (month and year). I have everything planed out, but i really don't know how to organize my posts in the blog by date :( For example: Archives:...
by indiodoido
Fri May 05, 2006 1:42 pm
Forum: PHP - Code
Topic: My PHP site doesn't show the paragraphs of my database texts
Replies: 6
Views: 1264

tnx timvw, Deemo and Hurreman...

IT'S WORKING...TNX ALOT GUY'S :wink:
by indiodoido
Fri May 05, 2006 1:02 pm
Forum: PHP - Code
Topic: My PHP site doesn't show the paragraphs of my database texts
Replies: 6
Views: 1264

hi Deemo

I'm really new to php :( and i don't understand how to apply nl2br()

this is the code that gets the text from the database: <?php echo $row_rec_empresa_b['texto']; ?>
how do i apply nl2br() ?
by indiodoido
Fri May 05, 2006 12:48 pm
Forum: PHP - Code
Topic: My PHP site doesn't show the paragraphs of my database texts
Replies: 6
Views: 1264

hi timvw, tnx for the fast reply.

How do i use nl2br ?
I have a form that sends the text to the database, must i apply the nl2br in that form, or only in the php page that displays the text?
by indiodoido
Fri May 05, 2006 12:36 pm
Forum: PHP - Code
Topic: My PHP site doesn't show the paragraphs of my database texts
Replies: 6
Views: 1264

My PHP site doesn't show the paragraphs of my database texts

Hi
I’ve just developed a php page that gets texts from a mysql database and displays them on the site, but my problem is that it doesn’t show the paragraphs I make.
The texts are uploaded to the database with a form.

Can anyone help me?