Re: [PHP-DB] Need Advice on Installing PHP & MySQL on Mac OSX

2002-08-10 Thread Mario A. Salinas
Andrew, Thanks for the heads-up but it doesn't work. I first tried 'foo.php' then I also tried 'info.php' and neither worked. I copied the phpinfo(); function from your email and created your email document but it still didn't work. I then tried to re-save it as a Macintosh styled formatti

[PHP-DB] create a file (simple)

2002-08-10 Thread K. Lee
This is my first using php. I trying to do something by creating file to see the sql statement I am sending to my database. I assuming php does not have way throw up a simple message box. Anyway, if I could get this file to create that would be great. Any help would be appreciated. function wr

[PHP-DB] create file (simple)

2002-08-10 Thread K. Lee
I am new at php. I trying to debug my code. So, I am trying to print out my sql statement to a file to make sure the syntax is correct. I trying to find a way to print out to a message box or something. I guess php does not have that capability or I cannot find the function that will help me d

Re: [PHP-DB] Need Advice on Installing PHP & MySQL on Mac OSX

2002-08-10 Thread salamander
Whups, suppose I should have told you to hit http://localhost/foo.php for consistency's sake :) On Saturday, August 10, 2002, at 09:18 PM, salamander wrote: > Mario, > > Mac OS X is already running PHP and Apache - drop a file called foo.php > with these contents: in your > /Library/Webserv

Re: [PHP-DB] Need Advice on Installing PHP & MySQL on Mac OSX

2002-08-10 Thread salamander
Mario, Mac OS X is already running PHP and Apache - drop a file called foo.php with these contents: in your /Library/Webserver/Documents directory, and then hit http://localhost/info.php For MySQL - checkout the pre-compiled packages at http://www.entropy.ch - Mark has great instructions.

[PHP-DB] Need Advice on Installing PHP & MySQL on Mac OSX

2002-08-10 Thread Mario A. Salinas
Hi Everyone, My name is Mario Salinas. I'm wondering if anyone on this list has had any experience installing PHP and MySQL on a Apple Laptop running Mac OS-X. If anyone has any advice and is feeling a little generous with their time, I'd love some help. I just can't seem to find anyone th

[PHP-DB] session problem

2002-08-10 Thread Ricky
Hello everybody I'd like to make a page in which the results shown can be bookmarked by pressing a button. Actually first it checks if the session is open already ... Then it should check if the result (that comes from a query to a MySQL table) has been registered already, finally it registers

Re: [PHP-DB] best way to stare true, false

2002-08-10 Thread Raquel Rice
On Sat, 10 Aug 2002 17:41:56 +0200 "andy" <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > > > I am searching for the best way to store true or false inside > > > a MySQL DB. With best I mean the most data efficient way and > > > in the same time the best for fast searching later on the > > > t

Re: [PHP-DB] best way to stare true, false

2002-08-10 Thread andy
hmm.. thats how I am doing it right now. There might be a better way?! "Raquel Rice" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sat, 10 Aug 2002 16:46:54 +0200 > "andy" <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > I am searching for the

Re: [PHP-DB] best way to stare true, false

2002-08-10 Thread Raquel Rice
On Sat, 10 Aug 2002 16:46:54 +0200 "andy" <[EMAIL PROTECTED]> wrote: > Hi there, > > I am searching for the best way to store true or false inside a > MySQL DB. With best I mean the most data efficient way and in the > same time the best for fast searching later on the table to find > all which

[PHP-DB] best way to stare true, false

2002-08-10 Thread andy
Hi there, I am searching for the best way to store true or false inside a MySQL DB. With best I mean the most data efficient way and in the same time the best for fast searching later on the table to find all which are false, or true. I think I did read something about a way to do this with ENUM,

Re: [PHP-DB] Ranking in MySQL

2002-08-10 Thread DL Neil
David, I have a MySQL table called images, each with a rating from 1-10. The column is a decimal(10,2). For simplicity's sake, let's say i have the following: CREATE TABLE images ( image_id int not null auto_increment, image_path varchar(255) not null, rating decimal(10,2) not null, prim

Re: [PHP-DB] Tutorials

2002-08-10 Thread Dejan Rajic
This is CorpseEater's reply on your message send to him on 8/10/2002 : I think this is all you need : http://www.mysql.com/articles/ddws/ It's great tutorial - it starts from topics such as 'Installing php & mysql under win and linux' and goes all the way up to advanced sql and advanced php