Skip to content

Regex discard catch between strings

I wrote this regex: (?<![.#])bMY_STRINGb(?![#])(?!.*(;video)) With the intention to search for a string not containing . or # preceding it, and no # succeeding, it also checks if at the ending does not contain the word ;video. I’m trying now in how I could also check for if between the found string e…

UPDATE MySQL record of selected value from dropdown list

I’m just learning MySQL/PHP and I’m trying to update a mysql record of a selected value from the dropdown list. I have read through several tutorials, and tried to apply them, but I cannot get this working… What I want : I got a dropdown list with two options (Approved, Disapproved). I want …

How to extract sub data out of arrays

I am using SIMPLE HTML DOM Scraper in PHP trying to get some statistics for various sports teams index.php $html = file_get_html(“https://www.teamrankings.com/nfl/trends/ats_trends/”); …