I hope that I can explain this problem in a logical and clear way.
In MySQL, I have two tables for information::
foo, which contains
FooID, FooLName, FooFName
and
foocontact, which contains
FooID, FooContactID, FooEmail, FooPhone, FooAddress1, etc.
Honestly, I can't remember why I split up the
ever since I put up a personal firewall, when I start MySQL I''ve been
getting alerts that MySQL is trying to access this ip address when I start
it...
what, exactly, is it, and is there any reason why MySQL would need to access
the internet if I have apache on my own machine?
thanks,
Matt
--
re php info:
put this into a file, put it on your server, and call up the page in a
browser:
it will show the settings for php on your server. As Jim suggested below,
you should check the register_globals setting. If register_globals is on,
you'll need to use the _Get function. see more on
Thank you very much, David--you understood the problem exactly and your
solution worked perfectly!
I'd like to add a comment about mysql_data_seek to the php manual entry on
mysql_fetch_row, because I would think that this might be a common
problem...
Matt
- Original Message -
From: Dav
this is from the O'Reilly _Programming PHP_ (Rasmus Lerdorf & Kevin Tatroe):
"Because echo is not a true function, you can't use it as part of a larger
expression:
// parse error
if (echo("test)) {
echo("it worked!";
}
Such errors are easily remedied, though, by using the print() or printf()
Hi Everyone,
Here's my problem: I'd like to make the printing of some text dependent on
whether or not a variable is null. In the following example, when $row[1]
is null, what gets printed on the page is "Email: ". I'd like the
script to not print "Email:" if row[1] is null.
It looks like
The difference between Dreamweaver and Homesite is that Homesite is easier
to
customize, and it doesn't mess with your code the way that Dreamweaver does.
If you're happy with Dreamweaver, you should stick with it. But if you want
more control over your code, you
should consider switching.
Of co
Hi,
How can I set things up so that a user can resort the results of a query?
Also, how can I make certain columns into links? I'm making a site that
will list college courses. When users decide to browse listings by
discipline, or college, I'd like the titles of the courses to be links to
ful
27;m not sure how to go about it.
Thanks in advance.
best,
Matt
- Original Message -
From: Chris Hewitt <[EMAIL PROTECTED]>
To: Matthew K. Gold <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 7:34 AM
Subject: Re: [PHP] how to resort results
9 matches
Mail list logo