RE: [PHP-DB] sessions in PHP

2001-09-24 Thread Dave Watkinson
http://www.php.net/session -Original Message- From: nirat [mailto:[EMAIL PROTECTED]] Sent: 25 September 2001 06:46 To: [EMAIL PROTECTED] Subject: [PHP-DB] sessions in PHP can anyone guide me to using sessions in PHP i've tried it a lot of times but its not working. any help tutorials

[PHP-DB] sessions in PHP

2001-09-24 Thread nirat
can anyone guide me to using sessions in PHP i've tried it a lot of times but its not working. any help tutorials would be helpful... -- Nirat -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

RE: [PHP-DB] Multiple lines in database.

2001-09-24 Thread Beau Lebens
print the results using nl2br($stuff) which converts new lines (nl) to (2) breaks (br) in html () // -Original Message- // From: Chris Soyars [mailto:[EMAIL PROTECTED]] // Sent: Tuesday, 25 September 2001 10:04 AM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] Multiple lines in database. /

[PHP-DB] Re: Multiple lines in database.

2001-09-24 Thread Hugh Bothwell
"Chris Soyars" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ok I need to beable to print to HTML each line on its own > > right now I would have in the database: > A > B > C > D > > and it will print A B C D > > Help! Need this for school. Um, maybe? -

[PHP-DB] Multiple lines in database.

2001-09-24 Thread Chris Soyars
Ok I need to beable to print to HTML each line on its own right now I would have in the database: A B C D and it will print A B C D Help! Need this for school. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: [PHP-DB] Individual Lines of text

2001-09-24 Thread Beau Lebens
or you can fopen() the text file, then fgetcsv() each line, using "," as a separator, which is just a neat, clean way of doing explodes :) enjoy beau // -Original Message- // From: Andreas D. Landmark [mailto:[EMAIL PROTECTED]] // Sent: Tuesday, 25 September 2001 8:27 AM // To: [EMAIL PR

Re: [PHP-DB] Individual Lines of text

2001-09-24 Thread Andreas D. Landmark
At 25.09.2001 01:19, Devon wrote: >I am pulling down data from a switch which looks like > >Port 1, 33889029532 >Port 2, 0 >Port 3, 135852 >Port 4, 6652941243 >etc etc > >I need to know if it is possible with PHP to write a script that will pull >the individual lines of this text file and store th

[PHP-DB] Individual Lines of text

2001-09-24 Thread Devon
I am pulling down data from a switch which looks like Port 1, 33889029532 Port 2, 0 Port 3, 135852 Port 4, 6652941243 etc etc I need to know if it is possible with PHP to write a script that will pull the individual lines of this text file and store them into a mysql database line by line. Chee

RE: [PHP-DB] Grant statement

2001-09-24 Thread Jason Wong
>Subject: [PHP-DB] Grant statement > > >GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP > ON database_name.* > TO username@localhost > IDENTIFIED BY 'password'; > > > do i write this is my php file??? >and is this its right syntax just put it like this??as i know i >pu

RE: [PHP-DB] Grant statement

2001-09-24 Thread Rick Emery
no, if all you wan the user to do is to read/write data -Original Message- From: its me [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 5:03 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Grant statement GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON database_name.*

[PHP-DB] Problems with MSSQL

2001-09-24 Thread James Cornman
Hello. I'm have PHP 4.0.6 compiled as a DSO module for Apache. From the command line (with the same ./configure line, with out the --with-apxs paramater) it runs fine, but from the web, it is unable to connect to my MSSQL server. I've configured php --with-sybase=/usr/local/freetds. I've tried cha

[PHP-DB] crosstab for MS SQL

2001-09-24 Thread Sommai Fongnamthip
Hi, MySQL has a method to write Crosstab method but It can't use with MS SQL. Did someone know how to write SQL statement for make cross tab with MS SQL 6.5 (both ODBC and TDS connection)? Thank you SF -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP-DB] adding the results of a number of calls to mysql_query

2001-09-24 Thread Cable, Christian
thanks for the idea but it was a bit too of a headache in my case as I was generating the sql statement in a messy way tho lots of bits of code. Reading an oracle book I came across unions and that has led me onto what I think will solve my prob merged tables I'm going try create table alltables

[PHP-DB] Grant statement

2001-09-24 Thread its me
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON database_name.* TO username@localhost IDENTIFIED BY 'password'; do i write this is my php file??? and is this its right syntax just put it like this??as i know i put like this when using the command line..but in

[PHP-DB] Re: Not so relative but important...

2001-09-24 Thread Geir Eivind Mork
Koutsogiannopoulos Karolos wrote: > What i want to do is when i have a pdf or doc file ... using a special > header, when clicking the file > the page to download the file and not opening it as usual.. > Is tha possible??? just use header header ("Content-Type: mimetype"); This is a nice list

Re: [PHP-DB] adding the results of a number of calls to mysql_query

2001-09-24 Thread Russ Michell
If I have the right end of the stick you want: SELECT * FROM table99_98,table00_01 WHERE table99_98.foo='$bar' AND table00_01.foo='$bar'; Russ On Mon, 24 Sep 2001 10:50:02 +0100 "Cable, Christian" <[EMAIL PROTECTED]> wrote: > system: > win NT4 server (IIS4, php4) > > Problem: > I'm writing

[PHP-DB] adding the results of a number of calls to mysql_query

2001-09-24 Thread Cable, Christian
system: win NT4 server (IIS4, php4) Problem: I'm writing a web front end to an old in house access database with tables split over years (rather than the row having what year it's in) i.e. table00_01 table 99_98 etc etc ideally I'd like to run the same query against each table and the fetch ro

[PHP-DB] Solved! -- Buuuuttt.

2001-09-24 Thread Jason Caldwell
In the PHP.INI file I had to set REGISTER_GLOBALS = off The Vars are registering -- but not with an INCLUDE file or FUNCTION plus, my INPUT tag data (vars) aren't coming over... What the #%#^ is go'in? Very frustrating any help would be greatly appreciated. Thanks Jason "Jason Caldw