you have renamed places_data table to 'a'
2011/1/13 Harvey har...@harveyk.com:
Hello,
I have a query on a page that used to work fine, but is now generating an
error.
I assume that the version of php or mysql was updated on the webhost server
or something like that?
Here is the query:
It appears as if the php_mysql.dll module has problems loading the
libmysql.dll file.
Setting the PHP dir to the system path var did NOT work for me.
However, these options did:
a) copy the bundled libmysql.dll to the windows system32 folder.
b) OR, copy the bundled libmysql.dll to apache's BIN
It appears as if the php_mysql.dll module has problems loading the
libmysql.dll file.
Setting the PHP dir to the system %path% var did NOT work for me.
However, these options did:
a) copy the bundled libmysql.dll to the windows system32 folder.
b) OR, copy the bundled libmysql.dll to apache's
. Commands end with ; or \g.
Your MySQL connection id is 29 to server version: 4.0.16-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
What is the problem?
Thank you
Jose.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I'm trying to work with MySQL 4.0.16-standard and PHP php-4.3.4
I'm getting the folowing error:
Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/html/db_fns.php on line 5
Any Ideas what I am missing in the configuration.
If I run phpinfo() I get:
System Linux
I'm trying to connect to a MySQL database. I'm able to do it from mysql, I
can see my databases and tables.
When I try to see it from php I get the error:
Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/test2.php on line 3
What I'm missing in the configuration?
When
hi,
i was able to read from the file, thanks for your help, but one problem it gives me
the first 2 chars as garbage values and then proceeds to print out the enter file. so
how can i proceed to advance the file pointer. any suggestions.
regards,
roslyn
-
hi,
i have an array of strings and would like to create a single string from the array but
starting somewhere in the middle of the array index and not from the start, is there
any function for me to do a string concatenation. ive gone thro the manula and didnt
find any, but if u have any
hello,
ive saved a text file-note.txt with unicode encoding, and would like to print the
file, how could i do so?? ive written the following piece of code, pls tell me where
ive gone wrong.
?php
$filename=note.txt;
$fp = fopen ($filename,r);
$str=utf8_encode(file($filename));
echo $str[0];
hi,
thanks for the code, but i had tried it but got a fatal error: call to undefined
function utf8_encode(). i saved my text file as unicode encoding..going thro the
php.net site though...pls help if any ideas. thanks alot for the help. also am i
sposed to encode or decode, as the text file
got all of this code right from www.php.net. You should spend some
time there. It is the best doc site I've ever seen for any programming
language.
--Dave
roslyn jose wrote:
hello,
ive saved a text file-note.txt with unicode encoding, and would like to print the
file, how could i do so?? ive
HI,IVE BEEN TRYING TO PRINT THIS CODE, BUT KEEP GETTING AN ERROR: ?php
$filename=C:\Documents and Settings\roslyn\My Documents\note.txt
$fp = fopen (C:\Documents and Settings\roslyn\My Documents\note.txt, r);
$contents = fread ($fp, filesize ($filename));
echo $contents;
fclose ($fp);
?
THE
parse error is probably because of the \ in your
filename, you need to escape them with another \.
HTH
Beau
// -Original Message-
// From: roslyn jose [mailto:[EMAIL PROTECTED]]
// Sent: Monday, 23 September 2002 12:54 PM
// To: [EMAIL PROTECTED]
// Subject: RE: [PHP-DB]opening and reading
, filesize ($filename));
echo $contents;
fclose ($fp);
?
/body
/html
regards,
roslyn
Beau Lebens wrote:what exact error are you getting, and what line is it on etc?
beau
// -Original Message-
// From: roslyn jose [mailto:[EMAIL PROTECTED]]
// Sent: Monday, 23 September 2002 1:07 PM
Jennifer***
Jenny*
Jeannie**
Jessica**
Jill
Joanna
Joao **
Jocelyn
Joel
Joelle
Jsia
Jolleen
Jorie*
Jorge**
Josh***
Jose Augusto
Joseneide
thanks for your attention
the question is that im 'working' on a software to automate a weekly
employee task that resumes to
import a excel file that comes in zip format from the mother-company with
new prices and products,
to update an accounting software that uses M$ access db.
there are
I made a script for retrieving the data of some jpeg images stored in a
mysql database.I can get the image and print it on the screen... I have to
resize some of them according to their size in order to create thumbnails on
the fly. The GetImageSize function receives the image's path or url. As I
Hi php developers:
I have created a website for a house renting company with an administration
tool. Using this tool, managers can add, modify and delete data in a mysql
database.
They can also upload some pictures of the houses they rent. The way i do
this is by taking them to the list of
I'm using this script for connect to a mysql database but it only works in
php3 not in php4, any ideas?
$servidor = localhost;
$usuario = user;
$clave= pass;
$base = database;
$id = mysql_connect($servidor,$usuario,$clave);
$conexion = mysql_select_db($base, $id);
$consulta =
Hello,
I'm working in an intranet application with PHP and Informix.
My problem comes when I obtain a WARNING from PHP like that:
Warning: E [SQLSTATE=IX 000 SQLCODE=-439]
in ../funcionesBD.inc on line 64
The line shown above (64) includes an ifx_connect() statement from a
I have an NT web server with php an I'm trying to read dbf files that are in
an other NT server, but I get an error saying I have no permission to the
files. looking at the files they have reading writing permission for
everione so there should be no problem
Any Idea?
Jose Guridi
--
PHP
21 matches
Mail list logo