Re: [PHP-DB] Global variables, $_GET problem

2002-07-23 Thread Jason Wong
On Wednesday 24 July 2002 11:38, Ruth Zhai wrote: > We just upgraded our PHP to version 4.2.1. I realized that $var is no > longer available from www.url.com/myphp.php?var=3 . As instructed in the > document, we have tried two things: Good, someone who reads the docs :) > 1. I tried to use $_

RE: [PHP-DB] Global variables, $_GET problem

2002-07-23 Thread Beau Lebens
Ruth, your reference to $_GET('var') is close, but as you have seen - no cigar :) using the "()" after GET makes it refer to a function, but it is actually an array which is automatically created, so you need to use $_GET['var'] (note the square brackets as for point 2 (register_globals) did yo

[PHP-DB] Global variables, $_GET problem

2002-07-23 Thread Ruth Zhai
Hello php friends, We just upgraded our PHP to version 4.2.1. I realized that $var is no longer available from www.url.com/myphp.php?var=3 . As instructed in the document, we have tried two things: 1. I tried to use $_GET('var'), however, I got "Fatal error: Call to undefined function: array() i

[PHP-DB] Re: Storing Variable & Function Info

2002-07-23 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I've run out of ideas. I want to store a variable name and a > function call in a text column of a MySQL database and have them > interpreted at runtime, but I can't figure out how to do it. > > Examples: > "This is the $nbrtimes you

[PHP-DB] What is a mysql link ressource

2002-07-23 Thread Mathieu Dumoulin
Ok guys i got this problem here: I got a class i made that creates a link ressource for a mysql database. Stores it inside of itself with different login and password and other params. Other functions are also available for usage. When i start this class it connects fine, i can also use it no pr

[PHP-DB] PicoSQL!

2002-07-23 Thread Pentothal
I guess this is the wrong place to ask for a new PHP feature, but ... I don't know where else to ask! I just want to signal to C skilled (and willing) people here that there is a new interesting RDBMS server called picoSQL (www.picosoft.it). Besides beeing really small it's really full-featured

Re: [PHP-DB] odbc and primary key

2002-07-23 Thread salamander
Jaz, http://www.php.net/manual/en/function.odbc-primarykeys.php Best regards, Andrew Hill On Wednesday, July 17, 2002, at 08:16 AM, j.a.z. wrote: > How can i get the information if a field on a database (in my case > Access2000) is primary key via a php-odbc-function? > or does i have to use s

[PHP-DB] Storing Variable & Function Info

2002-07-23 Thread Raquel Rice
I've run out of ideas. I want to store a variable name and a function call in a text column of a MySQL database and have them interpreted at runtime, but I can't figure out how to do it. Examples: "This is the $nbrtimes you've asked." and "$answer is the square root of sqrt($nbr)." I've tried

[PHP-DB] obdc_pconnect problems

2002-07-23 Thread Escuder Nicolas
Hello, i use php as not a cgi it is include in my apache my odbc is a custom odbc driver so i try to use odbc_pconnect, the first time it connect to the db i saw the connection tcp by netstat and the next time (on the next page) i reuse pconnect with the same db user pass and sql cursor but

[PHP-DB] obdc_pconnect problems

2002-07-23 Thread Escuder Nicolas
Hello, i use php as not a cgi it is include in my apache my odbc is a custom odbc driver so i try to use odbc_pconnect, the first time it connect to the db i saw the connection tcp by netstat and the next time (on the next page) i reuse pconnect with the same db user pass and sql cursor but i

[PHP-DB] Re: Not sure what I am doing wrong here?

2002-07-23 Thread Jas
No kidding huh? Thanks a ton. "David Robley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > says... > > Ok, now I am not sure why I cannot get this output into a variable so I can > > place it into a databas