Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-29-2012, 01:22 PM   PM User | #16
crewson548
New Coder

 
Join Date: Oct 2012
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
crewson548 is an unknown quantity at this point
Quote:
Originally Posted by Coyote6 View Post
I agree with guelphdad... bad idea.

But... where it's messing up is you must treat the ids as a string therefore the must be enclosed in quotes.

"asd",1,"1,2,4","444")

Yes I totally agree with your statement.. it really mess with one another.. Can u suggest me this same process in PHP script..
crewson548 is offline   Reply With Quote
Old 10-30-2012, 02:05 AM   PM User | #17
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,172
Thanks: 59
Thanked 3,994 Times in 3,963 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Quote:
Originally Posted by crewson548 View Post
Yes I totally agree with your statement.. it really mess with one another.. Can u suggest me this same process in PHP script..
No. The whole point is to *NOT* do this. PERIOD.

Can you work around it with PHP code? Yes, but ONLY by reading EVERY RECORD in the table and having PHP process EVERY RECORD.

DON'T DO IT.

You say you agree with the statement and then you try to find a way around it. That makes no sense.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:53 PM.


Advertisement
Log in to turn off these ads.