[PHP-DB] php5/quotes/reserved words episode II

2005-03-16 Thread mel list_php
I found some information on pear: [2004-08-17 13:53 UTC] troy at versiontwo dot com dot au I could only find a list of reserved words for php4. However, I can assure you that the following words are now reserved for php5: try, catch, throw, exception, public, private, protected, abstract,

[PHP-DB] quotes/private

2005-03-16 Thread mel list_php
Hi list! I have a php5-related problem I think. I do a sql query and retrieve an array. $resultTask = mysql_query(select * from dbTask where taskId=$taskId) or die(erreur recup task.mysql_error()); while( $row_resultTask = mysql_fetch_array($resultTask ) ) { $ownerId=$row_resultTask[ownerID];

Re: [PHP-DB] big data base

2005-03-16 Thread Bastien Koert
just a few thoughts myself bastien From: Kevin [EMAIL PROTECTED] To: php-db@lists.php.net Subject: Re: [PHP-DB] big data base Date: Wed, 16 Mar 2005 04:32:49 +0100 Martin Norland [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] luis medrano wrote: Hi All, I need you help. I need to

[PHP-DB] grabbing data from other peoples sites

2005-03-16 Thread Perry, Matthew (Fire Marshal's Office)
I have searched the archives as it this question has almost assuredly been asked countless times. Unfortunately I have no idea what sort of keyword or parameter is applicable for this topic. History Here is a brief history of the problem we are trying to solve. Feel free to skip this

Re: [PHP-DB] grabbing data from other peoples sites

2005-03-16 Thread Martin Norland
Perry, Matthew (Fire Marshal's Office) wrote: [snip] What this has to do with PHP Is there a way to write some sort of PHP script that accesses to the county auditors website, automatically enters the info into their form, grabs whatever information is outputted, imports the data into our SQL

Re: [PHP-DB] variable and MySQL

2005-03-16 Thread Mark Cain
I think I understand your question. Perhaps what you want is not a variable variable -- but a variable (determined from the context). Variables always vary depending on the situation as opposed to a constant which - uhh -- stays constant. Combine the variable and the constant in a new variable

Re: [PHP-DB] Session in URL

2005-03-16 Thread Mignon Hunter
Hello I have tested this app on my machine but it doesnt do this - but when testing on development server, my script is displaying the session in the url. I was reading in man about session.use_only_cookies can keep this from happening but the dev server has php 4.1.2 Is there another way to

Re: [PHP-DB] Error with Where Clause

2005-03-16 Thread Mark Cain
use backticks (read -- not single quotes, not double quotes, but backticks) to quote your fields such as where `1091vote038.state` = `109caucuses1.state` It is possible that the code is interpreting the 109 part of your table name as a integer. That just might do it. Mark Cain -

Re: [PHP-DB] php and serial port

2005-03-16 Thread Mark Cain
You could try this code http://www.phpfreaks.com/quickcode/code/156.php I found it by doing this search: http://www.google.com/search?hl=enq=php+serial+port Mark Cain - Original Message - From: Rodrigo Cabeceiras [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Tuesday, March 15,

Re: [PHP-DB] - Session in URL - wrong list

2005-03-16 Thread Mignon Hunter
Sorry I posted this to wrong list - meant to send to general...should I re-post or no. * Hello I have tested this app on my machine but it doesnt do this - but when testing on development server, my script is displaying the session in the url. I was

Re: [PHP-DB] variable and MySQL

2005-03-16 Thread Sam Street
Mark Cain wrote: I think I understand your question. Perhaps what you want is not a variable variable -- but a variable (determined from the context). Variables always vary depending on the situation as opposed to a constant which - uhh -- stays constant. Combine the variable and the constant in

RE: [PHP-DB] quotes/private

2005-03-16 Thread Rob Agar
hi Melanie From: mel list_php [mailto:[EMAIL PROTECTED] My question is : 1/ the normal syntax into the brackets: with , ' or nothing? I think it should be but I'm unsure. Single quotes, but check out http://au2.php.net/types.string for details why :) 2/it's working with other words

[PHP-DB] Re: recommending a PHP book?

2005-03-16 Thread freaky . irish
Try this: http://www.free-itebooks.com/php-mysql-free-itebooks/ and maybe you'll find ebook you're looking for -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Query was empty - Strange problem

2005-03-16 Thread Vinayakam Murugan
Hi I have an application in which i am connecting to three different databases. I have three connect and query procedure. I am facing problems with one of these databases.

Re: [PHP-DB] Query was empty - Strange problem

2005-03-16 Thread Vinayakam Murugan
This is a common procedure. $Query is being passed to it. As I had said before, i had tried echoing $Query before and after the mysql_query statement and it displays a proper query. That's what driving me nuts! :-( On Wed, 16 Mar 2005 22:36:13 -0800, Stephen Johnson [EMAIL PROTECTED] wrote: I

Re: [PHP-DB] Query was empty - Strange problem

2005-03-16 Thread Vinayakam Murugan
Here is the entire function function Executequery($Query) { global $Error, $Hostname,$Loginname,$Passwd,$Dbname,$Conn; $Conn = mysql_pconnect($Hostname,$Loginname,$Passwd);

Re: [PHP-DB] Query was empty - Strange problem

2005-03-16 Thread Stephen Johnson
I do not see where you are populating $Query -- therefore your query would be empty -- On Mar 16, 2005, at 10:30 PM, Vinayakam Murugan wrote: Hi I have an application in which i am connecting to three different databases. I have three connect and query procedure. I am facing problems with one