Re: [PHP-DB] Query syntax error?

2011-01-13 Thread jose
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:

[PHP-DB] Re: php_mysql.dll fails to load

2004-10-27 Thread Jose Stefan
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

[PHP-DB] Re: php_mysql.dll fails to load

2004-10-27 Thread Jose Stefan
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

[PHP-DB] Can't connect to local MySQL

2003-11-20 Thread Jose
. 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

[PHP-DB] MySQL and PHP

2003-11-20 Thread Jose
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

[PHP-DB] MySQL and PHP

2003-11-20 Thread Jose
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

[PHP-DB] advancing file pointer

2002-09-23 Thread roslyn jose
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 -

[PHP-DB] string concatenattion

2002-09-23 Thread roslyn jose
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

[PHP-DB] unicode in php{PLS HELP URGENT}

2002-09-23 Thread roslyn jose
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];

[PHP-DB] unicode in php

2002-09-23 Thread roslyn jose
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

Re: [PHP-DB] unicode in php{PLS HELP URGENT}

2002-09-23 Thread roslyn jose
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

RE: [PHP-DB]opening and reading from file

2002-09-22 Thread roslyn jose
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

RE: [PHP-DB]opening and reading from file

2002-09-22 Thread roslyn jose
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

RE: [PHP-DB]opening and reading from file

2002-09-22 Thread roslyn jose
, 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

[PHP-DB] FW:

2002-06-21 Thread Jose Moreira
Jennifer*** Jenny* Jeannie** Jessica** Jill Joanna Joao ** Jocelyn Joel Joelle Jsia Jolleen Jorie* Jorge** Josh*** Jose Augusto Joseneide

RE: RE: [PHP-DB] how is it possible to read data from an excel workbook ?

2002-06-13 Thread Jose Moreira
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

[PHP-DB] Resizing images stored in a mysql db

2002-03-21 Thread Jose Miguel Selman
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

[PHP-DB] renaming uploaded files

2002-01-31 Thread Jose Maria Sala
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

[PHP-DB] PHP Error

2001-08-20 Thread Jose L. Benito
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 =

[PHP-DB] RV: Warning in ifx_connect() with PHP and Informix

2001-02-12 Thread alejandro . jose
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

[PHP-DB] reading dbfs from remote server

2001-02-09 Thread Guridi, Jose
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