Cheers - query Answered
"Stephen Rhodes" <[EMAIL PROTECTED]> wrote in message
news:20021112162930.65021.qmail@;pb1.pair.com...
> HELLO - this is probably a simple problem !!
>
> Wanting to use in a html form and pass multiple
value
> into a php variable but d
HELLO - this is probably a simple problem !!
Wanting to use in a html form and pass multiple value
into a php variable but does
not work. I only get a single value. Can you tell me what I am doing wrong
?
Does the multiple value get passed correctly in php
if ($task=="check")
{
pr
Hi
I am wanting to use the value in a variable as a variable name. I know it is
possible but do not remember how to do it - what function to call.
Example
$section1 = "SECTION 1";
$section2 = "SECTION 2";
// I want to have a for loop that will call these variables.
eg for ($i=1;$i<3;$
You could have if statements for every option.
May be better if you have a for loop for some of the options -- SEE BELOW.
e.g
:
%s",$i);
}
printf(" 1916");
printf(" volta");
printf(" scatt11");
?>
Cheers
Steve
"Walid Dib" <[EMAIL PROTECTED]
use the function mysql_list_fields in url
http://www.php.net/manual/en/function.mysql-list-fields.php
Cheers
Steve
"Hermann Otteneder" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
> i'm using a mssql-database. now i want update a record with the
informa
Forget my last email. Similar but before I told you how to do it from todays
date. You need to parse the $effdate. Below would only work for 1 number
months. (i.e not Oct,Nov,Dec)
Find where / occurs in the string and you will be laughing. Once you have
those numbers in $day,$month,$year you will
When you write the SQL statement write it as:
select count(user) AS count from log_request where date='$date' and
status = 'open'
(note i have added 'AS count' in there so it stores the value in
'count')
Now when you output the result write it as $line->count
Cheers
Steve
"Chris
Use this: ($dateInYourForm gives the date in three months time in the form
you gave below.
$threeMonths = mktime(0,0,0,date("m")+3,date("d"),date("Y"));
$dateInYourForm = date("d/m/Y",$threeMonths);
Cheers
Steve
"Manuel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTEC
When i use the alter statement in the PHP function mysql_db_query( ) I get a
permission error. I can CREATE tables, DROP them etc so there are no
permission problems as far as I know. Can anyone help ?
Steve
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://