Just a quick question about dynamic variables
would like to end up with a variable called
$tips_1
$tips_2
...
$tips_n
where n is the value of the variable $sid
i have tried
$tips . '$sid';
and other variants, but i can't get one that doesn't return a parse error or
T_VARIABLE error.
It's probably better to use arrays.
$tips[0] = value;
$tips[1] = value;
$tips[2] = value;
Although, if you REALLY want dynamic variable names.
$i = 1;
$varname = 'tips_'.$i;
$$varname = value;
this will make a variable like below:
$tips_1 = value;
But like I said before, it's better to use
Good Morning,
I've got a J2EE program I've been working on for some time that has
been connected to a FrontBase DBMS. Well as a result of my spending
some time exploring the open source world I've decided to to change
database to PostgreSQL.
I'm developing on Mac OS X and found a page on the
Okay the problem is adding another result to the multi-dimensional array
When i perform var_dump on the returned varialbe $tips i get
array(1) { [2]= array(1) { [0]= string(10) 2003-03-07 } }
I know that there are 2 results missing here for when the key of the array
is 1
I have a page to show all the category fields, so I've made it, but I want
the results to be divided into several columns, Please help me if possible.
Regards Shavkat Berdiev.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a page to show all the category fields, so I've made it, but I want
the results to be divided into several columns, Please help me if possible.
Regards Shavkat Berdiev.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a page to show all the category fields, so I've made it, but I want
the results to be divided into several columns, Please help me if
possible.
Regards Shavkat Berdiev.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Help please
I enclose my code examples of two pages. One to gert search data from a
user which uis POSTed to the second page where it's validated and displayed.
The prev/next only works for the first 20 records.
When i click next, my page reloads and re applies my validation rules and
outputs
Hi,
i've posted this in the general list, but I've got no answer. Well I'm still
hoping there is one ;-)
I've got the following code:
$datum_beginn=2002-12-12;
$datensatz=odbc_exec($db_connection,select * from Termin where Datumsfeld
'#$datum_beginn#');
I get an error message that data in
Okay, i have two arrays, $tips and $staff
$tips has a key date (which is the date of the first day of the week, the
second result in the array has the key of the second day of the week etc...
) and the value is a floating point decimal.
$staff also has a key date and the value is an integer,
[EMAIL PROTECTED] (David Rice) writes:
Okay, i have two arrays, $tips and $staff
$tips has a key date (which is the date of the first day of the
week, the second result in the array has the key of the second day of
the week etc... ) and the value is a floating point decimal.
$staff also
Hey thank's for the ideas but neither of them work, doh...
Okay fredrik I know your idea won't work cos list only works with numericaly
indexed arrays, both the arrays that i am using are indexed by date.
(it produces a parse error when run)
=
while(list($d, $t) =
[EMAIL PROTECTED] (David Rice) writes:
Hey thank's for the ideas but neither of them work, doh...
Okay fredrik I know your idea won't work cos list only works with
numericaly indexed arrays, both the arrays that i am using are indexed
by date.
You really had me wondering there for a moment.
Is there a way to pass a value from on html page to another on a different
server through a URL and have that value input into a form.
The value trying to be passed is a record id from a database.
In Kindness
Stephen
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Usually, setting the method property to GET in your HTML form will do the
trick. It will cause all of the values in that particular form to be passed
along in the URL. It's a really basic HTML concept. Not sure if you're
looking for something else though since this is a PHP-DB mailing list?
on 3/9/03 4:42 PM, Jan Bro at [EMAIL PROTECTED] appended the following bits to
my mbox:
$datum_beginn=2002-12-12;
$datensatz=odbc_exec($db_connection,select * from Termin where
Datumsfeld'#$datum_beginn#');
I get an error message that data in criteria doesn't match. (free
translation)
The
Hi,
I have a PHP page that writes to a mysql database.
Now I have got that bit to work well. Now I want to
send out an email once a person submits the details.
So on the database I grab fields like name, gender,
email etc... Now I want to grab the email and send
out an email something like
I have managed to pass information through a URL and extract it and insert
it into a form on a php document. Can this be done for an html document?
Passing the value through the URL to an html page with form and then through
a URL again into a php doc. I tried the same method I used in the php
oh, i've forgot to mention, I've already tried that, with the same result,
sorry my mistake. Even 12.12.2002 brings back the same result. It
doesn't make a difference if I use # or not.
But thx anayway, i'm sure it is some dumb mistake i made.
Jan
on 3/9/03 4:42 PM, Jan Bro at [EMAIL PROTECTED]
On Monday 10 March 2003 10:44, JeRRy wrote:
Now name is fetched from the name they give on the
form. So how would I send an email out automatically
once they submit it?
mail()
Also, but not really required yet but ideas
appreciated, if the email BOUNCES is their a way to
remove the entry
I will be out of the office on the afternoon of Friday 3/7. Please contact Ed
Ortmeier or George Rayman for anything that can't wait until Monday.
Nick
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 10 March 2003 08:10, David Rice wrote:
Hey thank's for the ideas but neither of them work, doh...
Okay fredrik I know your idea won't work cos list only works with
numericaly indexed arrays, both the arrays that i am using are indexed by
date. (it produces a parse error when run)
22 matches
Mail list logo