PHP7 Data Type Resource
A PHP7 resource is a resource loaded from outside the application. This could be a database connection or a resource to create a new file within PHP. So if you are calling a database resource it would look something like this. We will get into this more as you progress in these tutorials.
<?php <pre>$conn = mysqli_connect(localhost,"root","dbpass","dbname");</pre> ?>
How is PHP7 Resource Used In Applications?
A PHP7 Resource is a way to make a call to get data or create data. You will be using several different kinds of resources in your applications.
Video For This Lesson
Data Types In Php 7 Objects Arrays Null Resource Lesson 11 was last modified: October 29th, 2021 by
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!