Welcome! Log In Create A New Profile

Advanced

Function Depreciation and PHP 5.5

Posted by 48194557 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Function Depreciation and PHP 5.5
October 22, 2013 04:02PM
Hi Again Mac and Thanxs again for your ongoing help

I have noticed on many coding forums that they heavily criticize the use of some of the outdated functions like mysql_fetch_array() or mysql_query() because it has been depriciated in PHP 5.5.
I know the textbook is based on PHP 5.2 so it still uses the depriciated function. I have been told I should rather learn the new functions like pdo_mysql() so my question is, will i get penalized if I dont use the code which is in the textbook?

Thanxs
avatar
Mac
Re: Function Depreciation and PHP 5.5
October 23, 2013 07:27AM
It is better to use the new functions yes, but most functions are backwards compatible for the foreseeable future. You can use what you want.
Sorry, only registered users may post in this forum.

Click here to login