Data Types In Php 7 Objects Arrays Null Resource Lesson 11

Subscribe

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.

PHP RESOURCE

Files for this lesson.

Video For This Lesson

 

 

 

Data Types In Php 7 Objects Arrays Null Resource Lesson 11 was last modified: October 29th, 2021 by Maximus Mccullough

DATA TYPES IN PHP7 HOW THEY ARE USED

Pages:Previous 1 2 3 4

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.