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
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
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
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:
>
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
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 |
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
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
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
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'
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.
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
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
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
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
>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
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
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
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
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 - [
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
>
21 matches
Mail list logo