Connecting...

This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Advanced PHP
For more information, please see full course syllabus of Advanced PHP
Advanced PHP SELECT QUERIES from PHP
Lecture Description
In this lesson our instructor talks about SELECT QUERIES from PHP. First, he discusses SELECT Queries, MySQLi_result class, fetch_assoc(), stdclass objects, and fetch_object(). Then he talks about freeing result set memory. He ends the lesson with five homework challenge.
Bookmark & Share
Embed
Share this knowledge with your friends!
Copy & Paste this embed code into your website’s HTML
Please ensure that your website editor is in text mode when you paste the code.(In Wordpress, the mode button is on the top right corner.)
×
Since this lesson is not free, only the preview will appear on your website.
- - Allow users to view the embedded video in full-size.
Next Lecture
Previous Lecture
1 answer
Last reply by: Steven Morrison
Sat Jan 11, 2014 12:06 PM
Post by Gustave Hunkele on April 24, 2013
Hello Matthew, I am in love with PHP and this course in particular. I noticed that many programmers and tutorials use mysql_connect vs. mysqli to connect to MYSQL databases. Is that the same command?
1 answer
Wed Apr 11, 2012 5:09 PM
Post by Brian Albert on March 1, 2012
Matthew, great class I have learned so much. Thank you for doing such a great job. Quick question: in the educator store example would free() be used in item.php towards the end of the script like in your example or would you use free() in the methods of DatabaseAccess that use SELECT? My guess is that free() should be used in item.php but I'm not sure. Also, is there any way to confirm that server memory has in fact been freed. Thank you for any information.