[PHP-DB] Checking radio buttons for multiple records/Updating multiple records...

2001-07-28 Thread olinux
Ok, here is what I am trying to do. I know that it is very common. Simplified: I have a tabble of users with an AUTHORIZE field [type ENUM - Yes or No]. They sign up and once I authorize them. I pull up all of the records and display them something like this: User Name - Authorize: [] Yes [] No

RE: [PHP-DB] 2 Tables- 1 Insert Problem

2001-07-28 Thread olinux
Not possible. do this $result_1 = mysql_query($sql1) or die('Insert 1 failed'); do this $result_2 = mysql_query($sql2) or die('Insert 2 failed'); olinux -Original Message- From: Steve Fitzgerald [mailto:[EMAIL PROTECTED]] I'm trying to insert data into two separate tables using 1 INSER

RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?

2001-07-28 Thread JD Daniels
That is where I got the class originally... The url for the guys who wrote the class is here: http://www.thewebmasters.net/ They have a link right on the front page. There are actually two classes.. htgroup and htpasswd... I have put them into one file for my own use. Sorry to everyone for the

[PHP-DB] 2 Tables- 1 Insert Problem

2001-07-28 Thread Steve Fitzgerald
I'm trying to insert data into two separate tables using 1 INSERT. The code below represents a first crack at it, but I can't seem to figure out how to get this to work properly. Thanks. Steve -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-DB] Re: Record Update Link

2001-07-28 Thread Al Savage
(posted & emailed) > I seem to be having difficulty creating a hypertext link between the > results of a sql query, ie a a formated page with a contact record > (FirstName, LastName, etc.) to a page that will allow for editing. I think that I'm doing what you're trying to do. See my demo at: h

[PHP-DB] Re: Seperate a variable

2001-07-28 Thread Hugh Bothwell
"Sharmad Naik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I m extracting a variable from a dbase and assigning it as say > $var .The Value of this variable is always a/or more number/s at the begining > followed by a set of characters .I want to sepe

Re: [PHP-DB] Record Update Link

2001-07-28 Thread Richard Chauvaux
There's a good tutorial that covers the subject of creating a list of contacts with hyperlinks to edit, delete etc. at: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html It was my first intro to PHP and was extremely helpful, although if I remember right a couple of t

[PHP-DB] Warning Page Expired

2001-07-28 Thread olinux o
How do I eliminate this error when the BACK button is used? Warning Page Expired Thanks, olinux __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP Database Mailing List

[PHP-DB] Seperate a variable

2001-07-28 Thread Sharmad Naik
Hi, I m extracting a variable from a dbase and assigning it as say $var .The Value of this variable is always a/or more number/s at the begining followed by a set of characters .I want to seperate the numbers from the characters.Can anybody explain me how to say value of $var= 511T

[PHP-DB] Re: Tree Display

2001-07-28 Thread Dennis
Hi,Maybe you can use Javascript to do it.Namely,you get your menu's content from DB with PHP or others,and set its to Javascript 's array. Try it! Dennis "Sharif Islam" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am still trying to figure out how t

[PHP-DB] replace string - case insensitive

2001-07-28 Thread J- E- N
hello str_replace is case sensitive, what function should i use for case insensitive. thanks very much.

[PHP-DB] InterBase

2001-07-28 Thread Sergey Larionov
"Warning: InterBase: arithmetic exception, numeric overflow, or string truncation Cannot transliterate character between character sets in /home/larionov/public_html/base.php on line 6" How I can turn off tranliteration? ·•·•·•· Sergey Larionov-[EMAIL PROTECTED], http://larionov.akl.

[PHP-DB] Re: Problems with update und delete's

2001-07-28 Thread Ulrich Liener
the id is my primary key - is the primary automatic indexed? Uli Jeffery Cann wrote: > > It sounds like your 'id' column does not have an index. > > Jeff > > Uli wrote: > > > Hallo! > > > > Maybe you can help me with my problems. > > > > I have a html form that deletes (or updates) over a

Re: [PHP-DB] Re: function ?? SOLVED

2001-07-28 Thread phpnet
SOLVED Wrong varable! Is that as bad as spelling errors? Dave | In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] | wrote: | | > are INSERT INTO statements forbiden inside a function?? | | Assuming that you're referring to a PHP function and not a function of the | RDBMS, no it's not forbid

Re: [PHP-DB] Retrieving Rows - Can I Change The Order?

2001-07-28 Thread Thomas Lamy
> Von: Caleb Walker [mailto:[EMAIL PROTECTED]] > Gesendet: Samstag, 28. Juli 2001 08:26 > An: Dave Watkinson; PHP-MySQL List > Betreff: Re: [PHP-DB] Retrieving Rows - Can I Change The Order? > > > > > Now then, I have changed a column in the table, and the > only way I found to > > change a da

[PHP-DB] Warning: Page has Expired

2001-07-28 Thread olinux o
How can I do away with this error when the BACK button is pushed? Thanks, olinux __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP Database Mailing List (http://www.php.n

[PHP-DB] Re: function ??

2001-07-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > are INSERT INTO statements forbiden inside a function?? Assuming that you're referring to a PHP function and not a function of the RDBMS, no it's not forbidden. Show the relevant snip of code and any error messages being reported. M