Hello friends.
I am currently trying to develop a forum system. All is going well, but I
was wondering if there woud be a way to do something that I'm already
doing that might be more efficient. First I'll give you some
background...
I am using php 4 and mysql 4.
I have a database setup, and I hav
Not sure if this'll help you, but I like to store my dates/times using
this format: date("Y-m-d H:i:s") It's always a 19 character string, so
you could use the substr function to get different parts of the date.
substr(date("Y-m-d H:i:s"),0,4) would get the year, for example. Hope
this helps.
--
I have IIS 4.x and MySQL running on the same machine. So do queries use
up bandwidth? Does it matter if I have 20 queries per page? Will that
slow it down if many people started using my site? Currently only I, and
some friends for testing, use it.
--
Marcjon
--
PHP Database Mailing List (http
I'm working on a forum. When
it displays a forum index, it gets all the topics and depending on the
offset, displays only ten at a time. Now that's a single query. But
problem comes when I display how many replies each post has. So far, when
it does the while loop, it does a query for each item. He
did you make sure the previous line had a ; at the end? Check that first.
- Original message -
From: "Craig Hoffman" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Tue, 6 Apr 2004 22:24:27 -0500
Subject: [PHP-DB] include function
Someone tell me why this isn't working? I keep getting a
try the WHERE clause.
SELECT name, address, phone, date FROM usertable WHERE date =
'-00-00'
And please, look at the mysql documentation, or at least the tutorial.
--
Marcjon
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://ca2.php.net/manual/en/ref.filesystem.php
Look here for write or fwrite. That should be what you want.
--
Marcjon
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/^[A-Za-z ]+$/
Add any characters between the []. Though I think you'id need to use an
escape character like \-. Not sure, try it out.
--
Marcjon
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Windows works a bit different. You have to define which folders and files
get access to the internet. After that you can specify the web
permissions using the iis snap in. This is of course if you're using iis.
I'm not sure for apache or other servers handle it.
--
Marcjon
--
PHP Database Mail
- Original message -
From: "Adam Farid" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon, 10 May 2004 19:54:51 +
Subject: [PHP-DB] Need some HELP (not works)
Thanks pepole.
I've tried but still does not work.
when I put the varaibles name between ' '
I found this error:
Parse
Hi. I developed a forum using php5 and mysql. Right now I'm hosting it on
my computer, for version for myself and another for a school I volunteer
at. I would like to move the forums to the school's server. Apperently
they don't have MySQL, they have PostgreSQL. I was just wondering, how
much like
- Original message -
From: [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Date: Sat, 8 May 2004 23:23:05 +0300
Subject: [PHP-DB] another strange MYSQL problem
Hello,
First, I use this, and all is ok:
SELECT * FROM modele WHERE marca='Aprilia' ORDER BY tip ASC.
Then, I
Well, you would create a table like this
echo "nameagesex";
Then, you would do a query (assuming you've already made a connection to
your database)...
$result = mysql_query("SELECT name,age,sex FROM database.usertable");
Then, run through the results...
while ($row = mysql_fetch_assoc($result)
This is kind of a big thing. Email me and I'll give you instructions/tips
on making it.
- Original message -
From: "andy amol" <[EMAIL PROTECTED]>
To: "php php" <[EMAIL PROTECTED]>
Date: Mon, 26 Apr 2004 17:15:27 -0700 (PDT)
Subject: [PHP-DB] login script
hi,
does anyone have a login s
Do you mean a new browser window or a new browser? Like using IE first
and then netscape? If it's the latter, it wont be saved. It generates a
new session ID and wont use the same session as the first browser.
--
Marcjon
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
15 matches
Mail list logo