php - MYSQL select where field does not contain a certain string character -


i use sql select sites urls table.

$sql = 'select * pages "myurl field"; 

however want little more specific query. there few duplicate links in table example:

about-us ./about-us 

i don't want ./about us field selected. there way of saying:

select * "myurl field" not begin . / 

or should forget , parse using php?

select * pages some_col not './%'; 

this fetch rows some_col not starting ./


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -