Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 08-05-2011, 02:00 PM   #1
Join Date: Apr 2011
Posts: 10
Default phpMySQL select statement

please is there a way to select rows from a database and exclude rows with certain values in a certain column example $query = "Select id from mytable Where recs IN ('idd') exclude rows with 2 in the recs column
kontrol is offline   Reply With Quote
Old 08-06-2011, 01:03 AM   #2
edbr's Avatar
Join Date: Aug 2005
Location: Bali
Posts: 11,203

you could filter with an conditional statement after selection
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote

Thread Tools
Display Modes

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. The time now is 07:07 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com