Re: [PHP-DB] Re: Exporting Data From MySQL Using PHP

2004-08-09 Thread Peter Ellis
rgive me my coding errors. Take a look at the Filesystem section of the PHP manual for information on the fopen/fwrite() commands, and the MySQL section for more information on MySQL commands in PHP. Hope this helps a little more in solving the puzzle. -- Peter Ellis - [EMAIL PR

Re: [PHP-DB] Re: Exporting Data From MySQL Using PHP

2004-08-09 Thread Peter Ellis
Whoops -- the fclose() statement refers to $result when it should refer to $handle. My bad for not at least spot checking the message before hitting send! -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Mon, 2004-08-09 at 20

Re: [PHP-DB] Re: Exporting Data From MySQL Using PHP

2004-08-09 Thread Peter Ellis
atter what. Perhaps that's more a matter of semantics than PHP programming itself :) As for the difference between = and LIKE, you are correct -- I just don't typically use LIKE for any of my database work, so I forget there's a difference every once in a while :) Thank you for the

Re: [PHP-DB] I'm not getting any mailing list messages

2004-08-12 Thread Peter Ellis
nothing's been sent to it? This is not a heavy traffic list. I get maybe 4-5 messages a day from this one. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Thu, 2004-08-12 at 12:02 -0700, Chip Wiegand wrote: >

Re: [PHP-DB] MySQL denying access to...everything

2004-08-18 Thread Peter Ellis
doc/ Good luck! -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Tue, 2004-08-17 at 23:03 -0400, [EMAIL PROTECTED] wrote: > I finally got my PHP5 installation to support MySQL and now this. When I try > to edit anything on

Re: [PHP-DB] MySQL denying access to everything...Part 2

2004-08-18 Thread Peter Ellis
This isn't the appropriate list to direct this question to. I suggest one of the MySQL help lists or a careful reading of the documentation, which tells you exactly what you need to know. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis |

Re: [PHP-DB] No Cookies file created on Client

2004-08-18 Thread Peter Ellis
as it needs to be sent with headers and putting it too far down (in my experience) can cause problems with setting the cookies. 4) is the browser configured to accept cookies from that site? You can block some sites and not others. 5) this isn't really a database question :) -- Peter Elli

Re: [PHP-DB] Tricky MySQL / php Script

2004-08-18 Thread Peter Ellis
I assume you mean the 1052367746 portion of that URL? Am I right? If so: $id = basename($photoid, ".jpg"); That would work, I think, if you just wanted the numeric portion of the path. Not sure if this is what you want. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development

Re: [PHP-DB] Tricky MySQL / php Script

2004-08-18 Thread Peter Ellis
Ach, and the light bulb goes on. Sorry, wasn't really thinking about it completely earlier. Here's a less dimbrained suggestion: could you encode the user ID as part of the filename itself? Like, for instance, write the script so that it would read something like: blah.jpg.215 and strip off th

Re: [PHP-DB] Help! WINXP/Apache2.0/PHP4.3.8 - Can't run PHP

2004-08-20 Thread Peter Ellis
er Installation). -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Fri, 2004-08-20 at 11:50 -0400, [EMAIL PROTECTED] wrote: > When I have a html page with an embedded php method behind a button, when I click > the button I can'

Re: Fwd: [PHP-DB] Q

2004-08-22 Thread Peter Ellis
ssuming a particular behavior from that function. By default, mysql_fetch_array gives you an array with *numerical* indices, not indices with field names. If you're having trouble outputting an array, you can (and should) always do a print_r($array) to see what the index and actual values are.

Re: [PHP-DB] Global Peace output

2004-08-22 Thread Peter Ellis
What errors are you getting? We can't help if we don't know what's wrong in the first place. Turn your PHP error reporting on (assuming it's a PHP error). -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On S

Re: [PHP-DB] Text area

2004-08-26 Thread Peter Ellis
I suspect your return result looks something like "; } I'm aware of the other replies to this message, but I'm being literal and assuming you want that exact string returned, regardless of other alternatives. HTH. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Develop

Re: [PHP-DB] Clicking on the Picture

2004-08-30 Thread Peter Ellis
Yes. It's called image mapping. Do a Google search. This isn't PHP related. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Tue, 2004-08-31 at 15:07 +1200, Feroz wrote: > Hi, > > I have a Diagram that

Re: [PHP-DB] Re Displaying Text From A Data File

2004-09-04 Thread Peter Ellis
If it were a database, this would make sense. He's asking about a text- based file. This isn't really a database issue -- there's a lot of what are called "fortune scripts" out there that do exactly what you want. Do a search on Google. -- Peter Ellis - [EMAIL

Re: [PHP-DB] php Form Validation help

2004-09-06 Thread Peter Ellis
>3 ) { > > print 'Please enter your Area Code (EX. 77662)'; > > } > > > See comment on string length above. > > > I am still new with PHP, any help would be appreciated. Below is the code I > have sofar: > > Hope this helps. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] error on count()

2004-09-07 Thread Peter Ellis
You need to pass the functions a variable to work with because you've specified parameters. Try: $okuan = orderquantity($una); Ditto for the other function call. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Tue, 20

Re: [PHP-DB] Building A Web Site Search Engine Using PHP / mySQL

2004-09-07 Thread Peter Ellis
Well, this is from the "why reinvent the wheel" department -- have you looked at htdig://? http://www.htdig.org/ Might save you some work. Just a thought :) More constructive replies regarding actual code are forthcoming, I'm sure. -- Peter Ellis - [EMAIL PROTECTED] Web Design

Re: [PHP-DB] Please help

2004-09-08 Thread Peter Ellis
What are the variables $sql and $sql_ext set to? The query format is fine. It's probably in your variables. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Wed, 2004-09-08 at 12:29 -0700, Stuart Felenstein wrote: > I

Re: [PHP-DB] error of check box form

2004-09-08 Thread Peter Ellis
In addition, please send your messages once and only once. I have two copies of the same e-mail, both sent to the list successfully with two different replies to both messages. You're more likely to get help if you post and wait for a reply to your original message. -- Peter Ellis - [

Re: [PHP-DB] Short Names

2004-09-25 Thread Peter Ellis
t you wrote and why... Hope this helps. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Sat, 2004-09-25 at 14:23 -0700, Cole S. Ashcraft wrote: > Is it considered bad / sloppy to define the short names of varibales at >