petar-gutic wrote a comment+100 XP
4mos ago
PHP For Beginners: Ep 16, Create a MySQL Database
I use XAMPP on Ubuntu, and I’m completely satisfied with phpMyAdmin for database management.
petar-gutic wrote a comment+100 XP
4mos ago
PHP For Beginners: Ep 12, Page Links
Tailwind CSS (regardless of how it evolves or its current state) inspired me to start building my own reusable components that I can easily use across different projects later on.
I’m also planning to focus on building e-commerce projects.
petar-gutic wrote a comment+100 XP
4mos ago
PHP For Beginners: Ep 9, Lambda Functions
@Wanti
You can define multiple conditions inside the same function using logical operators like AND, OR, XOR, etc.
$filteredBooks = filter($books, function ($book) {
return $book['releaseYear'] > 1950 && $book['releaseYear'] < 2000;
});
petar-gutic wrote a comment+100 XP
4mos ago
PHP For Beginners: Ep 7, Associative Arrays
<?= $array['key1'] . $array['key2'] ?>
<?= ?> is simply a shorthand for <?php echo ?>, so it behaves the same when outputting expressions, including string concatenation.