George Larson wrote:
[snip]
Donovan:
There's no "powers that be" on this list. The closest is Dan and we all
ignore him. :-)
Next question -- how do you keep login's and passwords safe? Is the
following not embedded in the html?
[SQLConnect
dbType=MySQL&host=192.168.1.1&database=TestNames&uid=
At 10:26 AM -0400 3/21/09, George Larson wrote:
For the record, I'm with Tedd. Regardless of this being a
"designated" PHP arena, I'm enjoying this WebDNA conversation and
might even give it a test drive...
One of the good things about this list is that most of us are
multi-lingual. Most of
On Sat, Mar 21, 2009 at 8:58 AM, tedd wrote:
> At 1:03 PM -0500 3/20/09, Lists wrote:
>
>> tedd wrote:
>>
>>> Now, can you show me how to pull data from a mysql database so that the
>>> input statements can be created dynamically?
>>>
>>
>>
>> Sure,
>> On the WebDNA side, it's something like this
At 1:03 PM -0500 3/20/09, Lists wrote:
tedd wrote:
Now, can you show me how to pull data from a mysql database so that
the input statements can be created dynamically?
Sure,
On the WebDNA side, it's something like this
(form of "names" from a database):
-snip-
However, like you said, this
tedd wrote:
[snip]
No problem here -- I'm open to all languages.
The OP posted his question on a php list and that's the reason why I
responded with a php solution.
Now, can you show me how to pull data from a mysql database so that the
input statements can be created dynamically?
Cheers,
At 11:40 AM -0500 3/20/09, Lists wrote:
O.K., I may get a back lash.. but I can't resist
making a very small plug here for our server side
language, WebDNA.
Here is the same code in WebDNA:
The Form:
[loop start=1&end=3]
[/loop]
The Recieving page code (loop):
[formvariables name=go_&exact=F
O.K., I may get a back lash.. but I can't resist
making a very small plug here for our server side
language, WebDNA.
Here is the same code in WebDNA:
The Form:
[loop start=1&end=3]
[/loop]
The Recieving page code (loop):
[formvariables name=go_&exact=F]
[value]
[/formvariables]
The URL:
h
At 12:12 PM -0700 3/18/09, revDAVE wrote:
-snip
Q: ANY Ideas?
To follow up again, here's a demo of what I recommended -- with code:
http://www.webbytedd.com//post-array/index.php
As you can see, you can have as many input statements as can be
generated. There is no need to index each o
At 12:12 PM -0700 3/18/09, revDAVE wrote:
-snip
Q: ANY Ideas?
It may look odd, but trash all the count stuff and try this:
HTML:
PHP:
foreach ($_POST['go'] as $a)
{
echo "$a";
}
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PH
Bob McConnell wrote:
> From: revDAVE
>> Using a repeating region of a query, I want to generate a 'form on the
> fly'
>> So for each repeat - I have an extra form input
>>
>> Each input name = thisline
>>
>> So it will make names like:
>>
>> thisline1
>> thisline2
>> thisline3
>> Etc.
>>
>> For
On Wed, Mar 18, 2009 at 12:12:54PM -0700, revDAVE wrote:
> Using a repeating region of a query, I want to generate a 'form on the fly'
>
> So for each repeat - I have an extra form input
>
> Each input name = thisline
>
> So it will make names like:
>
> thisline1
> thisline2
> thisline3
>
with this is a simple text :
$this = 'thisline' . $cnt;
echo $_POST[$this];
Carlos A. Garcia Hernandez
> Date: Wed, 18 Mar 2009 12:12:54 -0700
> From: c...@hosting4days.com
> To: php-general@lists.php.net
> Subject: [PHP] Dynamic Form 'on The Fly'
&g
From: revDAVE
>
> Using a repeating region of a query, I want to generate a 'form on the
fly'
>
> So for each repeat - I have an extra form input
>
> Each input name = thisline
>
> So it will make names like:
>
> thisline1
> thisline2
> thisline3
> Etc.
>
> For the form fields
>
> --
Using a repeating region of a query, I want to generate a 'form on the fly'
So for each repeat - I have an extra form input
Each input name = thisline
So it will make names like:
thisline1
thisline2
thisline3
Etc.
For the form fields
-
$cnt = 1;
Repeat.
Try to pull this algorithm into a function, then add it to the onLoad
attribute of your body element, so on the each load it call the function
which calls it self each X seconds interval (use the functions mentioned by
Todd)
On 05/06/2008, Mayer, Jonathan <[EMAIL PROTECTED]> wrote:
>
> Hiya all,
>
> -Original Message-
> From: Mayer, Jonathan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 05, 2008 7:18 AM
> To: 'php-general@lists.php.net'
> Subject: [PHP] Dynamic form changes without refresh
---8<--- snip
> Using some basic javascript/AJAX, I
Mayer, Jonathan wrote:
> I suppose that, as well as updating the database when I click the
> link, I could also update a CSS toggle, but I'd really like it to be
> deciding whether to toggle only based on the flag in the database.
>
> So:
>
> // check database
> if ($toggle == 1)
> {
>...
>
BOTTOM POST
Mayer, Jonathan wrote:
I suppose that, as well as updating the database when I click the link, I
could also update a CSS toggle, but I'd really like it to be deciding
whether to toggle only based on the flag in the database.
So:
// check database
if ($toggle == 1)
{
...
}
else
{
ECTED]
Sent: 05 June 2008 13:26
To: php-general@lists.php.net
Subject: Re: [PHP] Dynamic form changes without refresh
Mayer, Jonathan wrote:
> Using some basic javascript/AJAX, I have set up a link next to each
> text box, which calls code that updates the database in the background
> wit
Mayer, Jonathan wrote:
> Using some basic javascript/AJAX, I have set up a link next to each
> text box, which calls code that updates the database in the background
> without refreshing the page. If I manually refresh the page, the
> textarea box in question updates correctly, proving that the da
Hiya all,
I have a PHP page with a form holding a large number of textarea boxes.
These text boxes are individually set as enabled or disabled based on a flag
held in a MySQL database.
I want to be able to dynamically enable or disable a specific box without
the page being recalled (potentially
Hello,
on 04/16/2007 11:14 AM Tom Chubb said the following:
> Dear list,
> I'm currently reviewing a load of scripts to dynamically generate a form
> for
> a membership system.
> I have designed a registration form, and once registered and logged in
> there
> are a load of different options releva
Dear list,
I'm currently reviewing a load of scripts to dynamically generate a form for
a membership system.
I have designed a registration form, and once registered and logged in there
are a load of different options relevant to people's profile (which will all
be radio check boxes) in a 2nd form
On 3/15/06, Mark <[EMAIL PROTECTED]> wrote:
> Can anyone help to make this form dynamic, at hte moment a user picks a
> round number from 1-22 but if that round is closed then sends them back to
> this page. Anyway of making the form show the current round (as in sports
> round fixtures) without ad
tedd wrote:
Pat:
I would suggest changing to:
http://.../chkout.php?imagename=NATURE-1.jpg&count=6&continue=Continue+Checkout,
$newqty = $_GET['count'];
$imagename = $_GET['imagename'];
Also, to see what you are actually "getting" try:
echo ("");
echo ("");
echo ("GET info:\n");
print_r($
Thanks to all who helped.
The answer...drumroll arrays for each entry:
load routine (partial):
print "name='imageqty[]' size='5' value='$qty'>";
print "value='".$row[cialbum]."'>";
print "";
print "value='".$row[ciimage]."'>";
print "value='".$row[cisize]."'>";
retrieval rou
Pat:
I would suggest changing to:
http://.../chkout.php?imagename=NATURE-1.jpg&count=6&continue=Continue+Checkout,
$newqty = $_GET['count'];
$imagename = $_GET['imagename'];
Also, to see what you are actually "getting" try:
echo ("");
echo ("");
echo ("GET info:\n");
print_r($_GET);
echo("");
tedd wrote:
I have a list from a MYSQL database that I am dumping to a screen. I'd
like the user to be able to change the quantity on the form for any
record on the screen, then post that information back so the user can
review it, and I can then update the database.
Simple checkout routine.
I have a list from a MYSQL database that I am dumping to a screen.
I'd like the user to be able to change the quantity on the form for
any record on the screen, then post that information back so the
user can review it, and I can then update the database.
Simple checkout routine. Or so I thoug
I have a list from a MYSQL database that I am dumping to a screen. I'd
like the user to be able to change the quantity on the form for any
record on the screen, then post that information back so the user can
review it, and I can then update the database.
Simple checkout routine. Or so I thoug
if $quantity isn't filled you get NULL or FALSE.
so you could use:
if ($_POST['variable'])
etc.
Try posting less code and more question to the list. Nobody's going to
wade through 5 pages of code to analyze it and give you an answer.
-Dan
On Mon, 2003-09-08 at 03:41, Aris Santillan wrote:
>
hi
this is the dynamic forms
for($s=0;$s<$num;$s++)
{
$result = mssql_fetch_array($query);
$result[2] = number_format($result[2]
[snip]
On the form that I am creating I allow the user to browse for a file. I
would like it that once the user selects the file, that it displays only
the
file information in a on the same page. The idea is that the
user can keep browsing and selecting files and the file information
(location a
On the form that I am creating I allow the user to browse for a file. I
would like it that once the user selects the file, that it displays only the
file information in a on the same page. The idea is that the
user can keep browsing and selecting files and the file information
(location and name
If the page does not submit between changes, PHP will not be much help,
that would be JavaScript's job. You could use PHP to prepare the arrays
that JavaScript will use to accomplish this.
- Charles
On Monday, March 24, 2003, at 11:32 AM, Keven Jones wrote:
Hi,
Can someone tell me if I can us
Hi Keven,
> Hi,
>
> Can someone tell me if I can use php to accomplish
> the following:
>
> I would like to create a form that can:
>
> A. Total the sum of a certain number of numerical
> fields, Before the user clicks submit
>
> B. Automatically fill in sections of a form
> based on selection
use javascript
- Original Message -
From: "Keven Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 4:32 PM
Subject: [PHP] Dynamic Form
> Hi,
>
> Can someone tell me if I can use php to accomplish
> the following:
>
Hi,
Can someone tell me if I can use php to accomplish
the following:
I would like to create a form that can:
A. Total the sum of a certain number of numerical
fields, Before the user clicks submit
B. Automatically fill in sections of a form
based on selections made by the user. As an example,
if
Hi,
Does anyone have a working example or a hint in the right direction for the following;
I have a form where the user selects for example; how many cars you have: 4. Then it
most dynamicly create 4 input fields (with different names) in the form where they can
fill in the car brand and also
hey.. anyone got any suggestions on how to have a form build dynamically?
where a user can define his fields and store the form data in mysql?
Regards,
Kunal Jhunjhunwala
"Minds think with ideas, not information. No amount of data, bandwidth, or
processing power can substitute for inspired though
Here is my take on it, cobbled together with the help of a js wizard
friend of mine:
Dynamic Dropdown Menus
> Hell0,
>
> I have a MySql database with 3 columns. The first column is "id" second
> is "name" and third is "value", I have two drop-down lists, with the
> first filled with an array from the column "name". I would like for the
> second drop-down list be changed according to the "value" of wha
12, 2001 4:47 PM
To: Jared Mashburn; PHP Users
Subject: Re: [PHP] Dynamic Form
PHP does not know what the user has selected in the first drop down.
You can either reload the page with the new value once the user has
selected the value for the first drop down list, and go from there, or
use
Oops... My bad.
I misread the question... Ignore my previous reply.
-Original Message-
From: Jason Bell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 6:47 PM
To: Jared Mashburn; PHP Users
Subject: Re: [PHP] Dynamic Form
PHP does not know what the user has selected
e OPTION tag.
--Matt
-Original Message-
From: Jared Mashburn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 6:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Dynamic Form
Hell0,
I have a MySql database with 3 columns. The first column is "id" second
is "
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 12, 2001 3:45 PM
Subject: [PHP] Dynamic Form
> Hell0,
>
> I have a MySql database with 3 columns. The first column is "id" second
> is "name" and third is "value", I have two
Hell0,
I have a MySql database with 3 columns. The first column is "id" second
is "name" and third is "value", I have two drop-down lists, with the
first filled with an array from the column "name". I would like for the
second drop-down list be changed according to the "value" of what has
been
47 matches
Mail list logo