[PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel

anybody???

anyway to pop up an inputbox that will get a variable?  also, and yes / no
or ok / cancel boxes I can make pop up?


Jeff Bluemel [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 is there a way to for an input box to come up looking for a value?  I know
 there are a few ways I could resolve my current issue, but I would prefer
to
 display an inputbox, and use that value in my query.

 basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of a
 form, but then I would have to get a value to pass to the query.  this
would
 be for prepaid phone cards.  if somebody selected to recharge then I would
 like an input box to be displayed asking the amount they would like to
 recharge.

 --
 Jeff Bluemel





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French

I don't understand.  Twice.

Tell us what you need, slowly and clearly.


Justin French




on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

 anybody???
 
 anyway to pop up an inputbox that will get a variable?  also, and yes / no
 or ok / cancel boxes I can make pop up?
 
 
 Jeff Bluemel [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 is there a way to for an input box to come up looking for a value?  I know
 there are a few ways I could resolve my current issue, but I would prefer
 to
 display an inputbox, and use that value in my query.
 
 basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of a
 form, but then I would have to get a value to pass to the query.  this
 would
 be for prepaid phone cards.  if somebody selected to recharge then I would
 like an input box to be displayed asking the amount they would like to
 recharge.
 
 --
 Jeff Bluemel
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Brad Bonkoski

pop-up windows, reminds me of the days of visual basic programming

I know you can display dialog boxes using javascript, but not sure if they will
take a value in them, just like a confimirmation type box, like Are you sure?
OK CANCEL

To the point, check some javascript references out, I know there are code
repositories sitting out there in cyber-space that will have at least something
to start off of.
-Brad

Justin French wrote:

 I don't understand.  Twice.

 Tell us what you need, slowly and clearly.

 Justin French

 on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

  anybody???
 
  anyway to pop up an inputbox that will get a variable?  also, and yes / no
  or ok / cancel boxes I can make pop up?
 
 
  Jeff Bluemel [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  is there a way to for an input box to come up looking for a value?  I know
  there are a few ways I could resolve my current issue, but I would prefer
  to
  display an inputbox, and use that value in my query.
 
  basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of a
  form, but then I would have to get a value to pass to the query.  this
  would
  be for prepaid phone cards.  if somebody selected to recharge then I would
  like an input box to be displayed asking the amount they would like to
  recharge.
 
  --
  Jeff Bluemel
 
 
 
 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: inputbox?

2002-10-01 Thread Todd Pasley

What you seem to be looking for are the javascript functions, alert, confirm
and/or prompt. for a billion examples see...

http://www.google.com/search?num=20hl=enlr=ie=UTF-8oe=UTF-8newwindow=1;
safe=offq=confirm+alert+promptbtnG=Google+Search

Todd.

 -Original Message-
 From: Jeff Bluemel [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 2 October 2002 10:35 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Re: inputbox?


 anybody???

 anyway to pop up an inputbox that will get a variable?  also, and yes / no
 or ok / cancel boxes I can make pop up?


 Jeff Bluemel [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  is there a way to for an input box to come up looking for a
 value?  I know
  there are a few ways I could resolve my current issue, but I
 would prefer
 to
  display an inputbox, and use that value in my query.
 
  basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of a
  form, but then I would have to get a value to pass to the query.  this
 would
  be for prepaid phone cards.  if somebody selected to recharge
 then I would
  like an input box to be displayed asking the amount they would like to
  recharge.
 
  --
  Jeff Bluemel
 
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel

LOL - I've been using VB for about 6 years, and I'm just beginning to
convert over to php.

the application I am writing is for prepaid phone cards.  if they are going
to activate a pin, inactivate, or recharge then I want a confirmation box.

I would prefer to also have a box pop up to get the value they want to
recharge instead of having an input text box on the form.  for some reason
people seem to over look the text box, and they tend to leave it empty vs.
displaying a dialog box that asks for the amount they would like to
recharge.

I need to go back to my customers, and find out how important a confirmation
box is.  I had skimmed through the php functions, but didn't see anything
that looked what I was looking for.


Brad Bonkoski [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 pop-up windows, reminds me of the days of visual basic programming

 I know you can display dialog boxes using javascript, but not sure if they
will
 take a value in them, just like a confimirmation type box, like Are you
sure?
 OK CANCEL

 To the point, check some javascript references out, I know there are code
 repositories sitting out there in cyber-space that will have at least
something
 to start off of.
 -Brad

 Justin French wrote:

  I don't understand.  Twice.
 
  Tell us what you need, slowly and clearly.
 
  Justin French
 
  on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
   anybody???
  
   anyway to pop up an inputbox that will get a variable?  also, and yes
/ no
   or ok / cancel boxes I can make pop up?
  
  
   Jeff Bluemel [EMAIL PROTECTED] wrote in message
   [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   is there a way to for an input box to come up looking for a value?  I
know
   there are a few ways I could resolve my current issue, but I would
prefer
   to
   display an inputbox, and use that value in my query.
  
   basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of
a
   form, but then I would have to get a value to pass to the query.
this
   would
   be for prepaid phone cards.  if somebody selected to recharge then I
would
   like an input box to be displayed asking the amount they would like
to
   recharge.
  
   --
   Jeff Bluemel
  
  
  
  
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French

Confirmation is easy -- the client has the right to ask for this component.
It's the method in which you want to confirm (javascript, pop-ups, etc) that
is the problem.

It can be as simple as:

submit form
page asking are you sure you want to blah blah blah
submit yes or no
action taken

No javascript needed -- all php  html.


You might want to also take a look at phpMyAdmin, which has javascript alert
style are you sure you want to .. ok|cancel


Justin



on 02/10/02 12:11 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

 LOL - I've been using VB for about 6 years, and I'm just beginning to
 convert over to php.
 
 the application I am writing is for prepaid phone cards.  if they are going
 to activate a pin, inactivate, or recharge then I want a confirmation box.
 
 I would prefer to also have a box pop up to get the value they want to
 recharge instead of having an input text box on the form.  for some reason
 people seem to over look the text box, and they tend to leave it empty vs.
 displaying a dialog box that asks for the amount they would like to
 recharge.
 
 I need to go back to my customers, and find out how important a confirmation
 box is.  I had skimmed through the php functions, but didn't see anything
 that looked what I was looking for.
 
 
 Brad Bonkoski [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 pop-up windows, reminds me of the days of visual basic programming
 
 I know you can display dialog boxes using javascript, but not sure if they
 will
 take a value in them, just like a confimirmation type box, like Are you
 sure?
 OK CANCEL
 
 To the point, check some javascript references out, I know there are code
 repositories sitting out there in cyber-space that will have at least
 something
 to start off of.
 -Brad
 
 Justin French wrote:
 
 I don't understand.  Twice.
 
 Tell us what you need, slowly and clearly.
 
 Justin French
 
 on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
 anybody???
 
 anyway to pop up an inputbox that will get a variable?  also, and yes
 / no
 or ok / cancel boxes I can make pop up?
 
 
 Jeff Bluemel [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 is there a way to for an input box to come up looking for a value?  I
 know
 there are a few ways I could resolve my current issue, but I would
 prefer
 to
 display an inputbox, and use that value in my query.
 
 basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of
 a
 form, but then I would have to get a value to pass to the query.
 this
 would
 be for prepaid phone cards.  if somebody selected to recharge then I
 would
 like an input box to be displayed asking the amount they would like
 to
 recharge.
 
 --
 Jeff Bluemel
 
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel

Justin...

could I talk you into giving me an example in code of this?  (I would really
appreciate it)

where is this phpmyadmin?  I'm not seeing a function, and I searched php's
website for this string, and I'm not finding anything.

Jeff

Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Confirmation is easy -- the client has the right to ask for this
component.
 It's the method in which you want to confirm (javascript, pop-ups, etc)
that
 is the problem.

 It can be as simple as:

 submit form
 page asking are you sure you want to blah blah blah
 submit yes or no
 action taken

 No javascript needed -- all php  html.


 You might want to also take a look at phpMyAdmin, which has javascript
alert
 style are you sure you want to .. ok|cancel


 Justin



 on 02/10/02 12:11 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

  LOL - I've been using VB for about 6 years, and I'm just beginning to
  convert over to php.
 
  the application I am writing is for prepaid phone cards.  if they are
going
  to activate a pin, inactivate, or recharge then I want a confirmation
box.
 
  I would prefer to also have a box pop up to get the value they want to
  recharge instead of having an input text box on the form.  for some
reason
  people seem to over look the text box, and they tend to leave it empty
vs.
  displaying a dialog box that asks for the amount they would like to
  recharge.
 
  I need to go back to my customers, and find out how important a
confirmation
  box is.  I had skimmed through the php functions, but didn't see
anything
  that looked what I was looking for.
 
 
  Brad Bonkoski [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  pop-up windows, reminds me of the days of visual basic programming
 
  I know you can display dialog boxes using javascript, but not sure if
they
  will
  take a value in them, just like a confimirmation type box, like Are
you
  sure?
  OK CANCEL
 
  To the point, check some javascript references out, I know there are
code
  repositories sitting out there in cyber-space that will have at least
  something
  to start off of.
  -Brad
 
  Justin French wrote:
 
  I don't understand.  Twice.
 
  Tell us what you need, slowly and clearly.
 
  Justin French
 
  on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
  anybody???
 
  anyway to pop up an inputbox that will get a variable?  also, and yes
  / no
  or ok / cancel boxes I can make pop up?
 
 
  Jeff Bluemel [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  is there a way to for an input box to come up looking for a value?
I
  know
  there are a few ways I could resolve my current issue, but I would
  prefer
  to
  display an inputbox, and use that value in my query.
 
  basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action
of
  a
  form, but then I would have to get a value to pass to the query.
  this
  would
  be for prepaid phone cards.  if somebody selected to recharge then I
  would
  like an input box to be displayed asking the amount they would like
  to
  recharge.
 
  --
  Jeff Bluemel
 
 
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French

phpMyAdmin(.org) is a GUI web interface for managing MySQL databases.  it's
open source, so if you like what you see, you can dig around in the code and
borrow... they pop-up confirmations on delete and empty type queries.

as for a simple confirmation script... I don't really have the time right
now but think of it this way...

- fill in form, POST to a confirmation form
- confirmation form echos what's about to happen back out onto the screen
- confirmation form has many hidden inputs which carry the values
- click yes, form submitted to a process page, containing the values
submitted

In other words, you have to pass the original form contents THROUGH an
intermediate page which says are you sure?.


Justin






on 02/10/02 12:25 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

 Justin...
 
 could I talk you into giving me an example in code of this?  (I would really
 appreciate it)
 
 where is this phpmyadmin?  I'm not seeing a function, and I searched php's
 website for this string, and I'm not finding anything.
 
 Jeff
 
 Justin French [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Confirmation is easy -- the client has the right to ask for this
 component.
 It's the method in which you want to confirm (javascript, pop-ups, etc)
 that
 is the problem.
 
 It can be as simple as:
 
 submit form
 page asking are you sure you want to blah blah blah
 submit yes or no
 action taken
 
 No javascript needed -- all php  html.
 
 
 You might want to also take a look at phpMyAdmin, which has javascript
 alert
 style are you sure you want to .. ok|cancel
 
 
 Justin
 
 
 
 on 02/10/02 12:11 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
 LOL - I've been using VB for about 6 years, and I'm just beginning to
 convert over to php.
 
 the application I am writing is for prepaid phone cards.  if they are
 going
 to activate a pin, inactivate, or recharge then I want a confirmation
 box.
 
 I would prefer to also have a box pop up to get the value they want to
 recharge instead of having an input text box on the form.  for some
 reason
 people seem to over look the text box, and they tend to leave it empty
 vs.
 displaying a dialog box that asks for the amount they would like to
 recharge.
 
 I need to go back to my customers, and find out how important a
 confirmation
 box is.  I had skimmed through the php functions, but didn't see
 anything
 that looked what I was looking for.
 
 
 Brad Bonkoski [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 pop-up windows, reminds me of the days of visual basic programming
 
 I know you can display dialog boxes using javascript, but not sure if
 they
 will
 take a value in them, just like a confimirmation type box, like Are
 you
 sure?
 OK CANCEL
 
 To the point, check some javascript references out, I know there are
 code
 repositories sitting out there in cyber-space that will have at least
 something
 to start off of.
 -Brad
 
 Justin French wrote:
 
 I don't understand.  Twice.
 
 Tell us what you need, slowly and clearly.
 
 Justin French
 
 on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
 anybody???
 
 anyway to pop up an inputbox that will get a variable?  also, and yes
 / no
 or ok / cancel boxes I can make pop up?
 
 
 Jeff Bluemel [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 is there a way to for an input box to come up looking for a value?
 I
 know
 there are a few ways I could resolve my current issue, but I would
 prefer
 to
 display an inputbox, and use that value in my query.
 
 basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action
 of
 a
 form, but then I would have to get a value to pass to the query.
 this
 would
 be for prepaid phone cards.  if somebody selected to recharge then I
 would
 like an input box to be displayed asking the amount they would like
 to
 recharge.
 
 --
 Jeff Bluemel
 
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel

thanks - I will have to look through things...

you explanation made sense, and I believe I can get it to work that way.  I
think I'm going to try Tom's Java script first, and use this is a fail safe.

Jeff
Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 phpMyAdmin(.org) is a GUI web interface for managing MySQL databases.
it's
 open source, so if you like what you see, you can dig around in the code
and
 borrow... they pop-up confirmations on delete and empty type queries.

 as for a simple confirmation script... I don't really have the time right
 now but think of it this way...

 - fill in form, POST to a confirmation form
 - confirmation form echos what's about to happen back out onto the screen
 - confirmation form has many hidden inputs which carry the values
 - click yes, form submitted to a process page, containing the values
 submitted

 In other words, you have to pass the original form contents THROUGH an
 intermediate page which says are you sure?.


 Justin






 on 02/10/02 12:25 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:

  Justin...
 
  could I talk you into giving me an example in code of this?  (I would
really
  appreciate it)
 
  where is this phpmyadmin?  I'm not seeing a function, and I searched
php's
  website for this string, and I'm not finding anything.
 
  Jeff
 
  Justin French [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Confirmation is easy -- the client has the right to ask for this
  component.
  It's the method in which you want to confirm (javascript, pop-ups, etc)
  that
  is the problem.
 
  It can be as simple as:
 
  submit form
  page asking are you sure you want to blah blah blah
  submit yes or no
  action taken
 
  No javascript needed -- all php  html.
 
 
  You might want to also take a look at phpMyAdmin, which has javascript
  alert
  style are you sure you want to .. ok|cancel
 
 
  Justin
 
 
 
  on 02/10/02 12:11 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
  LOL - I've been using VB for about 6 years, and I'm just beginning to
  convert over to php.
 
  the application I am writing is for prepaid phone cards.  if they are
  going
  to activate a pin, inactivate, or recharge then I want a confirmation
  box.
 
  I would prefer to also have a box pop up to get the value they want to
  recharge instead of having an input text box on the form.  for some
  reason
  people seem to over look the text box, and they tend to leave it empty
  vs.
  displaying a dialog box that asks for the amount they would like to
  recharge.
 
  I need to go back to my customers, and find out how important a
  confirmation
  box is.  I had skimmed through the php functions, but didn't see
  anything
  that looked what I was looking for.
 
 
  Brad Bonkoski [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  pop-up windows, reminds me of the days of visual basic
programming
 
  I know you can display dialog boxes using javascript, but not sure if
  they
  will
  take a value in them, just like a confimirmation type box, like Are
  you
  sure?
  OK CANCEL
 
  To the point, check some javascript references out, I know there are
  code
  repositories sitting out there in cyber-space that will have at least
  something
  to start off of.
  -Brad
 
  Justin French wrote:
 
  I don't understand.  Twice.
 
  Tell us what you need, slowly and clearly.
 
  Justin French
 
  on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
 
  anybody???
 
  anyway to pop up an inputbox that will get a variable?  also, and
yes
  / no
  or ok / cancel boxes I can make pop up?
 
 
  Jeff Bluemel [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  is there a way to for an input box to come up looking for a value?
  I
  know
  there are a few ways I could resolve my current issue, but I would
  prefer
  to
  display an inputbox, and use that value in my query.
 
  basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action
  of
  a
  form, but then I would have to get a value to pass to the query.
  this
  would
  be for prepaid phone cards.  if somebody selected to recharge then
I
  would
  like an input box to be displayed asking the amount they would
like
  to
  recharge.
 
  --
  Jeff Bluemel
 
 
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php