Re: [PHP-DB] Need some HELP (not works)

2004-05-10 Thread Marcjon Louwersheimer
- 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

Re: [PHP-DB] another strange MYSQL problem

2004-05-08 Thread Marcjon Louwersheimer
- 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 use

[PHP-DB] From MySQL to PostgreSQL

2004-05-07 Thread Marcjon Louwersheimer
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

Re: [PHP-DB] Session

2004-04-27 Thread Marcjon Louwersheimer
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,

Re: [PHP-DB] login script

2004-04-26 Thread Marcjon Louwersheimer
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 script

Re: [PHP-DB] How to display table columns

2004-04-25 Thread Marcjon Louwersheimer
Well, you would create a table like this echo tabletrtdname/tdtdage/tdtdsex/td/tr; 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 =

Re: [PHP-DB] move_uploaded_file

2004-04-24 Thread Marcjon Louwersheimer
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

Re: [PHP-DB] How to write file store file-name to DB...

2004-04-18 Thread Marcjon Louwersheimer
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

Re: [PHP-DB] Date SELECT with IF

2004-04-15 Thread Marcjon Louwersheimer
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

Re: [PHP-DB] include function

2004-04-06 Thread Marcjon Louwersheimer
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

[PHP-DB] Impact of MySQL Queries

2004-03-12 Thread Marcjon Louwersheimer
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.

[PHP-DB] Impact of MySQL Queries

2004-03-11 Thread Marcjon Louwersheimer
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

Re: [PHP-DB] win32 Timestamp problem

2004-03-09 Thread Marcjon Louwersheimer
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. --

[PHP-DB] Forum Script

2004-03-07 Thread Marcjon Louwersheimer
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