Re: [PHP] Update mailing list docs - How to unsubscribe?

2012-01-23 Thread Geoff Shang
On Mon, 23 Jan 2012, Matty Sarro wrote: I have been trying to unsubscribe from this list. I've gone through the directions at http://www.ezmlm.org/ezman/ezman1.html as suggested by http://us.php.net/mailing-lists.php. They don't seem to apply for these lists as written (the method listed for uns

[PHP] Update mailing list docs - How to unsubscribe?

2012-01-23 Thread Matty Sarro
Hey everyone, I have been trying to unsubscribe from this list. I've gone through the directions at http://www.ezmlm.org/ezman/ezman1.html as suggested by http://us.php.net/mailing-lists.php. They don't seem to apply for these lists as written (the method listed for unsubscribing involves sending a

Re: [PHP] update von php 4.4.6 zu 5.2.8

2009-01-12 Thread Chris
Merlin Morgenstern wrote: Hello everybody, I want to upgrade my system and do face some trouble with pdflib. compile says: Notice: Following unknown configure options were used: --enable-gd-imgstrttf --with-pdflib I guess the gd functionality is enabled now anyway? How about the pdflib? Is

[PHP] update von php 4.4.6 zu 5.2.8

2009-01-12 Thread Merlin Morgenstern
Hello everybody, I want to upgrade my system and do face some trouble with pdflib. compile says: Notice: Following unknown configure options were used: --enable-gd-imgstrttf --with-pdflib I guess the gd functionality is enabled now anyway? How about the pdflib? Is there another command for t

Re: [PHP] Update does not work...but no errors either

2008-05-31 Thread Ryan S
Hey DB, Thanks for replying, I did solve it though was running a lot of tests and checking a lot of stuff with the fill before i finally added the database stuff... but forgot to include() the connection file :) Thanks for writing though! Cheers! R -- PHP General Mailing List (ht

Re: [PHP] Update does not work...but no errors either

2008-05-31 Thread Daniel Brown
On Sat, May 31, 2008 at 4:23 AM, Ryan S <[EMAIL PROTECTED]> wrote: > > > Hey, > > This is my code: > == > $update_sql="update greetings_final set > heading='$heading',message='$message',signature='$signature',font_size='$font_size',font_

[PHP] Update does not work...but no errors either

2008-05-31 Thread Ryan S
Hey, This is my code: == $update_sql="update greetings_final set heading='$heading',message='$message',signature='$signature',font_size='$font_size',font_color='$font_color',bg_color='$bg_color' where temp_cno='".$thecno."' and rand

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Lori Lay
Marcelo Wolfgang wrote: and what if $_GET['id'] is something like "1; DROP TABLE tb_emails;" ?? SQL injection just waits to happen Something I just thought, he could do a drop table inside an update statement ? because the query is : UPDATE tb_emails SET bol_active = $action WHERE auto_id

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Marcelo Wolfgang
and what if $_GET['id'] is something like "1; DROP TABLE tb_emails;" ?? SQL injection just waits to happen Something I just thought, he could do a drop table inside an update statement ? because the query is : UPDATE tb_emails SET bol_active = $action WHERE auto_id = $id so if he changed t

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Zoltán Németh
2007. 04. 11, szerda keltezéssel 17.36-kor Marcelo Wolfgang ezt írta: > > and what if $_GET['id'] is something like > > "1; DROP TABLE tb_emails;" > > ?? > > > > SQL injection just waits to happen > > I think tha tit will be too much of a hacker effort just to kill a table > of contact emails,

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Lori Lay
Marcelo Wolfgang wrote: and what if $_GET['id'] is something like "1; DROP TABLE tb_emails;" ?? SQL injection just waits to happen I think tha tit will be too much of a hacker effort just to kill a table of contact emails, and also he will have to guess ( is there other way ? ) the table na

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Marcelo Wolfgang
and what if $_GET['id'] is something like "1; DROP TABLE tb_emails;" ?? SQL injection just waits to happen I think tha tit will be too much of a hacker effort just to kill a table of contact emails, and also he will have to guess ( is there other way ? ) the table name, but just to be on a s

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Zoltán Németh
2007. 04. 11, szerda keltezéssel 16.57-kor Fredrik Thunberg ezt írta: > marcelo Wolfgang skrev: > > Hi all, > > > > I'm new to this list and new to php programming so sorry if I do > > something wrong here :) > > > > Ok, now to my problem. > > > > I've created a query to update a mysql db, and

Re: [PHP] UPDATE and redirect

2007-04-11 Thread marcelo Wolfgang
Hi, It's fixed, I think the problem where at the '==' ... I have to remember that in PHP this is like ActionScript. Also, what if $_GET['act'] is neither 'a' or 'd'? Again, what if $_GET['id'] is null? The only way to not be 'a' or 'd' or to be null is if someone mess with url, which shoul

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Fredrik Thunberg
marcelo Wolfgang skrev: Hi all, I'm new to this list and new to php programming so sorry if I do something wrong here :) Ok, now to my problem. I've created a query to update a mysql db, and it isn't working, and it's not throwing me any errors, so I need some help to figure out what's wro

Re: [PHP] UPDATE and redirect

2007-04-11 Thread Brad Bonkoski
marcelo Wolfgang wrote: Hi all, I'm new to this list and new to php programming so sorry if I do something wrong here :) Ok, now to my problem. I've created a query to update a mysql db, and it isn't working, and it's not throwing me any errors, so I need some help to figure out what's wro

[PHP] UPDATE and redirect

2007-04-11 Thread marcelo Wolfgang
Hi all, I'm new to this list and new to php programming so sorry if I do something wrong here :) Ok, now to my problem. I've created a query to update a mysql db, and it isn't working, and it's not throwing me any errors, so I need some help to figure out what's wrong here. My code follows

Re: [PHP] Update function for content of existing CD?

2006-11-17 Thread Jochem Maas
Frank Arensmeier wrote: > Hello all. > > I am looking for some ideas on how to design / structure a script which > checks for updates on files on a existing CD ROM. > > Every week, I generate content for a CD ROM containing a large number of > html pages and PDF files (the CD is distributed to 20

[PHP] Update function for content of existing CD?

2006-11-17 Thread Frank Arensmeier
Hello all. I am looking for some ideas on how to design / structure a script which checks for updates on files on a existing CD ROM. Every week, I generate content for a CD ROM containing a large number of html pages and PDF files (the CD is distributed to 20 - 30 dealers for ours) . The

Re: [PHP] Update or add?

2006-07-02 Thread Chris
Brian Dunning wrote: I have a table where I want to update each record with today's date as it's hit, or add the record if it's not in there: +--+-++ | id | creation_date | last_hit | +--+-++ I'm trying to do this with a min

Re: [PHP] Update or add?

2006-06-30 Thread Venkat Venkataraju
Hi All, there is not-so-used format of SQL format that is INSERT INTO table SET col1=data1, col2=data2... ON DUPLICATE KEY UPDATE col1=data1, col2=data2...; you have to define a primary or unique key in the table and all will work well. for more info http://dev.mysql.com/doc/refman/4.1/en/

Re: [PHP] Update or add?

2006-06-30 Thread Paul Nowosielski
Good advice , Thank you! -- Paul Nowosielski Webmaster On Friday 30 June 2006 15:45, Adam Zey wrote: > Paul Nowosielski wrote: > > On Friday 30 June 2006 14:37, Brian Dunning wrote: > >> I have a table where I want to update each record with today's date > >> as it's hit, or add the record if

Re: [PHP] Update or add?

2006-06-30 Thread Adam Zey
Paul Nowosielski wrote: On Friday 30 June 2006 14:37, Brian Dunning wrote: I have a table where I want to update each record with today's date as it's hit, or add the record if it's not in there: +--+-++ | id | creation_date | last_hit | +--+-

Re: [PHP] Update or add?

2006-06-30 Thread Paul Nowosielski
On Friday 30 June 2006 14:37, Brian Dunning wrote: > I have a table where I want to update each record with today's date > as it's hit, or add the record if it's not in there: > > +--+-++ > > | id | creation_date | last_hit | > > +--+-+-

RE: [PHP] Update or add?

2006-06-30 Thread Jim Moseby
> > I have a table where I want to update each record with today's date > as it's hit, or add the record if it's not in there: > > +--+-++ > | id | creation_date | last_hit | > +--+-++ > > I'm trying to do this with a minimu

[PHP] Update or add?

2006-06-30 Thread Brian Dunning
I have a table where I want to update each record with today's date as it's hit, or add the record if it's not in there: +--+-++ | id | creation_date | last_hit | +--+-++ I'm trying to do this with a minimum of hits to the d

Re: [PHP] Update site through email

2006-06-29 Thread John Nichel
Nathanael Merrill wrote: I will be on vacation from June 26th through July 17th. I will have limited access to email and will get back to you as soon as I can. Thank you. - nathanael merrill You just made the list Nathanael. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Ho

Re: [PHP] Update site through email

2006-06-29 Thread John Nichel
Jim Moseby wrote: Hy guys I'd like to know if there is a way to update a site through sending an email. Something like this, you send an email and the body of the email substitutes a text you use in your site. Igreat apreciate any help since I couldn't find anything on this topic. How much time

Re: [PHP] Update site through email

2006-06-29 Thread KermodeBear
Hello, At my last job there were several companies that would send us text invoices by email. These email accounts were on a Linux box, and when the mail would come in the message was sent to scripts via STDIN. I'm not sure HOW it was done but I know that it CAN be done. I would be concerned abou

RE: [PHP] Update site through email

2006-06-29 Thread Jim Moseby
> > Hy guys I'd like to know if there is a way to update a site through > sending an email. Something like this, you send an email and the body > of the email substitutes a text you use in your site. Igreat apreciate > any help since I couldn't find anything on this topic. How much time did you s

[PHP] Update site through email

2006-06-29 Thread Rodrigo de Oliveira Costa
Hy guys I'd like to know if there is a way to update a site through sending an email. Something like this, you send an email and the body of the email substitutes a text you use in your site. Igreat apreciate any help since I couldn't find anything on this topic. Thanks, doRodrigo -- PHP General

Re: [PHP] Update table to get consecutive Primary keys

2006-06-08 Thread Larry Garfield
On Thursday 08 June 2006 23:58, Antonio Bassinger wrote: > Hi All! > > I've a MySQL table: > > table (id INT NOT NULL AUTO_INCREMENT, > flag TINYINT NOT NULL, > msgID VARCHAR(30) NOT NULL, >

Re: [PHP] Update table to get consecutive Primary keys

2006-06-08 Thread Chris
Antonio Bassinger wrote: Hi All! I've a MySQL table: table (id INT NOT NULL AUTO_INCREMENT, flag TINYINT NOT NULL, msgID VARCHAR(30) NOT NULL, msgName VARCHAR(30),

[PHP] Update table to get consecutive Primary keys

2006-06-08 Thread Antonio Bassinger
Hi All! I've a MySQL table: table (id INT NOT NULL AUTO_INCREMENT, flag TINYINT NOT NULL, msgID VARCHAR(30) NOT NULL, msgName VARCHAR(30), size INT NOT NULL

[PHP] Update: That is to say PHP.INI, not WIN.INI

2006-05-10 Thread Jeremy C O'Connor
phpEditIni project. That is to say PHP.INI, not WIN.INI -- net07350 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] update page n display

2005-09-28 Thread hope
i have a text area on my page. As page is uploaded it displays certain text in it. It has also has a text area with same text that is being displayed above in the page . If user changes this text of text area n presses submit button the page needs to display updated text in the text area and as

Re: [PHP] update blues

2005-05-21 Thread Brian V Bonini
On Fri, 2005-05-20 at 23:54, Jim & Sara Feldman wrote: > Warning: session_start(): Cannot send session cookie - headers > already sent by (output started at > /Library/WebServer/Documents/testit/Logsafe_project/db_fns.php:212) > in /Library/WebServer/Documents/testit/Logsafe_project/member.php o

Re: [PHP] update blues

2005-05-21 Thread Marek Kilimajer
Jim & Sara Feldman wrote: Hi: I have a partially finished app using PHP and MySQL that runs on Mac G4 running System 10.3.9. Undoubtedly, I upgraded too many things all at the same time. Something broke. PHP and MySQL are both running. I can use the latest phpMyADMIN and everything is there

[PHP] update blues

2005-05-20 Thread Jim & Sara Feldman
Hi: I have a partially finished app using PHP and MySQL that runs on Mac G4 running System 10.3.9. Undoubtedly, I upgraded too many things all at the same time. Something broke. PHP and MySQL are both running. I can use the latest phpMyADMIN and everything is there in the database, so that s

[PHP] Update XML

2005-04-11 Thread Stefan
Hi NG! I've a problem in updating an XML-Node value. How can I change the value of an XML node? Thanks in Advance Stefan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Update db with $_POST

2005-03-16 Thread Danny Brow
On Wed, 2005-03-16 at 16:50 +1000, Ligaya Turmelle wrote: > assuming you are using PEAR DB - > > $result =& $db->query("UPDATE items SET (item_name, item_desc, > item_price, extraprice) VALUES (?,?,?,?) WHERE item_id = 3", > array($_POST['title'], $_POST['description'], $_POST['price'], > $_PO

Re: [PHP] Update db with $_POST

2005-03-15 Thread Ligaya Turmelle
assuming you are using PEAR DB - $result =& $db->query("UPDATE items SET (item_name, item_desc, item_price, extraprice) VALUES (?,?,?,?) WHERE item_id = 3", array($_POST['title'], $_POST['description'], $_POST['price'], $_POST['extraprice'])); if (PEAR::isError($result)) { echo "Error: There

[PHP] Update db with $_POST

2005-03-15 Thread Danny Brow
I'm trying to update some form data with this db update query and it's not working, I'm not getting an error either. $db->query("UPDATE items SET item_name = $_POST[title], item_desc = $_POST[description], item_price = $_POST[price], extraprice = $_POST[extraprice] WHERE item_id = 3"); & I've t

Re: [PHP] update of mysql to 4.1

2005-03-02 Thread Joe Wollard
Peter, I have done this on redhat 7 using an rpm to go from mysql 3.x to 4.x beta in the past and it worked fine without recompiling php. Of course I would try to test this on a non-production server first in case of any serious problems. If you do have to recompile php for some reason don't fo

Re: [PHP] update of mysql to 4.x

2005-03-02 Thread John Nichel
Peter wrote: sorry, i googled again, read nearly every post wich containes mysql and upgrade but i can't find a useful answer in this list. perhaps its me... so my question is still the same, would i have to recompile php or not peter @NG what means need? nobody needs an internet,using mysql4 wou

Re: [PHP] update of mysql to 4.x

2005-03-02 Thread Marek Kilimajer
Peter wrote: sorry, i googled again, read nearly every post wich containes mysql and upgrade but i can't find a useful answer in this list. perhaps its me... so my question is still the same, would i have to recompile php or not No, you don't. However, mysql >= 4.1 uses new authentication protoco

Re: [PHP] update of mysql to 4.x

2005-03-02 Thread Peter
sorry, i googled again, read nearly every post wich containes mysql and upgrade but i can't find a useful answer in this list. perhaps its me... so my question is still the same, would i have to recompile php or not peter @NG what means need? nobody needs an internet,using mysql4 would just makes

Re: [PHP] update of mysql to 4.x

2005-03-02 Thread John Nichel
Peter wrote: Hi, i'm thinking of updating my mysql-server from 3.23 to 4.1.10, and i can't find any serious information if i would have to rebuild php too. anybody tryed this already?? system: debian linux, apache 1.3.31, php 4.3.9, mysql 3.23.52 thanks peter Please don't spam the list with multi

[PHP] update of mysql to 4.x

2005-03-02 Thread Peter
Hi, i'm thinking of updating my mysql-server from 3.23 to 4.1.10, and i can't find any serious information if i would have to rebuild php too. anybody tryed this already?? system: debian linux, apache 1.3.31, php 4.3.9, mysql 3.23.52 thanks peter -- PHP General Mailing List (http://www.php.net/)

[PHP] update of mysql to 4.1

2005-03-02 Thread Peter
Hi, i'm thinking of updating my mysql-server from 3.23 to 4.1.10, and i can't find any serious information if i would have to rebuild php too. anybody tryed this already?? system: debian linux, apache 1.3.31, php 4.3.9, mysql 3.23.52 thanks peter -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] UPDATE

2004-12-20 Thread John Hicks
Steve Marquez wrote: I am trying to insert information into the database, have it automatically place an ID Number, then update that particular record and replace the word "delete" with the link. The "mysql_insert_id()" does seem to be working. It does put in an id number of "0" However, the code i

Re: [PHP] UPDATE

2004-12-15 Thread Greg Donald
On Wed, 15 Dec 2004 10:10:22 -0600, Steve Marquez <[EMAIL PROTECTED]> wrote: > I am trying to insert information into the database, have it automatically > place an ID Number, then update that particular record and replace the word > "delete" with the link. `delete` is a reserved word. Try wrappi

Re: [PHP] UPDATE

2004-12-15 Thread R'twick Niceorgaw
Quoting Steve Marquez <[EMAIL PROTECTED]>: > I am trying to insert information into the database, have it automatically > place an ID Number, then update that particular record and replace the word > "delete" with the link. > > The "mysql_insert_id()" does seem to be working. It does put in an id

[PHP] UPDATE

2004-12-15 Thread Steve Marquez
I am trying to insert information into the database, have it automatically place an ID Number, then update that particular record and replace the word "delete" with the link. The "mysql_insert_id()" does seem to be working. It does put in an id number of "0" However, the code in general gives me a

[PHP] UPDATE: find duplicated values in array and count them

2004-11-11 Thread Patrick Fehr
Patrick Fehr wrote: > Hi all > > > I need to compare values of multiple arrays The obvious problem is, that I can't use array_count_values() because the values are in different arrays, and array_count_values() refuses to compare over different arrays :) greets to all patrick -- Patrick Fehr

[PHP] Update Your PayPal Account!

2004-08-31 Thread PayPal
If dissident from learn a hard lesson from line dancer from, then for spider meditates.And secretly admire the dark side of her wedding dress.pork chop can be kind to wheelbarrow defined by bottle of beer.blithe spirit for apartment building, earring beyond, and of toothache are what made Americ

Re: [PHP] Update mysql.so problems

2004-07-21 Thread Jough P
Posted this yesterday, still having problems. I've used various combinations with --with-mysql. I removed all the old mysql binaries and libs from /usr/lib, /usr/include and /usr/bin. I removed the old mysql.so from /usr/lib/php4/ I even went as far as upgrading to PHP5. It is still using the

[PHP] Update mysql.so problems

2004-07-20 Thread Jough P
Greetings all, I upgraded to MySQL 4 on a Redhat Enterprise box. I recompiled PHP 4.3.6 and a look at phpinfo() reveals that the old mysql client API is still being used. So, I moved the mysql.so to my home directory hoping that when did ./configure and make again it would create a new one.

Re: [PHP] UPDATE...

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 09:28, Harlequin wrote: > Jason. Thanks very much. Truly...! I looked at it, stared at it, growled at > it and then finally realised about 30 seconds before I raed your post: > > SET Comments='$Comments', You also have the date and column-name switched: ... $UserMail=Use

Re: [PHP] UPDATE...

2004-07-10 Thread Harlequin
Laugh...? I nearly wet mesen...! Jason. Thanks very much. Truly...! I looked at it, stared at it, growled at it and then finally realised about 30 seconds before I raed your post: SET Comments='$Comments', What an idiot...! Hey - thanks for your patience mate. I don't suppose you'd care to hel

Re: [PHP] UPDATE...

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 09:00, Harlequin wrote: > I did as you suggest and I get a rather generic response: > > Sorry, Your Request Could Not Be Executed: You have an error in your SQL > syntax. Check the manual that corresponds to your MySQL server version for > the right syntax to use near 'Littl

Re: [PHP] UPDATE...

2004-07-10 Thread Harlequin
Jason. Thanks for pointing out the obvious - I should have trapped errors. Thanks you. I did as you suggest and I get a rather generic response: Sorry, Your Request Could Not Be Executed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the

Re: [PHP] UPDATE...

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 08:33, Harlequin wrote: > I'm hitting the submit button at the bottom of the page and getting > redirected OK to the next page with no errors but when I query the database > directly it isn't updating. Should you be getting errors if there is a problem? IOW *are* you puttin

Re: [PHP] UPDATE...

2004-07-10 Thread Harlequin
Sorry Jason. I'm hitting the submit button at the bottom of the page and getting redirected OK to the next page with no errors but when I query the database directly it isn't updating. -- - Michael Mason Arras People www.arraspeople.co.uk --

Re: [PHP] UPDATE...

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 08:20, Harlequin wrote: > I have a page that successfully calls data from the database based on > userID & Password combo. No Problems there eh... I display the information > in a form, the user is supposed to be updating this information and then > hitting submit to update

[PHP] UPDATE...

2004-07-10 Thread Harlequin
Hi again. I know I should be in bed but if I leave this I'll just go mad...! I have a page that successfully calls data from the database based on userID & Password combo. No Problems there eh... I display the information in a form, the user is supposed to be updating this information and then hit

Re: [PHP] update count

2004-06-16 Thread Daniel Clark
If your table has a primary key, or auto increment field works well and is quick. > What is the best way to only do an update if it going to update only one > row? > I want to protect my code so that it won't accidentally update more than > one row. > I can do a select first but there must be an e

Re: [PHP] update count

2004-06-16 Thread Bob Lockie
What is the best way to only do an update if it going to update only one row? You don't say what database you're using. The general way is to use a unique key in the WHERE clause. UPDATE tablename SET foo=1 WHERE id=123 MySQL also lets you use a LIMIT clause that will either limit the number o

Re: [PHP] update count

2004-06-16 Thread Robin Vickery
On Wed, 16 Jun 2004 09:40:52 -0400, Bob Lockie <[EMAIL PROTECTED]> wrote: > > What is the best way to only do an update if it going to update only one > row? You don't say what database you're using. The general way is to use a unique key in the WHERE clause. UPDATE tablename SET foo=1 WHERE

Re: [PHP] update count

2004-06-16 Thread John Nichel
Bob Lockie wrote: What is the best way to only do an update if it going to update only one row? I want to protect my code so that it won't accidentally update more than one row. I can do a select first but there must be an easier way. :-) UPDATE thisDB.thisTable SET thisTable.thisColumn = 'thisV

RE: [PHP] update count

2004-06-16 Thread Jay Blanchard
[snip] What is the best way to only do an update if it going to update only one row? I want to protect my code so that it won't accidentally update more than one row. I can do a select first but there must be an easier way. :-) [/snip] Do the update with conditions (this is a SQL question) UPD

[PHP] update count

2004-06-16 Thread Bob Lockie
What is the best way to only do an update if it going to update only one row? I want to protect my code so that it won't accidentally update more than one row. I can do a select first but there must be an easier way. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] Update problem

2004-06-07 Thread Mattias Thorslund
To reply to the original post (sorry for the confusion): Maldiv wrote: Hello, I have a php update form which use $_POST and $_GET too. I call the update like this update.php?id=1 And after the user submit the form with new data I use command like this: UPDATE table SET id=$_POST['id'] W

Re: [PHP] Update problem

2004-06-07 Thread Mattias Thorslund
: How can you do both? -Blake Maldiv wrote: Hello, I have a php update form which use $_POST and $_GET too. I call the update like this update.php?id=1 And after the user submit the form with new data I use command like this: UPDATE table SET id=$_POST['id'] WHERE $_GET['id&#x

Re: [PHP] Update problem

2004-06-07 Thread Blake Schroeder
Put a hidden field in your form named id. -Blake Blake Schroeder wrote: The form that is being submitted can only be a POST or a GET not both example: How can you do both? -Blake Maldiv wrote: Hello, I have a php update form which use $_POST and $_GET too. I call the update like this

Re: [PHP] Update problem

2004-06-07 Thread Marek Kilimajer
Blake Schroeder wrote: The form that is being submitted can only be a POST or a GET not both example: How can you do both? Hope that answers your question ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Update problem

2004-06-07 Thread Blake Schroeder
The form that is being submitted can only be a POST or a GET not both example: How can you do both? -Blake Maldiv wrote: Hello, I have a php update form which use $_POST and $_GET too. I call the update like this update.php?id=1 And after the user submit the form with new data I use command

[PHP] Update problem

2004-06-07 Thread Maldiv
Hello, I have a php update form which use $_POST and $_GET too. I call the update like this update.php?id=1 And after the user submit the form with new data I use command like this: UPDATE table SET id=$_POST['id'] WHERE $_GET['id']='1'; This code works on localh

Re: [PHP] update mysql using radio button

2004-06-01 Thread Daniel Clark
Right. (oops) > From: "Daniel Clark" <[EMAIL PROTECTED]> > >> if($row->club_member >> ='N'){echo 'CHECKED';}?>> > > =='N', you mean. :) > > ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] update mysql using radio button

2004-06-01 Thread John W. Holmes
From: "Daniel Clark" <[EMAIL PROTECTED]> > club_member > ='N'){echo 'CHECKED';}?>> =='N', you mean. :) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] update mysql using radio button

2004-06-01 Thread Matt Newell
al Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 1:14 PM To: Matt Newell Cc: [EMAIL PROTECTED] Subject: Re: [PHP] update mysql using radio button I think you need Values for the radio buttons. club_member ='N'){echo 'CHECKED';}?>&g

Re: [PHP] update mysql using radio button

2004-06-01 Thread Daniel Clark
I think you need Values for the radio buttons. club_member ='N'){echo 'CHECKED';}?>> > > hello all - > > i'm having a problem getting an UPDATE to work with radio buttons and > i'm not sure where it's gone wrong. the initial values are being grabbed > properly, but unfortunately they don't want

RE: [PHP] update mysql using radio button

2004-06-01 Thread Jay Blanchard
[snip] i'm having a problem getting an UPDATE to work with radio buttons and i'm not sure where it's gone wrong. the initial values are being grabbed properly, but unfortunately they don't want to get updated. the regular text form values update just fine. would appreciate some help. the html:

[PHP] update mysql using radio button

2004-06-01 Thread Matt Newell
hello all - i'm having a problem getting an UPDATE to work with radio buttons and i'm not sure where it's gone wrong. the initial values are being grabbed properly, but unfortunately they don't want to get updated. the regular text form values update just fine. would appreciate some help. the ht

Re: [PHP] Update Multiple Records From Form

2004-05-28 Thread Albert Padley
On May 28, 2004, at 3:50 AM, Ford, Mike [LSS] wrote: On 28 May 2004 04:47, Albert Padley wrote: I feel I'm so close. I have a form with multiple database records with a checkbox to indicate which records to update set up like so: $name = "ed[" . $row['id'] . "]"; Each text input is set up like so:

RE: [PHP] Update Multiple Records From Form

2004-05-28 Thread Ford, Mike [LSS]
On 28 May 2004 04:47, Albert Padley wrote: > I feel I'm so close. > > I have a form with multiple database records with a checkbox to > indicate which records to update set up like so: > > $name = "ed[" . $row['id'] . "]"; > > > > Each text input is set up like so: > > > > On the processin

[PHP] Update Multiple Records From Form

2004-05-27 Thread Albert Padley
I feel I'm so close. I have a form with multiple database records with a checkbox to indicate which records to update set up like so: $name = "ed[" . $row['id'] . "]"; Each text input is set up like so: On the processing page I am doing this: foreach($ed as $id=>$val){ $query = "U

Re: [PHP] update mysql from php web page

2004-04-07 Thread Daniel Clark
Something I like to do during troubleshooting is to have the page display the SQL statement I'm processing. Something like: print sql_query ; That was I can verify all the parameters are correct. Do you have autocommit ON? Or need to pass a commit statement? Daniel Clark > Of course, I d

Re: [PHP] update mysql from php web page

2004-04-07 Thread Chip Wiegand
"Daniel Clark" <[EMAIL PROTECTED]> wrote on 04/07/2004 10:17:36 AM: > For the submit button to work it has to be in a form. > > > > > > Hope this helps. > > Daniel Clark Of course, I didn't notice I left that line out of my code, although I did remember to put in the closing form tag. B

Re: [PHP] update mysql from php web page

2004-04-07 Thread Daniel Clark
For the submit button to work it has to be in a form. Hope this helps. Daniel Clark > > ... more code ... > > endif; > ?> > > > - > > I don't see any reason for the submit button to not work at all. What > should I look for now? > Thank

Re: [PHP] update mysql from php web page

2004-04-07 Thread Chip Wiegand
"Daniel Clark" <[EMAIL PROTECTED]> wrote on 04/06/2004 03:27:34 PM: > I think you need a WHERE clause for the UPDATE, otherwise it will update > ALL the records. > > e.g. WHERE OwnerName='$result' > > Then perhaps a redirect to another page. Thanks for the reminder. I set that, and found the p

Re: [PHP] update mysql from php web page

2004-04-06 Thread John Nichel
Chip Wiegand wrote: I have an existing web page that pulls some data and displays it in form input fields. I would like to add the ability to edit those fields and submit the changes to the server, but have been unsuccessful. What bit of code do I need to add to the existing code? This is the ex

Re: [PHP] update mysql from php web page

2004-04-06 Thread Daniel Clark
I think you need a WHERE clause for the UPDATE, otherwise it will update ALL the records. e.g. WHERE OwnerName='$result' Then perhaps a redirect to another page. > I probably need to use if(isset($submit)): and an update statement, but my > attempt just causes the web page to display completel

[PHP] update mysql from php web page

2004-04-06 Thread Chip Wiegand
I have an existing web page that pulls some data and displays it in form input fields. I would like to add the ability to edit those fields and submit the changes to the server, but have been unsuccessful. What bit of code do I need to add to the existing code? This is the existing code to displ

Re: [PHP] Update issue - more then likely simple problem

2003-12-18 Thread Eric Holmstrom
Thankyou i did not know that command existed! so simple cheers "Eugene Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, Dec 18, 2003 at 01:39:57PM +1100, Eric Holmstrom wrote: > > > > What im trying to do is read the information from a field in a table called > > PARTNO.

Re: [PHP] Update issue - more then likely simple problem

2003-12-18 Thread Eugene Lee
On Thu, Dec 18, 2003 at 01:39:57PM +1100, Eric Holmstrom wrote: > > What im trying to do is read the information from a field in a table called > PARTNO. Then add RU to the front of whatever is in the PARTNO field. > > So far i have this. > > //connect details rarara > //query > $query= "SELECT

[PHP] Update issue - more then likely simple problem

2003-12-17 Thread Eric Holmstrom
Hi there, What im trying to do is read the information from a field in a table called PARTNO. Then add RU to the front of whatever is in the PARTNO field. So far i have this. //connect details rarara //query $query= "SELECT PARTNO FROM russell2 "; // make a query to get old stuff from DB col

Re: [PHP] DW Php update record form with menu from another table

2003-11-11 Thread Burhan Khalid
Robb Kerr wrote: I'm using Dreamweaver's "Update Record" form wizard to create a record update page. Most of the fields are "text", one is "file" and I want one of them to be a "menu". The "menu" field should be populated with the fields of another table. Here's the problem... If I leave all of th

[PHP] DW Php update record form with menu from another table

2003-11-10 Thread Robb Kerr
I'm using Dreamweaver's "Update Record" form wizard to create a record update page. Most of the fields are "text", one is "file" and I want one of them to be a "menu". The "menu" field should be populated with the fields of another table. Here's the problem... If I leave all of the fields as text

[PHP] Re: DW Php update form where one field is menu from another table

2003-11-09 Thread Robb Kerr
Thanx. I placed there as well, but wasn't getting any responses so thought I'd try this group as it has been invaluable in the past. Finally got a response on the Macromedia group so I'll try that suggestion. -- Robb Kerr Digital IGUANA Helping Digital Artists Achieve their Dreams http://www.dig

  1   2   3   >