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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -