Author Topic: Naexperience nyo na ba etong error na eto? mysql_pconnect The mysql extension i  (Read 144 times)

0 Members and 1 Guest are viewing this topic.

Offline LadyProgrammer

  • Full Member
  • *
  • Posts: 118
  • Karma: +0/-0
    • View Profile
Code: [Select]
mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

Techronnati | where technology never sleeps


Mountain View

Offline nomadic

  • Full Member
  • *
  • Posts: 105
  • Karma: +0/-0
    • View Profile
old structure na yan...

basta yung mga ganito

Code: [Select]
<?php
$link 
mysql_connect('localhost''user''password');
mysql_select_db('dbname'$link);

ganito na pag bago:


Code: [Select]
<?php
$link 
mysqli_connect('localhost''user''password''dbname');


Code: [Select]
<?php
// Old
mysql_query('CREATE TEMPORARY TABLE `table`'$link);
// New
mysqli_query($link'CREATE TEMPORARY TABLE `table`');


Happy coding

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
39 Views
Last post March 04, 2015, 08:53:41 AM
by rpmolecule
1 Replies
120 Views
Last post July 22, 2016, 06:18:57 AM
by GBTalk
0 Replies
97 Views
Last post July 22, 2016, 06:28:26 AM
by nomadic
2 Replies
67 Views
Last post December 06, 2016, 11:13:13 AM
by JusticeLeague
3 Replies
154 Views
Last post December 06, 2016, 11:21:01 AM
by rpmolecule

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.