[PHP] SQL Help

2002-04-16 Thread De Necker Henri
Hi There. I want to ceate a query that deletes the duplicates for a certain attributes.The table consits of a company id and a course. If a company id and a certain course appears more than once it must be deleted Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP] Hoekom is jy so still??

2001-11-30 Thread De Necker Henri
Jy word net ryker om op jou ass te sit.n Rand kos nou R14,85. Wat se jy daar van? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Student need help

2001-11-30 Thread De Necker Henri
Why does Russia have so much beautiful women? -Original Message- From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 12:45 To: [EMAIL PROTECTED] Subject: [PHP] Student need help Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net

[PHP] Re: Help with directory !

2001-11-30 Thread De Necker Henri
Thanks Jason & Jani!Both ur ways work! $loc = "..\files\poese.txt" $loc = "..\\files\\poese.txt" But another question that comes to mind is that why must i include the '..\' to move down to a sub-directory? I thought '..\' moves up a directory tree! This also works both ways : $loc = "../files

RE: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread De Necker Henri
Thanks Jason & Jani!Both ur ways work! $loc = "..\files\poese.txt" $loc = "..\\files\\poese.txt" But another question that comes to mind is that why must i include the '..\' to move down to a sub-directory? I thought '..\' moves up a directory tree! This also works both ways : $loc = "../files

RE: [PHP] Re: Help with directory !

2001-11-30 Thread De Necker Henri
November 2001 10:25 To: [EMAIL PROTECTED] Subject: [PHP] Re: Help with directory ! The first one looks like a *nix directory and the second one looks like a windows direcrory. Perhaps it will work if you switch your slashes around. Fred De Necker Henri <[EMAIL PROTE

[PHP] Help with directory !

2001-11-30 Thread De Necker Henri
Hi there.Im cant just get to access a file in a directory form my localhost dir. The file : $loc = "./doos.txt" i can access, but the following i can't : $loc = ".\files\doos.txt" What am i doibg wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] Re: Need help with a stupid problem!

2001-11-29 Thread De Necker Henri
: $search .= " ba = '$b'"; If above doesn't satify the needs, maybe you are mysql_escape_string(); it? -- Julio Nobrega No matter where you go, &this. "De Necker Henri" <[EMAIL PROTECTED]> wrote in message 3A8ED7A62794D311AA7700508B6164EC08DCA3E5

[PHP] Need help with a stupid problem!

2001-11-29 Thread De Necker Henri
Hi there! I want to do the following piece SQL query : $search .= " ba = '".$b."'"; I want it to be like the following : ba = 'someting' But this is what i get : ba = \'someting\' What am i doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Infomation wanted

2001-11-26 Thread De Necker Henri
I want to know where can i find a script that will allow a user to login every certain time period! I just cant get it right! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admini

RE: [PHP] MySQL query problem!

2001-11-22 Thread De Necker Henri
On waht systems does encrypt() work on.In my Mysql client my query results are null,so i dont have encrypt on my system! -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: 23 November 2001 08:24 To: De Necker Henri; PHP-General (E-mail) Subject: Re: [PHP] MySQL query

[PHP] MySQL query problem!

2001-11-22 Thread De Necker Henri
I have the following query $query = "INSERT INTO acl ( username, password ) VALUES ( 'henri', ENCRYPT('diesel','henri') )"; This is the error i get : Column 'password' cannot be null What is wrong with my query? -- PHP General Mailing List (http://www.php.net/) To u

RE: [PHP] mysql export to excel

2001-11-21 Thread De Necker Henri
What is the problem?I know it works! -Original Message- From: Stanley [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 12:34 To: [EMAIL PROTECTED] Subject: [PHP] mysql export to excel Hi, Can anyone tried to export mysql database to excel spreedsheet? pls advise. urgent! Thanks! Rega

[PHP] Help with PHP_AUTH_USER needed.

2001-11-20 Thread De Necker Henri
Hi there!I want to know how to reload the following script of mine by using a cookie.If the cookie expires the user must lgin again.I can get it right to reload the authentication script This is my code im using in my secure pages : require_once("inc/db.inc"); if(!isset($Cookie)){ include("qui

[PHP] FW: Array problem

2001-11-19 Thread De Necker Henri
> Hi there.I just want to know if the following code is suppose to work or > not? > I thing it must work! > Is there something wrong with my while() funtion or must i use other > functions? > > $query = "SELECT co_id FROM employee ORDER BY co_id"; > db_connect($query); > while($row=db_rang

[PHP] Array problrem!

2001-11-14 Thread De Necker Henri
Hi there. I have an array like this : 1.2 , 0.3 , 0.5 , 1.6 , 0.3 I output like this: while($data_array[$j]){ echo "$data[$j]" ; $j++ ; } My output is like this : 1 , 0 , 0 , 1 , 0 The values in the db are floats and are read correctly ! Why is the values not there.Is there a sp

RE: [PHP] Form's : making me sick!

2001-11-13 Thread De Necker Henri
ailto:[EMAIL PROTECTED]] Sent: 13 November 2001 15:19 To: PACKER, Steffan Cc: 'De Necker Henri'; PHP-General (E-mail) Subject: RE: [PHP] Form's : making me sick! Couldn't you also make your initial page a php page? So then you would have onChange as Steffan says but then pa

[PHP] Form's : making me sick!

2001-11-13 Thread De Necker Henri
I just want to know how to make a inside a get to respond or dont make any browser errors? It looks someting like this : //This must change the next values ! //this values must be cahnge

[PHP] Unix timestamp ?

2001-11-12 Thread De Necker Henri
What is the max. size of a timestamp in vanchar value ? I have seen it varies between 9 & 10.Will it be bigger than 10 or not ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin

[PHP] Functions to big

2001-11-09 Thread De Necker Henri
> Hi there ! > > I just want to know what is the max size that a function can be before it > becomes out of range for the function that follows? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP] Functions to big

2001-11-09 Thread De Necker Henri
Hi there ! I just want to know what is the max size that a function can be before it becomes out of range for the function that follows? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Function not found

2001-10-29 Thread De Necker Henri
Where can i find the code for the "array_search()" function in php4.I do have php4 but the function isnt found.The "in_array()" function is found. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

[PHP] RE: Array

2001-10-28 Thread De Necker Henri
Now i did the following : My output is only null or blank values!,but my data is there! while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; echo "$co_id $surname"; # This works perfect! $values[$i]['id'] = $co_id; $values[$i]['surname'] = $surname; $val

[PHP] Array's

2001-10-28 Thread De Necker Henri
Please help! Im have been trying to get a multi-dimentional array for so time now and dont seems to get a right! I have the following : while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; $acid[$i] = array("$a"=>array("$co_id"), "$b"=>array("$sur

[PHP] Link problem

2001-10-26 Thread De Necker Henri
I want to know how to open an Excel file from a link in an web pages I did try this but an error box appears telling me the following : warehouse_credits.xls is not accessible The computer or share name could not be found This is my link: href="file://warehouse_credits.xls" File sharing on

[PHP] RE: Help with Query

2001-10-22 Thread De Necker Henri
> Hi there. > > I have the following question for u. > I want to join two tables but it must be displayed in the a specific > format. > > The data of the tables are as follow : > > Table employee : > > idsurname initialsba > 1 PoepH ER >