I have a simple little script that displays news articles that are stored in
mySQL database.
However, when the script displays the data, it doesn't recognize the
returns/enters. So I have to put when ever I want a new paragraph
to begin.
How can I get my script to recognize the returns? is there
ED]> wrote in message
news:[EMAIL PROTECTED]
> nl2br()
>
> Chris Mach wrote:
> > I have a simple little script that displays news articles that are
stored in
> > mySQL database.
> >
> > However, when the script displays the data, it doesn't recognize th
Does date() give the local time of the Server? or is it based on something
else?
Because I have this code:
echo date ("F n, Y");
and it should say November 14, 2003 but it echos November 11, 2003. 3 days
behind.
Is the date wrong on the server? or is this something I can fix?
--
PHP General M
Greetings,
I'm working on a project that involves a password protected area of a
website. Some one also involved brought up the point that this area should
be secure (Whit the lock icon indicating it is encrypted).
In this particular project the password protected area will be a quote
generating
What is the best way to determine if a variable is empty?
I have a feeling there is a better way than the way I'm doing it now...
if ($variable == "")
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - R
I want to compare a timestamp in my database with the current time. I want to be able
to tell if the timestamp is within 5 mins of the current time. How would I do this?
Please?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.70
How would I check if a variable has special characters in it like [EMAIL PROTECTED]
etc ?
and give an error if it contains one of them.
I have this query to select the date from my table...
SELECT DATE_FORMAT(date1, '%W %M %Y') FROM table
How do I know what name mysql_fetch_array assigned to the date_format ?
8 matches
Mail list logo