1
Outline Mysqli Connection via PHP Create PHP file connection to connect database. DB connection via Dreamweaver.By: Eng...
http://localhost/By: Eng Mohammed Hussein 3
Mysql and Mysqli The Mysql_* and Mysqli_* family of functions were bothcreated to give a programmer methods of interactin...
http://localhost/phpmyadmin/By: Eng Mohammed Hussein 5
Login to phpDb DatabaseBy: Eng Mohammed Hussein 6
PHP file Connection Create PHP file connection to connect databaseBy: Eng Mohammed Hussein 7
PHP Sessions<?phpsession_start();if(isset($_SESSION[views]))$_SESSION[views]=$_SESSION[views]+1;else$_SESSION[views]=1;ech...
Include PHP file connection & Query Calling php file connection inside index.php code.By: Eng Mohammed Hussein 9
Query calling back Using $body variable inside index.php codeBy: Eng Mohammed Hussein 10
DB connection via DreamweaverBy: Eng Mohammed Hussein 11
Recordset using DreamweaverBy: Eng Mohammed Hussein 12
Import data using DreamweaverBy: Eng Mohammed Hussein 13
References1) http://www.w3schools.com/php/php_ref_string.asp2) http://www.w3schools.com/php/php_looping.asp14By: Eng Moham...
Upcoming SlideShare
Loading in...5
×

Mysqli Connection Adobe Dreamweaver CS5

2,258

Published on

MysqliConnection via PHP
Create PHP file connection to connect database.
DB connection via Dreamweaver.

Published in: Education, Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,258
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Mysqli Connection Adobe Dreamweaver CS5

  1. 1. 1
  2. 2. Outline Mysqli Connection via PHP Create PHP file connection to connect database. DB connection via Dreamweaver.By: Eng Mohammed Hussein 2
  3. 3. http://localhost/By: Eng Mohammed Hussein 3
  4. 4. Mysql and Mysqli The Mysql_* and Mysqli_* family of functions were bothcreated to give a programmer methods of interacting with aMySQL database using PHP. For instance, when we want to connect to MySQL and opencommunication to it, we use mysqli_connect. Then to closethat same connection we use musqli_close Not verycomplicated. After added Mysqli family of functions with PHP5, it hasimproved efficiency, speed, code, security and interfacing dueto the way the new model is structured.By: Eng Mohammed Hussein 4
  5. 5. http://localhost/phpmyadmin/By: Eng Mohammed Hussein 5
  6. 6. Login to phpDb DatabaseBy: Eng Mohammed Hussein 6
  7. 7. PHP file Connection Create PHP file connection to connect databaseBy: Eng Mohammed Hussein 7
  8. 8. PHP Sessions<?phpsession_start();if(isset($_SESSION[views]))$_SESSION[views]=$_SESSION[views]+1;else$_SESSION[views]=1;echo "Views=". $_SESSION[views];?><html><body><br><?phpecho "This is inside PHP<br>";echo "Hello World!<br>";$q= "How Are You Every Body?";Echo $q;?></body></html>F5Google Chrome128By: Eng Mohammed Hussein
  9. 9. Include PHP file connection & Query Calling php file connection inside index.php code.By: Eng Mohammed Hussein 9
  10. 10. Query calling back Using $body variable inside index.php codeBy: Eng Mohammed Hussein 10
  11. 11. DB connection via DreamweaverBy: Eng Mohammed Hussein 11
  12. 12. Recordset using DreamweaverBy: Eng Mohammed Hussein 12
  13. 13. Import data using DreamweaverBy: Eng Mohammed Hussein 13
  14. 14. References1) http://www.w3schools.com/php/php_ref_string.asp2) http://www.w3schools.com/php/php_looping.asp14By: Eng Mohammed Hussein
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×