Hi! How can I apply preg_match or preg_match_all PHP function to a chatbot script example when a person types in a typo? do you have an alternative solution for that? Thanks!
In PHP, you can handle typos using various methods, including approximate string matching algorithms, Levenshtein distance calculation, or using external libraries like Text_LanguageDetect or Text_Fuzzy. - chat gpt
print_r is a way for us to see arrays in a visible format in the browser. We use it for testing purposes to see what is inside arrays and don't really use it for anything besides this. Where as print and echo is used to output data in the browser. :)
How we can create this type of string? 1. Name will start with one consonant 2. Second letter will only be vowel 3. After each vowel Any one or two constants 4. Vowel will be only one between consonants
Tak :) for lige at svare på den anden besked du sendte, da jeg ikke kan finde den i mit dashboard, så kan man godt programmere i WordPress ;) Det er sandt at man kan lave hjemmesider i WordPress uden at programmere, men det er også et kæmpe område for programmører. Alle de temaer, plugins, og widgets du kan finde gratis i WordPress er alle lavet af en programmør som tjener penge på det :) Når jeg laver en WordPress hjemmeside så laver jeg også altid mit eget tema/hjemmeside og ligger den ind i WordPress bagefter. En ting der tit forvirrer folk er at WordPress er set som et slags "lav en simpel hjemmeside uden programmering" redskab, når det i virkeligheden er et Content Management System. Hvilket betyder at WordPress er beregnet til at ændre indhold på hjemmesider gennem et mere simpelt dashboard, så man ikke har behøves redigere i koden hver gang. Håber det her hjalp :)
Do you mean str_replace()? :) If you just need to replace a basic word or basic characters then you can use str_replace(). But when it comes to using "regular expressions" we use preg_replace().
mmuts thank you so much for the tutorials . Because of u my college project has been far more easier. Again thankyou so much for this :)
Mannn you should get more recognized! This is gold
thanks. Please make more php basic tutorials. Are very useful and easy to understand !
7:17 "string2 just to be creative" 😂😂😂
you are just awesome
thanks
Well explained!!!
Thanks alot!!!!!!!!!
thanks alot awesome as always :) more about regexp please
Regex must be always between slashes (//), but single quotes too? Like '/ regex... /'?, what about double quotes?
nice video
Hi! How can I apply preg_match or preg_match_all PHP function to a chatbot script example when a person types in a typo? do you have an alternative solution for that? Thanks!
In PHP, you can handle typos using various methods, including approximate string matching algorithms, Levenshtein distance calculation, or using external libraries like Text_LanguageDetect or Text_Fuzzy. - chat gpt
Hey, thanks for another great video! What is the difference between echo and print_r?
I think the main difference is in formatting, but i heard somewhere that "echo" is faster.
print_r is a way for us to see arrays in a visible format in the browser. We use it for testing purposes to see what is inside arrays and don't really use it for anything besides this. Where as print and echo is used to output data in the browser. :)
Is preg_match specific to php or does it work in javascript aswell? & What does the Preg stand for?
el preganté
How we can create this type of string?
1. Name will start with one consonant
2. Second letter will only be vowel
3. After each vowel Any one or two constants
4. Vowel will be only one between consonants
God video. Igen.
Tak :) for lige at svare på den anden besked du sendte, da jeg ikke kan finde den i mit dashboard, så kan man godt programmere i WordPress ;) Det er sandt at man kan lave hjemmesider i WordPress uden at programmere, men det er også et kæmpe område for programmører. Alle de temaer, plugins, og widgets du kan finde gratis i WordPress er alle lavet af en programmør som tjener penge på det :) Når jeg laver en WordPress hjemmeside så laver jeg også altid mit eget tema/hjemmeside og ligger den ind i WordPress bagefter. En ting der tit forvirrer folk er at WordPress er set som et slags "lav en simpel hjemmeside uden programmering" redskab, når det i virkeligheden er et Content Management System. Hvilket betyder at WordPress er beregnet til at ændre indhold på hjemmesider gennem et mere simpelt dashboard, så man ikke har behøves redigere i koden hver gang. Håber det her hjalp :)
Ved du hvordan man viser alle databaser man har i php?
man kan vel ikke gør sådan:
_$sql = "SELECT * DATABASES"_
_$result = mysqli_query($con, $sql);_
Big Like
❤
Can you made a video how to make navigations in php please
ua-cam.com/video/mFgltjfVV6A/v-deo.html
easy
make more js tuts :)
What's about are_replace();
Do you mean str_replace()? :) If you just need to replace a basic word or basic characters then you can use str_replace(). But when it comes to using "regular expressions" we use preg_replace().
Oh thanks I got it
Thanks