On 11/14/2014 1:46 PM, Mark Murphy wrote:
Problem is that for the resource, the type is changed to Unknown by a
different mysql_query within the loop. Any idea what will cause this?
Maybe show us the whole code so we can see what you are telling us?
--
PHP Database Mailing List
Hi All,
I have attached the table structure and the PHP code.
Best,
Guru.
===Database dream
== Table structure for table dream
|--
|Field|Type|Null|Default
|--
|mwool40|varchar(100)|Yes|NULL
|gwool25|varchar(100)|Yes|NULL
|wmesh24|varchar(100)|Yes|NULL
|shkote30|varchar(100)|Yes|NULL
with binding parameter to oracle procedures in php.
If I remove the binding the procedure works. If I add it it fails.
Any ideas
David
-Original Message-
From: Roberto Mansfield [mailto:[EMAIL PROTECTED]
Sent: 26 June 2007 16:09
To: php-db@lists.php.net
Subject: [PHP-DB] Re: Error
the procedure works. If I add it it fails.
Any ideas
David
-Original Message-
From: Roberto Mansfield [mailto:[EMAIL PROTECTED]
Sent: 26 June 2007 16:09
To: php-db@lists.php.net
Subject: [PHP-DB] Re: Error
This could be a problem with your ORACLE_HOME and/or NLS_LANG
environment
On Tue, 28 Sep 2004 20:28, [EMAIL PROTECTED] wrote:
Dear friends,
Script writes to database, however gives this error while on internet web
server, on local host doesn't give same error.
Any guidance, please
Thank you
-
Back to Main
Notice:
Suggestion, please note out where line 9 is exactly.
Some mail clients will use wordwrap and some not so
the lines may not be the same on every mail client
so line 9 could be more like line 14 on some and
line 9 on others. Just //comment where line 9
is so we know and can answer your question
Thanks to those who helped on this. It helped to re-start the server. But
the other problem I found out was that register_globals was turned off by
default, so variables passed, as for instance ?ID=3 in the URL, were not
recognised. I turned register_globals on in the Apache config file:
Here is one line of my new query:
INSERT INTO article_keyword (aid,keyword,weight) VALUES (3, 'gases',
13.42282);
I get the same error:
You have an error in your SQL syntax near '; INSERT INTO article_keyword
(aid,keyword,weight) VALUES (3, 'gases', 13.42282)' at line 1
--
JJ Harrison
[EMAIL
Ok, if anyone else is having the same trouble with PHP 4.2.1, David
Robley's suggestion (Thank you David!) works. I am not to proud to have
missed the obvious :)
If you are having trouble loading files (LOAD INFILE...) with PHP into
MySQL, just do a chmod($file, 0777), and it works. Not
Whoops :),
Yes, this is using phpMyAdmin, trying to use the Insert data from a
textfile into table function, which uploads a file and the attempts to
LOAD DATA INFILE. Like I said below, it worked on PHP 4.1.2, then when
upgraded to PHP 4.2.1, it gave the error :
The file '/tmp/phpr4WYQY'
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says...
Whoops :),
Yes, this is using phpMyAdmin, trying to use the Insert data from a
textfile into table function, which uploads a file and the attempts to
LOAD DATA INFILE. Like I said below, it worked on PHP 4.1.2, then when
upgraded to
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says...
I am getting this error with a new install of PHP4.2.1 and Zend
Optimizer 1.3.1:
The file '/tmp/phpr4WYQY' must be in the database directory or be
readable by all
I just updated PHP and the Zend Optimizer, and it had worked
Hmm,
Seems if I execute ./configure (with arguments) from termial (shell prompt)
no error. But when executed from shell script there is an error.
Does this make sense?
Greg Robinson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Executing from a script file I
Ok, solution seems to be eliminating comments in the script.
When comments are removed, script errors also disappear.
Greg Robinson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hmm,
Seems if I execute ./configure (with arguments) from termial (shell
prompt)
the only time i've had this (not sure if it was 127) but i couldn't get the
properties etc was after i named a table with a name that was a keyword.
check the list in the docs as the list is quite long.
i called mine 'returns'
doh!
Steve
Cami [EMAIL PROTECTED] wrote in message
[EMAIL
15 matches
Mail list logo