Mark Roberts wrote:
I have an application that I need to add a function to that will download a complete MySql Table in comma delineated format from a web site to a local hard drive. What is the best way to do this?
Is there a function in PHP that will do this? in MySql? or do I just need to do
Marc Serra wrote:
Hi,
i use PEAR DB with a mysql database and i want to know if there is a
solution to get last inserted id in a table.
I see that I can use sequences but it doesn't work with mysql.
Thanks,
Marc.
Check this out:
http://pear.php.net/manual/en/package.database.db.intro-
If you do this, make sure you name your submit button "Submit" or
something else, but not "submit" :)
Shaunak Kashyap wrote:
Yes, you can use elementary javascript to achieve that goal.
Just make a link (anchor) as you normally would and make the value of its
href attribute "javascript:document.
Robb Kerr wrote:
I am just learning PhP. When I was teaching myself Lingo (Macromedia
Director's programming language) I found an object called the MESSAGE
window quite helpful. This window allowed you to execute little snippets of
code and get the results without having to execute your entire scr
Jay Blanchard wrote:
[snip]
limit the number of times you need to hit the database.
I second Chris on this.
[/snip]
I third that. The problem can become especially apparent in large
databases containing millions of records. Other than that just code
cleanly and document, document, document.
Crea
Curt Zirzow wrote:
* Thus wrote John Herren ([EMAIL PROTECTED]):
header("Content-Type: application/pdf");
header("Accept-Ranges: bytes");
header("Content-Length: ".filesize($thefile));
readfile($thefile);
Can anybody tell me why the browser is waiting for the enti
OK, here's a different problem.
If I call a pdf file directly, the Acrobat plugin begins to display the
file almost immediately. Here is the reponse header for calling the file
directly:
HTTP/1.1 200 OK
Date: Thu, 16 Oct 2003 20:41:28 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.
John Ryan wrote:
This is kinda off topic, well.. depending on the answer.
I downloaded a ZIP file to my server, and want to open it. My version of PHP
wasnt compiled with the Zip uncompressing functions, otherwise Id do it with
php, so I was wondering if there was a linux-x86 binary that just ope
John Herren wrote:
Is there any way to control an open winamp application in php? I want to
use php as a scheduler to play Winamp. The API has system calls to do
so, but I don't know how to implement the windows calls.
Ok, found this:
http://www.adcock8.freeserve.co.uk/winamp.htm
I
Is there any way to control an open winamp application in php? I want to
use php as a scheduler to play Winamp. The API has system calls to do
so, but I don't know how to implement the windows calls.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Can't seem to get this to work...
trying to yank stuff xxx from
xxx
and stuff yyy from
yyy
preg_match("| (.*)$|i", $l, $regs);
works for the second example, even though it isn't the correct way, but
nothing works for for me for the first example.
Any help is appreciated!
--
PHP General Mail
Can't seem to get this to work...
trying to yank stuff xxx from
xxx
and stuff yyy from
yyy
preg_match(" (.*)$|i", $l, $regs);
works for the second example, even though it isn't the correct way, but
nothing works for for me for the first example.
Any help is appreciated!
--
PHP General Maili
http://www.php.net/manual/en/function.number-format.php
number_format() can also give you commas if you like.
Bryan Koschmann - Gkt wrote:
> Hello,
>
> Does anyone here have a good way to make sure dollar amounts are formatted
> properly? I have something that returns data, but the problem is it
13 matches
Mail list logo