How are files encoded when theyre sent in mulitpart forms??? Is it the same
as blob fields in mySQL databased when you use the LOAD_FILE() command??
If not, is it easy to convert from one to the other?? At the moment, Im
taking the blob from mySQL and writing it to a file and then uploading that
messy
I want to be able to get the BINARY data from mySQL and send it via cURL
directly.
TIA
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: John Ryan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 1:22 AM
Subject: [PHP-DB] Re
Ive a file on my server with SQL instructions to create a table and insert
stuff. How do I get this to be run on the database?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is there any quick way of selecting the 'last' row in a mysql table?? i
could write some messy code but id prefer an elegant solution.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any way *from the command line* to get a dump of a mysql table and
have it saved to a local file, instead of standard output
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should have read the manual first, mysqldump
John Ryan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is there any way *from the command line* to get a dump of a mysql table
and
have it saved to a local file, instead of standard output
--
PHP Database Mailing List (http
I want to SELECT * from a table and also update the hit counter by 1. So
theres 2 different queries which I know I can easily do in PHP seperately,
but I thought itd be quicker and more efficient to run them in the same
query, ie seperated by a ';'.
But PHP returns an error, and it works fine on
You wouldnt know where to change this setting?
John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
John Ryan wrote:
I want to SELECT * from a table and also update the hit counter by 1. So
theres 2 different queries which I know I can easily do in PHP
seperately
I downloaded what I thought was Linux mySQL binaries, and the INSTALL file
said there should be a bin directory when I untar, but there isnt! Just a
BUILD folder and loads of make files.
Did I download the wrong one?
I downloaded mysql-standard-4.0.14-pc-linux-i686.tar.gz
--
PHP Database
i got the mysql 4 server RPM, but I dont have RPM on my server to opne it!
so i got the full tar gz files of mysql 4 but when i try to compile it, it
said i dont have a c compiler.
so my question is, can you get mysql linux binaries that i can just put in
the old mysql foler??
--
PHP Database
I have a UNION command in a query on a PHP page that works fine on my test
apache/php/mysql server on windows at home but it returns an error when i
upload it to the web. i checked both parts of the UNION in phpMyAdmin online
and they both worked. so, can the UNION command be somehow disabled, and
i need to upgrade to mysql 4 to avail of UNION, so im just downloading the
9MB RPM on dial-up, uploading it to my remote server and then can i do the
installation from the telnet??
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it easy?? Is it possible?? Should I just run 2 different queries and
output their results in the PHP script and make it look like it's all from
the same table
I cant grasp JOIN for the life of me
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
, keywords, which i have searched.
maybe im stupid, but i cant c where WHERE table1.id = table2.id would
help, or sumting along that lines
John Ryan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is it easy?? Is it possible?? Should I just run 2 different queries and
output
i installed php and apache fine on my pc, but mysql is giving problems. in
winmysqladmin, you cant create a adb on the databases tab. all that lets you
do is flush threads, flush processes, etc. so i had to create my database
through the mysql command line.
also, phpMyAdmin doesnt work, it
15 matches
Mail list logo