skip to Main Content

Searching for links in MySQL

I have some link broken on my site and I need to change a lot of links. My initial idea was to go through MySQL and replace strings like <a href="/old-link/"> with <a href="/new-link/">. When I go to Database -…

VIEW QUESTION

How to search for word in array of slugs – PHP

I have an array of locations slugs and a sentence that might have one of the locations. So I want to get the location in the sentence from the locations array $areas = 'garki-i,garki-ii,yaba,wuse-i,asokoro,maitama,jabi,jahi,dutse,gwarinpa,central-business-district,kubwa,lugbe,kaura,gudu,banana-island,new-karu,old-karu,kugbo,eko-atlantic,nyanya,mararaba,madalla,kuje,wuse-ii,utako,oulfa,kimunyu,ibara,cfc,joska,kabati,juja'; $a_arr = explode(',', $areas); $tweet =…

VIEW QUESTION
Back To Top
Search