To find out whose birthday is today from mysql data using php?
Can u help me in this?
Can i make a filter to compare only date and month and not year?
How can I check if the birthday is today?
Godaay or google?
why we use cookies in php ?

i need to make a tutorial for my client on how to use his administration account
Yass done
i am trying to get image from an image link
i am able to get link via
`echo $output->item($i)->getAttribute(‘href’) `
But unable to figure how to Get image associated with the link. 🙁
i am trying to get image from an image link
i am able to get link via
`echo $output->item($i)->getAttribute(‘href’) `
But unable to figure how to Get image associated with the link. 🙁
`$DOM->loadHTML($html);
$output = $DOM->getElementsByTagName(‘a’);
for($i=0; $i<$output->length; $i++){
if(preg_match(‘/id=/’,$output->item($i)->getAttribute(‘href’), $match)){
echo $output->item($i)->getAttribute(‘href’) . ” ” . $output->item($i)->nodeValue . ” ” . $output->item($i)->getAttribute(‘src’) . ‘</br> </br>’;
}
}`
i want to know what will be exact thing at getAttribute(‘src’)
i tried src and img but didnt work
If I have assumed you seved birthdate( data type Date ) in database then simple select user query
I have user´s birthday stored in birthday as 1999-02-26.
How can I check if the birthday is today?
if(date(‘m-d’) == ..?
but i am worried it will fatch all images on page so that will create mess and i will unable to relate them with link
Try something like this : @feature
$collection = $html->find(‘img[title=himom]’);
https://simplehtmldom.sourceforge.io/manual.htm
I think you need to use class name before fetch image tag
https://simplehtmldom.sourceforge.io/manual.htm
I think you need to use class name before fetch image tag
i tried that… it was using so much memory on my vps so decided to make my own
https://t.me/luv_php
Learn Laravel 5.8 by creating an Instagram clone in this full tutorial course for beginners. Laravel is a free, open-source PHP web framework used for creating web applications.
💻Code: https://github.com/coderstape/freecodegram
⭐️Course Contents ⭐️
⌨️ (0:00) Introduction
⌨️ (1:14) What is Laravel?
⌨️ (2:07) Installing Laravel
⌨️ (5:30) First look at the project
⌨️ (7:15) Intro to php artisan
⌨️ (11:42) Generating login flow with make:auth
⌨️ (12:04) Setting Up the Front End with Node and NPM
⌨️ (20:00) Migrations and Setting Up SQLite
⌨️ (26:00) Designing the UI from Instagram
⌨️ (42:12) Adding Username to the Registration Flow
⌨️ (58:35) Creating the Profiles Controller
⌨️ (1:04:00) RESTful Resource Controller
⌨️ (1:09:10) Passing Data to the View
⌨️ (1:10:20) Adding the Profiles Mode, Migration and Table
⌨️ (1:17:30) Adding Eloquent Relationships
⌨️ (1:28:10) Fetching the Record From The Database
⌨️ (1:30:00) Adding Posts to the Database & Many To Many Relationship
⌨️ (2:04:24) Creating Through a Relationship
⌨️ (2:08:12) Uploading/Saving the Image to the Project
⌨️ (2:19:19) Resizing Images with Intervention Image PHP Library
⌨️ (2:27:42) Route Model Binding
⌨️ (2:31:48) Editing the Profile
⌨️ (2:46:46) Restricting/Authorizing Actions with a Model Policy
⌨️ (2:54:50) Editing the Profile Image
⌨️ (3:00:00) Automatically Creating A Profile Using Model Events
⌨️ (3:12:56) Default Profile Image
⌨️ (3:19:48) Follow/Unfollow Profiles Using a Vue.js Component
⌨️ (3:31:28) Many To Many Relationship
⌨️ (3:46:33) Calculating Followers Count and Following Count
⌨️ (3:48:55) Laravel Telescope
⌨️ (3:51:44) Showing Posts from Profiles The User Is Following
⌨️ (4:01:03) Pagination with Eloquent
⌨️ (4:03:25) N + 1 Problem & Solution
⌨️ (4:05:21) Make Use of Cache for Expensive Query
⌨️ (4:11:44) Sending Emails to New Registered Users
⌨️ (4:21:51) Wrapping Up
⌨️ (4:22:37) Closing Remarks & What’s Next In your Learning
🎥Course from Coder’s Tape. Check out their YouTube channel for more great Laravel tutorials: https://www.youtube.com/coderstape
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://medium.freecodecamp.org
smpt ?
Godaddy is sick
its smtp port and host:
Yes
Yes
Yup
How work session in login system
algoritm:
1) check user credentials
2) if all good – write session_id in storage (db)
3) login client
1) check user credentials
2) if all good – write session_id in storage (db)
3) login client
ok..
If i need some hint.
If i need some hint.
Fragment of code about session
I have the following code designed to begin a session and store username/password data, and if nothing is submitted, or no session data stored, redirect to a fail page.
session_start();
if(isset($…
Tnx bro..
Please ping me