Hi,
Can you please help me with the following
This is in the array($info[0]["bdnadvocaat"])
Array ( [count] => 2 [0] => 210 [1] => 149 )
This is the code:
$testje=array($info[0]["bdnadvocaat"]);
$test=array_shift($testje);
print_r($test);
This is the output
Array ( [count] => 2 [0] => 210 [1]
O.K. Again;
I have an array with one or more values, which must be selected in the
database
Array ( [count] => 1 [0] => Array ( [clientaccountmanager] => Array (
[count] => 2 [0] => 210 [1] => 149 )
Now i this is my select..
I've got the following Query="select * from client WHERE
clientaccountm
Hi All,
Hope you can help me out..
Array ( [count] => 1 [0] => Array ( [clientaccountmanager] => Array (
[count] => 2 [0] => 210 [1] => 149 )
I've got the following Query="select * from client WHERE
clientaccountmanager='$value of array1' OR '$2nd value of array 1'"
So that the query loops throu
Hi all!
Can you please help me with the following;
I've got a form (that comes in 'three parts' a1.php a2.php and a3.php)with sessions
that refuses to go back!
On A2.php and A3.php i made a back button like:
and
And i've added the follwing line directly after Session_start();
header("Cac
Kim,
It worked!
Thanks,
Frank
"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well, seems you have some confusing logic here, since you
> print out the option before you check if it should be checked.
> To top it off, when its accually checked you write out an empt
Thanks Torsten Roehr, it works!
Frank
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Dear all,
> >
> > Can you please help me with the following?
> >
> > I have written the following script: If i hav
Hi All,
Can you please help me with the following; Is there a function in PHP that can do the
following;
When you have output in the database like this: "HeLlo WorlD" then you convert it to
all caps "HELLO WORLD" or just the first character that is only caps "Hello world".
I googled and looked
Thanks for the help, and pointing out the security risk, Chris & David!
Regards,
Frank
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "David Otton" <[EMAIL PROTECTED]>; "Frank Keessen"
<[EMAIL PROTECTED]>
Cc: <
Hi Guys,
Sorry to trouble you on a saturday night (at least in The Netherlands...)..
Get a parse error on line 42, but i can't see what is causing the trouble. (Parse
error: parse error in /home/.sites/95/site92/web/admin/editreis.php on line 42)
if(is_array($_POST['accomodatieid'])) {
foreach(
O.K.
When i do this:
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, November 01, 2003 11:59 AM
Subject: Re: [PHP] Put output of mysql into an Array
> Frank Keessen wrote:
>
> > Hi,
> >
> > Can somebody help me
Hi,
Can somebody help me with the following?
I want to have the outcome of this:
$query = "SELECT markhow, COUNT(*) FROM prospects GROUP BY markhow";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
Put into an array like this (for example);
array(
Hi all,
Thanks for the quick response.. Did a little bit more investigation: (and
made additions to my table)
++++++
| testid | testf1 | testf2 | testf4 | testf5 | frankid
++++++
| 1 | 3 | 4 | 0 |
Hi All,
I hope you can help me with this:
I have a tabel in my database like this
TEST
fieldnameValue's
testid 1
testf1 3
testf2 4
testf3 0
testf4 2
testf5 0
(so this is one record!)
I want to display the lowest value, except
Hi there,
Can you please have a look at the following code:
I've got two questions;
1. I'm trying not to display the fields that are empty with: if
(!empty($row9->prijs4pk)){
But it's still display the line and there is no value in PRIJS4PK field.
2. How can i reduce the amount of Queries??
ot; <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 11:02 PM
Subject: Re: [PHP] Array transform date and put in a session
Hello,
This is a reply to an e-mail that you wrote on Tue, 29 Jul 2003 at
21:42, lin
Hi All,
Can you please help me with the following:
I've got a form with a field called datebirth[];
After submitting the form; it must put the datebirth field (or fields) into the mysql
format -mm-dd and after that put it in a session:
$date_array = split("-", $_POST['datebirth']);
$mysqld
Hi,
Maybe is this what you want;
http://www.eternalmart.com/
Regards,
Frank
- Original Message -
From: "Juan Nin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 12, 2003 1:47 AM
Subject: [PHP] Mailing list server with PHP frontend
> Hi!
> I want to know if anyone kn
Original Message -----
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 4:06 AM
Subject: Re: [PHP] Array in a $_session
> Frank Keessen wrote:
>
> > Hi
($i=1; $i<=$_SESSION['test1'][$i]; $i++)
{
echo $test1;
}
Frank
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 11:58 PM
Subject: Re: [PHP] Array in a $_session
> On Tuesday 17 June 2003
{
$_SESSION['test1'][$i] = $_POST['test1'][$i];
}
header("Location: step3.php");
}
(page 3)
session_start();
$test1 = $_SESSION['test1'][$i];
echo $test1;
for ($i=1; $i<=$_SESSION['test1'][$i]; $i++)
{
echo $test1;
}
Thanks for your tim
Hi,
Still strugling with array's ;> : Can you help me with this??
How can i put that value into an $_SESSION??
Something like $_SESSION["test1"][$i]??
This is the way i put into a database
foreach($_POST['test1'] as $i => $Value) {
$query = "INSERT INTO test (test1, test2, test3, test4 , te
;;
> $result = mysql_query($query);
That one did the trick!
Thanks James and Wouter for helping me out!
Frank
----- Original Message -
From: "esctoday.com | Wouter van Vliet" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; "James Hicks&qu
nk
----- Original Message -
From: "Frank Keessen" <[EMAIL PROTECTED]>
To: "James Hicks" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, June 15, 2003 8:59 PM
Subject: Re: [PHP] Capturing the input of dynamic form fields (part II)
> Hi Ja
Hi James,
Sorry to say; I've put your code in it but there are no error message's
displaying and there is no value inserted in the database... Any clue???
Regards,
Frank
- Original Message -
From: "James Hicks" <[EMAIL PROTECTED]>
To: "Frank Keessen&q
Dear all,
Refering to my first e-mail with the same subject; I've reworked the code to this:
But the only problem is; Nothing is written into the mysql database! And there are no
error displayed..
Can someone have a look at my code?
";
echo "# $i";
}
?>
Thanks very much,
Frank
Dear all,
Can you help me with the following or point me to the right direction;
I'm receiving value's of two fields called test1 and test2. Both fields can have
multivalue's. The first field called test1 is going o.k. with the following code;
if(is_array($_POST['test1'])) {
foreach($_POST['tes
Hi,
Hope you can help me:
How can i do the following in PHP:
When a variable is for example:
$a = 7
I must do the following 6 * X and 1 * Y, but when $a = 4 it must only do 4 * X.
So every when the value is odd i must do # * X and # * Y..
Some examples or hints are very welcome! Sory that
Don,
Are you using phpmailer of http://phpmailer.sourceforge.net/ ???
Looks like:
require("class.phpmailer.php");
this is not properly configured! Please check if the path is going alright..
Regards,
Frank
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PR
Hello everyone,
I've got the following problem: I've got two fields called test1[] and test2[]. The
value's are stored in an array. For the test1 i can read the array and print the list
of value's after the submit. But question is:
if(is_array($_POST['test1'])) {
foreach($_POST['test1'] as $Key
Dear all,
Fixed it!
Typed again the Header syntax and it worked!
Also installed Mozilla!
Thanks for the help!
Frank
- Original Message -
From: "Frank Keessen" <[EMAIL PROTECTED]>
To: "Emma Jane Hogbin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]&g
Hi,
The original code:
- Original Message -
From: "Emma Jane Hogbin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 8:49 PM
Subject: Re: [PHP] Session not working?
> On Mon, Jun 09, 2003 at 08:18:10PM +0200, Frank Keessen wrote:
>
#x27;2pk'] = $tweepk;
header( "Location: test3.php" );
}
test3.php
Txs for the help,
Frank
- Original Message -
From: "Emma Jane Hogbin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 8:49 PM
Subject: Re: [PHP] Session not work
D]>
Sent: Monday, June 09, 2003 8:10 PM
Subject: Re: [PHP] Session not working?
> On Mon, Jun 09, 2003 at 08:08:18PM +0200, Frank Keessen wrote:
> > I get page not be displayed...
> > Even with the full URL in the HEADER section it doesn't work..
>
> What's the
Hi,
I'm I missing something? I'm trying to get data into a session (booking.php) and then
print it off by a second page (test3.php).
booking.php:
$_REQUEST["submit"]=isset($_REQUEST["submit"])?$_REQUEST["submit"]:"";
if($_REQUEST['submit']!="")
{
$dater=$_POST['$dater'];
$aantalvol=$_POST['$aan
Hi,
you can go to www.3shost.com very cheap and very good! My collegue's have
their website running their.. Due to some specific settng's i'm hosting in
the Netherlands..
Regards,
Frank
- Original Message -
From: "Awlad Hussain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday,
Hi,
Maybe you can help me with the following: I have a list of visitors that want some
documentation.. I'm displaying a list with a checkbox so i can check the one's that
received the documentation. So what is must do; it must update a table called
prospects and set the value of a field called
id, accid) VALUES (LAST_INSERT_ID(),
'.$_POST['somename'].')';
$result = mysql_query($query) or die ("Error in query: $query. " .
mysql_error());}
}
?>
>
First Thingie
Second Thingie
Third Thingie
Fourth Thingie
Fifth Thingie
- Original Message -
From: &
id, accid) VALUES (LAST_INSERT_ID(),
'.$_POST['somename'].')';
$result = mysql_query($query) or die ("Error in query: $query. " .
mysql_error());}
}
?>
>
First Thingie
Second Thingie
Third Thingie
Fourth Thingie
Fifth Thingie
- Original Message -
From: &
Jim,
Why does the data have to be reindexed??? I don't understand, can you give
me an explenation?
Thanks,
Frank
- Original Message -
From: "Jim Lucas" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent:
Hi Guys,
I'm trying to do the following:
I've got a multiple selection box build out of a query of table
0)
{
while($row2 = mysql_fetch_object($result2))
{
?>
Somewhere ; ?>
The outcome is stored in the VALUE[]..
Now i want to have an INSERT query that insert each value sepera
Hi,
I found this one and it's quite handy;
http://phpmailer.sourceforge.net/
Regards,
Frank
- Original Message -
From: "Ian A. Gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 2:47 PM
Subject: [PHP] html mail
> Hi,
> I am quite new to php and I am trying
Hi Mike,
I've googled something for you!
http://www.entropy.ch/software/macosx/php/#install
Everything about PHP and running it on the MAC OS X..
Regards,
Frank
- Original Message -
From: "Mike Tuller" <[EMAIL PROTECTED]>
To: "php mailing list list" <[EMAIL PROTECTED]>
Sent: Friday, M
Thanks guys for the info; I will speak to my ISP!
Have a nice weekend!
Regards,
Frank
- Original Message -
From: "Rich Gray" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Sunday,
Hi All,
I'm trying to get a random record each time this script runs; Only it's giving me
everytime the first record back.. No random at all..
// generate and execute query
$query = "SELECT stedenid, naamstad, stadomschrijvk FROM steden ORDER BY RAND() LIMIT
1";
$result = mysql_query($query) or
Hi,
You can let the users enter a date as 20-02-2003 into a textfield with the
name $userdate
Then you can use this function to convert it;
$date_array = split("-", $userdate);
$mysqldate = $date_array[2]."-".$date_array[1]."-".$date_array[0];
Store $mysqldate into the database!
Regards,
Fran
login.htm) statement..
better explained??? ;>
Thanks,
Frank
- Original Message -
From: "Rich Gray" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 1:25 PM
Subject: RE: [PHP] $_SESSION
or example
User Frank = level 1
User Rich = level 2
I've set $_SESSION['level'] to 2 but how can i check that with the above
line?
Thanks for your help,
Frank
----- Original Message -
From: "Rich Gray" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL
Hi All,
I'm a little bit confused and it's maybe a newbie question but maybe you can help me
out;
A user is login in and after username password check it will redirects to this page
Question is; is this the way to print of his username?
$username = $_SESSION['username'];
Echo $username
Or h
Hi,
Thanks guys for helping me out!
Regards,
Frank
Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; "Jon Haworth"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, Febr
Hi,
Thanks for the answer; but there is nobody who can show me an example in
code???
Regards,
Frank
- Original Message -
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 1:45 PM
Subject: RE: [PHP] Dynamic input fields in
Wow!! It worked... Sorry for the confusion about the get!!
Thanks guys, i can go further!!! Have a nice weekend!
Regards,
Frank
- Original Message -
From: "Rich Gray" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
iginal Message -
From: "Johannes Schlueter" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 12:25 PM
Subject: Re: [PHP] If... Else.. I'm not getting it!
Hi,
On Saturday 25 January 2003 12:
IL PROTECTED]>
Sent: Saturday, January 25, 2003 11:36 AM
Subject: Re: [PHP] If... Else.. I'm not getting it!
> On Saturday 25 January 2003 18:27, Frank Keessen wrote:
>
> > But when i'm using IF Else.. Nothing is happening. I'm only seeing the
form
> >
Hi all,
Please can you help me with the following:
If got a little sample code:
This one is working (!):
Input yourname
But when i'm using IF Else.. Nothing is happening. I'm only seeing the form but when i
submit that form: The $vname doen't display..
Here is the code that doesn't wo
Hi,
Thanks for the great help! It's working now!
The solution:
$query = "SELECT Newsheadline, News, Contact FROM news WHERE Newsid =
{$_GET['id']}";
Regards,
Frank
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "Frank K
7;id']}";
$result = mysql_query($query) or die ("Error in query: $query. " .
mysql_error());
Regards,
Frank
- Original Message -
From: "Danny Shepherd" <[EMAIL PROTECTED]>
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECT
Hi All,
Can you please help me with the following problem? I've had code wich was running fine
with php till i've upgraded to PHP version 4.2.3.
The original code line was:
$query = "SELECT Newsheadline, News, Contact FROM news WHERE Newsid = '$id'";
but it's not working when you have register
57 matches
Mail list logo