Re: MySQL table names in PHP code
Jerry Stuckle wrote:
Your assumption is clearly wrong.
--
*************** **************
Chuck Anderson • Boulder, CO
Nothing he's got he really needs
Twenty first century schizoid man.
*************** *************** *****
Jerry Stuckle wrote:
Chuck Anderson wrote:
>
>
Yep, you obviously don't understand plain English.
>
"I'm learning PHP and MySQL. In the samples I work with, the SQL table
names are "escaped" in accent grave (`) marks, not in single or double
quotes.?"
>
That's his question - not single vs. double quotes.
>
You're right. Case closed.
>
>
>
>Jerry Stuckle wrote:
>>
>Du-uh ...... try again He spoke of both. Here I'll quote it for you
>again:
>>
>>
>Enough of this waste of time already. Haven't you better things to do?
>>
>Case closed.
>>
>>
>>
>>Chuck Anderson wrote:
>>>
>>>
>>>Jerry Stuckle wrote:
>>>>
>>>>
>>>>Chuck Anderson wrote:
>>>>>
>>>>>
>>>>>
>>>>>MikeB wrote:
>>>>>>
>>>>>>
>>>>>>I'm learning PHP and MySQL. In the samples I work with, the SQL
>>>>>>table
>>>>>>names are "escaped" in accent grave (`) marks, not in single or
>>>>>>double
>>>>>>quotes.
>>>>>>>
>>>>>>Can anyone explain that?
>>>>>>>
>>>>>>For instance, I have the following:
>>>>>>>
>>>>>>$sql_comm and = "SELECT * from `7-1_List`";
>>>>>>>
>>>>>>I tried looking around on the php.net site, but clearly I'm not using
>>>>>>the right search terms.
>>>>>>>
>>>>>>While I'm asking, I think I've figured out how double quotes (")
>>>>>>differ from single quotes ('), but if there is a discussion that
>>>>>>someone can point me to, that would be very nice.
>>>>>>>
>>>>>>>
>>>>>Re: quotes - http://us.php.net/types.string
>>>>>>
>>>>>>
>>>>>>
>>>>Good try, but it has nothing to do with the user's question.
>>>>>
>>>>>
>>>His question (to quote) about "how double quotes (") differ from
>>>single quotes (')?"
>>>It's spot on, Jerry. Did you even bother to look? That page it has
>>>a very thorough discussion of Variable parsing and how to use both
>>>types.
>>>>
>>>>
>>>B.S.
>>>>
>>Read again. He was asking about back tickies (`) in MySQL statements,
>>not single quotes (') in PHP.
>>>
>>It had absolutely nothing to do with PHP strings.
>>>
>>>
>>>
>>>Jerry Stuckle wrote:
>>>>
>>>>
>>>>Chuck Anderson wrote:
>>>>>
>>>>>
>>>>>
>>>>>MikeB wrote:
>>>>>>
>>>>>>
>>>>>>I'm learning PHP and MySQL. In the samples I work with, the SQL
>>>>>>table
>>>>>>names are "escaped" in accent grave (`) marks, not in single or
>>>>>>double
>>>>>>quotes.
>>>>>>>
>>>>>>Can anyone explain that?
>>>>>>>
>>>>>>For instance, I have the following:
>>>>>>>
>>>>>>$sql_comm and = "SELECT * from `7-1_List`";
>>>>>>>
>>>>>>I tried looking around on the php.net site, but clearly I'm not using
>>>>>>the right search terms.
>>>>>>>
>>>>>>While I'm asking, I think I've figured out how double quotes (")
>>>>>>differ from single quotes ('), but if there is a discussion that
>>>>>>someone can point me to, that would be very nice.
>>>>>>>
>>>>>>>
>>>>>Re: quotes - http://us.php.net/types.string
>>>>>>
>>>>>>
>>>>>>
>>>>Good try, but it has nothing to do with the user's question.
>>>>>
>>>>>
>>>His question (to quote) about "how double quotes (") differ from
>>>single quotes (')?"
>>>It's spot on, Jerry. Did you even bother to look? That page it has
>>>a very thorough discussion of Variable parsing and how to use both
>>>types.
>>>>
>>>>
>>>B.S.
>>>>
>>Read again. He was asking about back tickies (`) in MySQL statements,
>>not single quotes (') in PHP.
>>>
>>It had absolutely nothing to do with PHP strings.
>>>
>again:
>>
>>
>>I'm learning PHP and MySQL ......
>>>
>>..... While I'm asking, I think I've figured out how double quotes (")
>>differ from single quotes ('), but if there is a discussion that
>>someone can point me to, that would be very nice.
>>>
>>>
>>..... While I'm asking, I think I've figured out how double quotes (")
>>differ from single quotes ('), but if there is a discussion that
>>someone can point me to, that would be very nice.
>>>
>>
>Case closed.
>>
>>
Yep, you obviously don't understand plain English.
>
"I'm learning PHP and MySQL. In the samples I work with, the SQL table
names are "escaped" in accent grave (`) marks, not in single or double
quotes.?"
>
That's his question - not single vs. double quotes.
>
You're right. Case closed.
>
>
--
*************** **************
Chuck Anderson • Boulder, CO
Nothing he's got he really needs
Twenty first century schizoid man.
*************** *************** *****
Comment