[PHP-DB] I looking for OCI8 client library files.

2003-06-09 Thread soony
Hi, phpers.. I looking for OCI8 client library files for using OCI function in PHP to control Oracle DB. I like any information about that. -- ¡Ù:+:¢½:+:¡Ú:+:¢¾:+:¡Ù:+:¢½:+:¡Ú:+:¢¾:+:¡Ù:+:¢½:+ my friends, my family, my dreams and my love.. ¦¬¦¬¦¬ ¦¬¦¬¦¬ ¦±¦¬¦¬¦¬¦° »ý°¢Çϸé Áñ°Å¿î°Íµé..!

Re: [PHP-DB] removing values from arrays

2003-06-09 Thread Edwin Boersma
You can also use unset(): if (!array[$key]) unset array[$key]. Edwin Peter Beckman wrote: $x=0; while ($row = mysql_fetch_array($r)) { while(list($key,$val)=each($row)) { if (!empty($val)) $mydata[$x][$key] = $val; } $x++ } Peter On Wed, 21 May 2003, John wrote: ok I've

[PHP-DB] MySQL CONNECTION PROblem

2003-06-09 Thread nabil
i have the dbconnect.php as : // ?php mysql_connect(192.168.0.111 , root , pass) or die (Couldn't connect to database); mysql_select_db(DatabaseName) or die(sorry database not found); ? /// when i put localhost instead of the IP address of my machine (localy) i got

[PHP-DB] MySQL CONNECTION PROBlem2

2003-06-09 Thread nabil
Sorry , when i put the IP instead of localhost i got the error... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] problem with read file

2003-06-09 Thread Bill Branislav
Hi all, I have problem with read file from other PC on LAN. I have full permisions to this folder and file (200kB). file is exists. I dont know where is the problem. Can anybody help mi? thanks. Warning: readfile(//tarif/c/winatu/xdata/200304.atu) [function.readfile]: failed to create stream:

RE: [PHP-DB] ?? Login problems ??

2003-06-09 Thread JeRRy
Hi, This message is regarding my original post of the following subject/topic: [PHP-DB] ?? Login problems ?? I wish to say that the problem has been fixed. Thankyou to those people that helped me with the problem via this message board and direct email. I no longer require help on this

RE: [PHP-DB] MySQL CONNECTION PROblem

2003-06-09 Thread John W. Holmes
i have the dbconnect.php as : // ?php mysql_connect(192.168.0.111 , root , pass) or die (Couldn't connect to database); mysql_select_db(DatabaseName) or die(sorry database not found); ? /// when i put localhost instead of the IP address of my machine

RE: [PHP-DB] php to make form field for each column then update page.

2003-06-09 Thread John W. Holmes
I have used asp2php to convert an asp site and the update page does not iterate the form contents. This part saves me making a giant form by making it dynamically- $dbrec=getrec($result); form... while (list($k,$v)=each($dbrec)) { echo $knbsp;input type='text' value='$v'

[PHP-DB] Re: Glitching install script.

2003-06-09 Thread Cristian MARIN
The begin var exist ? You are receiving the NOTICE because the var begin is not instantiated. For a complete debug send me a short db drop (without data if no data needed) and the xenosetup.php and with other related files. -- - Cristian MARIN

[PHP-DB] Re: MySQL CONNECTION PROBlem2

2003-06-09 Thread Cristian MARIN
You don't have the rights to connect to the MySQL server with [EMAIL PROTECTED] You have to add this user to the mysql users table and to allow him to do the needed actions. Also you have to modify the hosts table. -- - Cristian MARIN InterAKT

[PHP-DB] php-db Form var perpetually resetting

2003-06-09 Thread Mignon Hunter
hello all I am trying to customize a shopping cart. I need to inject a page in the checkout process that must be checked (terms and conditions), before continuing. I have it working halfway. In checkout_payment.php I have an if stmt

Re: [PHP-DB] php-db Form var perpetually resetting

2003-06-09 Thread CPT John W. Holmes
I am trying to customize a shopping cart. I need to inject a page in the checkout process that must be checked (terms and conditions), before continuing. I have it working halfway. In checkout_payment.php I have an if stmt

[PHP-DB] how to update field without using UPDATE query?

2003-06-09 Thread Steve B.
how to update field without using UPDATE query? I open the db at a certain ID then set $dbrec['field'] = new value How do you update the db? Thanks -steve - Do you Yahoo!? Free online calendar with sync to Outlook(TM).

Re: [PHP-DB] how to update field without using UPDATE query?

2003-06-09 Thread Becoming Digital
I assume you lack update permissions, which means you probably don't have the other permissions necessary to change data. Assuming you actually do, you could use REPLACE or DELETE followed by INSERT. Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From:

Re: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread Steve B.
Hi in asp it lets me say ~get a record into dbrec which is a database object. dbrec['field1'] = 'wow' dbrec.update; is there no way to do this in linux? thats lame if it is then that means my 25 web sites have to be re-written to work on Linux. --- Becoming Digital [EMAIL PROTECTED] wrote: I

Re: [PHP-DB] how to update field without using UPDATE query? you arekidding?

2003-06-09 Thread Becoming Digital
I'm sorry, but that is the most confusing question I've heard in some time. The operating system has nothing to do with your ability to update the DB. That is a user permissions issue. If you're referring to PHP as Linux, I can see where the confusion came from. I'd like to help you. So I can

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread John W. Holmes
in asp it lets me say ~get a record into dbrec which is a database object. dbrec['field1'] = 'wow' dbrec.update; is there no way to do this in linux? thats lame if it is then that means my 25 web sites have to be re-written to work on Linux. Okay, you're still confused. This has nothing

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread Steve B.
It sounds like you are crying John. Perhaps you know this function? I'm trying to learn PHP holmes. Keep the insults to yourself and help out if you know the answer. --- John W. Holmes [EMAIL PROTECTED] wrote: in asp it lets me say ~get a record into dbrec which is a database object.

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread John W. Holmes
Don't take that the wrong way. You've already posted 3-4 messages on here complaining that PHP/Linux doesn't have a dbrec.update function. I am helping out and I do know the answer: create an UPDATE query. If you have 125 fields, then, yeah, it'll be a long query. Nothing says you have to type

[PHP-DB] Way to update field thx Digital

2003-06-09 Thread Steve B.
This souce generates a form for editing a database record. It 'manually' puts code for the most important fields at top. It worked in asp despite repeating fields in array list. form action='update.php?ID=? echo $dbrec[ID]; ?' method='POST' Streetnum: input name=Streetnum value='?

[PHP-DB] Resolved: Glitching install script.

2003-06-09 Thread Fulco of Scarborough
I have gotten this script working like this: *Begin Code** html head titleXenology Database Install Script/title /head body bgcolor=#FF text=#00 ?php error_reporting(E_ALL); require(xenosetup.php); $con = mysql_connect($host, $user, $pass) or die (I cannot connect to

[PHP-DB] Printing Issue

2003-06-09 Thread birdto
Hi All, I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same heading in every page. How can I do this? Regards, Berthold

Re: [PHP-DB] Way to update field thx Digital

2003-06-09 Thread Jason Wong
On Tuesday 10 June 2003 11:43, Steve B. wrote: [snip] Yes I could make a form that loops the db fields and an update page that loops the form fields and creates an UPDATE string. This is the correct way yes? Yes. The reason I'm asking is because I have more sites and this will take a lot