Re: [PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread chris_payne
- From: "kranthi" To: "Michael A. Peters" Cc: ; Sent: Monday, May 18, 2009 7:48 PM Subject: Re: [PHP] Help with PHP processing form checkboxes needed :-( 1. every time the form is submitted.. generate the list of all the check boxes which are checked and overwrite t

Re: [PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread Michael A. Peters
Paul M Foster wrote: When you say "it sends its id", what do you mean? You're not talking about the ID attribute of the checkbox tag, are you? The way I handle something like this is to give the checkbox tag a "value" attribute. Like: Each page has to be a form if you do this. When you chec

Re: [PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread Paul M Foster
On Mon, May 18, 2009 at 06:51:32PM -0700, chris_pa...@danmangames.com wrote: > Hi everyone, > > I'm having a major problem. I have an order system that allows you to add > items with a checkbox, that works fine. If you add an item and go back to > the product listing the items that are in your c

Re: [PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread Michael A. Peters
kranthi wrote: this depends much on the database implementation. obviously this is a one to many relationship. Probably easiest to do in the session database. You can store the session fields in an external database if you want the shopping cart to persist over multiple sessions. -- PHP Ge

Re: [PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread kranthi
1. every time the form is submitted.. generate the list of all the check boxes which are checked and overwrite the previous value in the database. 2. get the list of all entries from the database see if the corresponding check box is checked.. if so leave it as it is, if not remove it... this dep

Re: [PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread Michael A. Peters
chris_pa...@danmangames.com wrote: Hi everyone, I'm having a major problem. I have an order system that allows you to add items with a checkbox, that works fine. If you add an item and go back to the product listing the items that are in your cart show up as checked on the products listing

[PHP] Help with PHP processing form checkboxes needed :-(

2009-05-18 Thread chris_payne
Hi everyone, I'm having a major problem. I have an order system that allows you to add items with a checkbox, that works fine. If you add an item and go back to the product listing the items that are in your cart show up as checked on the products listing forms to make it easier to see what

[PHP] Help with php and this part of the code...?

2007-09-09 Thread dekemcaffee
Ok here is the code below, I need to know what I need to change in this code for it to be able to be a clickable link... I have many layouts and want to add more but with so many pages, its a bit hard to go through 49 pages just to add one page. I already submitted this problem to http://www.webd

Re: [PHP] Help with php server and sockets

2007-05-23 Thread Robert Cummings
On Wed, 2007-05-23 at 16:24 -0700, Adz07 wrote: > i want to set up a php server that can communicate with a client (CLI PHP > Script). I can setup the server socket fine. What i need to know is whether > it is possible for the client to call a function in the servers php code and > the server retur

[PHP] Help with php server and sockets

2007-05-23 Thread Adz07
i want to set up a php server that can communicate with a client (CLI PHP Script). I can setup the server socket fine. What i need to know is whether it is possible for the client to call a function in the servers php code and the server return the data ready for the client to process?? To start,

RE: [PHP] Help with php output to file

2003-12-18 Thread Sam Masiello
Anytime I need to do something similar to this I prefer to use "lynx -source [[URL]] > [[output_file]]" HTH! --Sam Paul Godard wrote: > Hi > > I have develop an online catalog in php/mysql. Now the client needs > the web site on a cd. Of course without php or mysql... > > What is the fast

[PHP] Help with php output to file

2003-12-18 Thread Paul Godard
Hi I have develop an online catalog in php/mysql. Now the client needs the web site on a cd. Of course without php or mysql... What is the fastes and easiest way to convert the only 2-3 dynamic php pages into static html files? Of course I could copy the html code generated by the php pages

RE: [PHP] help with php

2003-07-29 Thread Chris W. Parker
Billy on Tuesday, July 29, 2003 4:25 PM said: > hi im new to php. but i need help with a form. ive made an html form > but the thing is i needed it to send all the info from the boxes > above to an e-mail. this is my first time with this type of web > design could so

[PHP] help with php

2003-07-29 Thread Billy
hi im new to php. but i need help with a form. ive made an html form but the thing is i needed it to send all the info from the boxes above to an e-mail. this is my first time with this type of web design could someone help me out. thanks -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] Help with PHP and HTML

2002-09-26 Thread Jay Blanchard
[snip] When we are at it let's don't forget htmlspecialchars skitum wrote: >hey folks, don't forget quotes ;o) > >readonly> [/snip] Well now we have gone too far! :^] In the original post the variable was $cost. But let's not forget addslashes() or stripslashes(), unless, of course, magicquo

Re: [PHP] Help with PHP and HTML

2002-09-26 Thread Marek Kilimajer
t;From: "Jay Blanchard" <[EMAIL PROTECTED]> >To: "'Ken'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Thursday, September 26, 2002 1:46 PM >Subject: RE: [PHP] Help with PHP and HTML > > > > >>[snip] >>I

Re: [PHP] Help with PHP and HTML

2002-09-26 Thread skitum
hey folks, don't forget quotes ;o) I use one like this: and it works ok. Peace & Love skitum - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Ken'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday

RE: [PHP] Help with PHP and HTML

2002-09-26 Thread Jay Blanchard
[snip] I have a HTML form that has a session variable called $cost. Now I want to set the value to this table data input field. Anyone know how this is accomplished? [/snip] Ken, You question is not too clear, but I will try to help. You want the form element to reflect the value of $cost?

[PHP] Help with PHP and HTML

2002-09-26 Thread Ken
I have a HTML form that has a session variable called $cost. Now I want to set the value to this table data input field. Anyone know how this is accomplished? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with PHP global array

2002-02-07 Thread Chris Boget
> All variables in PHP are local to the scope in which it is defined. You > cannot declare a variable as global (as such). To use a global variable: This is true. But I believe that the original question was actually the other way around... Make a local variable into a global one. The way to d

Re: [PHP] help with PHP global array

2002-02-07 Thread Jason Wong
> From: Bjorn Abt [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 10:57 AM > To: '[EMAIL PROTECTED]' > Subject: AW: [PHP] help with PHP global array > > > > I would try: > > global $myArray[] > > Greetings Björn > > -Urs

RE: [PHP] help with PHP global array

2002-02-07 Thread Wee Chua
EMAIL PROTECTED]' Subject: AW: [PHP] help with PHP global array I would try: global $myArray[] Greetings Björn -Ursprüngliche Nachricht- Von: Wee Chua [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Gesendet: Donnerstag, 7. Februar 2002 16:35 An: PHP (E-mail) Be

[PHP] help with PHP global array

2002-02-07 Thread Wee Chua
Hi all, How can I declare a global array? Can I do this: $global myArray[] would I find out it is an array when I use it in other places? Thanks, Wee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HELP! with PHP extension <

2002-01-25 Thread Andre Amaral
Hi all, Here is the situation. I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI. My PHP folder is C:\php Extension Folder is: C:\php\extension PHP.INI file: extention_dir = "C:\php\extension\" First problem that I have is loading extensions. Every time I try to uncomment an extension

Re: [PHP] help with php mysql and images...

2001-08-22 Thread John Meyer
A couple of things: 1. ASP is not dumb. It was just written by Microsoft. Seriously, though I'd learn both, it would make you much more marketable. 2. First off, create the database. Then ask yourself what are the steps that you have to go through. What your probably looking at right now

[PHP] help with php mysql and images...

2001-08-22 Thread Mike
Don't know if this is the place to ask this, but I'll find out soon. I'm trying to create a database in mysql that will hold information About users, it will hold the path to a picture, and it will resize Images on a page... sorry that's a really blunt description. A user will goto this certain p

RE: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread scott [gts]
mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 26, 2001 9:29 AM > To: Michael Champagne > Cc: PHP General Mailing List > Subject: Re: [PHP] Help with PHP/Oracle and serializing data > > > In Oracle, 'long' is a variable-length character data column up to 2GB in >

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread infoz
I used them all over on a large PHP3 (and later PHP4) site for several years until we migrated to PostgreSQL in January, with no problems. What's the correct alternative...CLOB's? - Tim http://www.phptemplates.org - Original Message - From: "Thies C. Arntzen" <[EMAIL PROTECTED]> > > I

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread Thies C. Arntzen
On Tue, Jun 26, 2001 at 06:42:00AM -0400, infoz wrote: > > If the data will be less than ~4K, use 'varchar2', otherwise use 'long'. do not use long as long are not fully supported in oracle (and never were). tc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

AW: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread Sebastian Stadtlich
D]] > Gesendet: Dienstag, 26. Juni 2001 12:42 > An: Michael Champagne; PHP General Mailing List > Betreff: Re: [PHP] Help with PHP/Oracle and serializing data > > > > If the data will be less than ~4K, use 'varchar2', otherwise > use 'long'. > > -

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread Thies C. Arntzen
On Mon, Jun 25, 2001 at 01:42:18PM -0500, Michael Champagne wrote: > I'm developing a web application and would like to be able to store the state > of the application in an Oracle table by serializing a bunch of variables and > storing them in the database. Has anyone done this? What datatype w

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread infoz
In Oracle, 'long' is a variable-length character data column up to 2GB in size. Roughly equivalent to 'text' in mysql, I think. You can also use 'blob', 'clob' and/or 'nclob' instead, but I think access to those types is less straightforward than the 'long' type. - Tim http://www.phptemplate

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread Michael Champagne
www.phptemplates.org > > - Original Message - > From: "Michael Champagne" <[EMAIL PROTECTED]> > To: "PHP General Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, June 25, 2001 2:42 PM > Subject: [PHP] Help with PHP/Oracle and serializing data &

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread infoz
If the data will be less than ~4K, use 'varchar2', otherwise use 'long'. - Tim http://www.phptemplates.org - Original Message - From: "Michael Champagne" <[EMAIL PROTECTED]> To: "PHP General Mailing List" <[EMAIL PROTECTED]> Sen

[PHP] Help with PHP/Oracle and serializing data

2001-06-25 Thread Michael Champagne
I'm developing a web application and would like to be able to store the state of the application in an Oracle table by serializing a bunch of variables and storing them in the database. Has anyone done this? What datatype would be best to use here? I'm not serializing too much data now, but oth

[PHP] help with php java support

2001-04-13 Thread Spencer Gibb
help! I'm trying to install java support for php here is the java section from php.ini [java] java.class.path=/usr/lib/php/extensions/php_java.jar java.home=/apps/java java.library.path=/usr/lib/php/extensions java.library=/usr/lib/php/extensions/libphp_java.so extension=libphp_java.so here are

Re: [PHP] Help with PHP Shell Scripting

2001-01-19 Thread Brian Clark
Hello Justin, (JY == "Justin Yu") [EMAIL PROTECTED] writes: JY> When I tried connecting to Postgres through a shell script that I JY> wrote, I get the following error: JY> "Fatal error: Call to undefined function: pg_connect()" Because you don't have pgsql (PostgreSQL) support built into you

[PHP] Help with PHP Shell Scripting

2001-01-18 Thread Justin Yu
Hi, When I tried connecting to Postgres through a shell script that I wrote, I get the following error: "Fatal error: Call to undefined function: pg_connect()" After searching the web for a solution, I realized that I have to compile PHP into its CGI version. Currently, PHP is installed as an