On Sat, 27 Nov 2004 11:43:31 -0800, Janet Valade wrote:
>johnf@stripped wrote:
< snip >
>> Can anyone tell me what I have done wrong and/or the correct code to
>> make things work please ?
>I'm not sure what you are trying to do. Your code above connects to
>MySQL and selects a database. Then, you save an SQL query in a variable
>named $sql. That's all you do. You have no instruction that produce any
>output, so you don't get any output.
< snip >
Thanks. A very direct/clear answer. IMO if one doesn't have a clear
grasp of the concepts/steps in using something then they will probably
have problems. As I have had. I thought that when phpMyAdmin said
something like "This is the PHP code" for the query that that is what
it meant. Not that it meant "This is part of the PHP code, you don't
get any output if you use it."
Thank you Janet, and everyone else who contributed input on this
query.
Regards, John.