when running the function mysqli_error() giving error of argument when using with die function
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\connect.php:2 Stack trace: #0 C:\xampp\htdocs\mysql.php(2): require() #1 {main} thrown in C:\xampp\htdocs\connect.php on line 2This keeps showing up..what to do sir, or mam...
Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\connect.php:2 Stack trace: #0 C:\xampp\htdocs\mysql.php(2): require() #1 {main} thrown in C:\xampp\htdocs\connect.php on line s2 so please reply for this message to correct the errors
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\connect.php on line 4I got this error. How can I remove it?
I get the following error messege while conneting to database:"Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\\xampp\\htdocs\\connect.php:3 Stack trace: #0 {main} thrown in C:\\xampp\\htdocs\\connect.php on line 3"I am using XAMPP version 7.1.9 on OS Windows 7 SP 1. php version is as same as xampp version
What to do to remove the fatal error:Call to undefined function mysql_connect() in connect. php
Can anyone tell me how the search function is done in websites??? i.e Some websites provide online dictionary, I think they use database like MySQL , to store words and meanings in tables , if a user enters a word in browser and hits "search" the corresponding word appears with meaning , how the "search function" above is done??? do they use any algorithm ? or simply storing and retrieving using the function like mysql_fetch_array()????I messed up in this please help me to get cleared!
Hello Friends! For phpMyadmin I have given a password so that I can use that password to see my databases, If my friend wants to use my Laptop I have to give him the phpMyadmin password but he/she can also see my personal databases which I am having already! Can I able to protect my personal DBs from others??? so that we can share some common databases but not all ? If yes how can I ? please help me!
570 visits
Outline:MySQL (Part 2) Connecting to the database and inserting dummy data into the database. mysql_connect("server_addr", "username", "password") - Connect to the Database Server with the authorised user and password. mysql_select_db("database_name") - Selecting a database within a connected database server.
MySQL (Part 2) Connecting to the database and inserting dummy data into the database. mysql_connect("server_addr", "username", "password") - Connect to the Database Server with the authorised user and password. mysql_select_db("database_name") - Selecting a database within a connected database server.
Show video info
Pre-requisite