What should I do to work my log in systemFatal error: Call to undefined function mysql_connect()Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsHow does database indexing work?What is the difference between “INNER JOIN” and “OUTER JOIN”?Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsStack trace: #0 mainFatal Error Call To Undefined Method Stack Trace:#0it's says EXPECTS at least 2 parameters, Any suggestion?Unable to send data to server in AndroidHow to setup the xampp mysql in my laptop?? More specifically, how to insert data in my database?Php and Database connection & concatenationUndefined php variables but databese variable is fine

Why is the design of haulage companies so “special”?

Is Fable (1996) connected in any way to the Fable franchise from Lionhead Studios?

What is the meaning of "of trouble" in the following sentence?

How can I fix this gap between bookcases I made?

COUNT(*) or MAX(id) - which is faster?

How to move the player while also allowing forces to affect it

How to deal with fear of taking dependencies

What are the advantages and disadvantages of running one shots compared to campaigns?

aging parents with no investments

How would photo IDs work for shapeshifters?

What to wear for invited talk in Canada

Lied on resume at previous job

Is Social Media Science Fiction?

How do I create uniquely male characters?

Is every set a filtered colimit of finite sets?

Need help identifying/translating a plaque in Tangier, Morocco

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Does bootstrapped regression allow for inference?

Shall I use personal or official e-mail account when registering to external websites for work purpose?

Is domain driven design an anti-SQL pattern?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

LWC and complex parameters

Patience, young "Padovan"



What should I do to work my log in system


Fatal error: Call to undefined function mysql_connect()Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsHow does database indexing work?What is the difference between “INNER JOIN” and “OUTER JOIN”?Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsStack trace: #0 mainFatal Error Call To Undefined Method Stack Trace:#0it's says EXPECTS at least 2 parameters, Any suggestion?Unable to send data to server in AndroidHow to setup the xampp mysql in my laptop?? More specifically, how to insert data in my database?Php and Database connection & concatenationUndefined php variables but databese variable is fine






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1
















Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsCWebsiteconnectivity.php:7 Stack trace: #0 main thrown in C:xampphtdocsCWebsiteconnectivity.php on line 7




this is my code: line 7 error. "Below"



$con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error())
<<<<










share|improve this question



















  • 2





    If this is PHP code, please tag it as such. "undefined function" means it doesn't know what mysql_connect is, so you're missing a MySQL interface library for PHP.

    – lurker
    Mar 22 at 1:51







  • 1





    Possible duplicate of Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocs∖ Please do at least a basic search for the error message before posting a new question. Chances are good that at least one person has seen it before and asked about it here.

    – Ken White
    Mar 22 at 1:56












  • Possible duplicate of Fatal error: Call to undefined function mysql_connect()

    – Nasser
    Mar 22 at 2:01











  • Our log in website is working in my friend's laptop. But when I copy the file and open it to my computer, It doesn't work! Only log in. I put the right surname and password but it doesn't work again.

    – Bernard Zo
    Mar 22 at 2:12











  • I think it's the Xampp. In my friend's laptop her xampp is v3.2.2 then I used the latest version in my computer

    – Bernard Zo
    Mar 22 at 2:14

















-1
















Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsCWebsiteconnectivity.php:7 Stack trace: #0 main thrown in C:xampphtdocsCWebsiteconnectivity.php on line 7




this is my code: line 7 error. "Below"



$con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error())
<<<<










share|improve this question



















  • 2





    If this is PHP code, please tag it as such. "undefined function" means it doesn't know what mysql_connect is, so you're missing a MySQL interface library for PHP.

    – lurker
    Mar 22 at 1:51







  • 1





    Possible duplicate of Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocs∖ Please do at least a basic search for the error message before posting a new question. Chances are good that at least one person has seen it before and asked about it here.

    – Ken White
    Mar 22 at 1:56












  • Possible duplicate of Fatal error: Call to undefined function mysql_connect()

    – Nasser
    Mar 22 at 2:01











  • Our log in website is working in my friend's laptop. But when I copy the file and open it to my computer, It doesn't work! Only log in. I put the right surname and password but it doesn't work again.

    – Bernard Zo
    Mar 22 at 2:12











  • I think it's the Xampp. In my friend's laptop her xampp is v3.2.2 then I used the latest version in my computer

    – Bernard Zo
    Mar 22 at 2:14













-1












-1








-1









Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsCWebsiteconnectivity.php:7 Stack trace: #0 main thrown in C:xampphtdocsCWebsiteconnectivity.php on line 7




this is my code: line 7 error. "Below"



$con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error())
<<<<










share|improve this question

















Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocsCWebsiteconnectivity.php:7 Stack trace: #0 main thrown in C:xampphtdocsCWebsiteconnectivity.php on line 7




this is my code: line 7 error. "Below"



$con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error())
<<<<







database






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 2:33









Nasser

1,753637




1,753637










asked Mar 22 at 1:50









Bernard ZoBernard Zo

1




1







  • 2





    If this is PHP code, please tag it as such. "undefined function" means it doesn't know what mysql_connect is, so you're missing a MySQL interface library for PHP.

    – lurker
    Mar 22 at 1:51







  • 1





    Possible duplicate of Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocs∖ Please do at least a basic search for the error message before posting a new question. Chances are good that at least one person has seen it before and asked about it here.

    – Ken White
    Mar 22 at 1:56












  • Possible duplicate of Fatal error: Call to undefined function mysql_connect()

    – Nasser
    Mar 22 at 2:01











  • Our log in website is working in my friend's laptop. But when I copy the file and open it to my computer, It doesn't work! Only log in. I put the right surname and password but it doesn't work again.

    – Bernard Zo
    Mar 22 at 2:12











  • I think it's the Xampp. In my friend's laptop her xampp is v3.2.2 then I used the latest version in my computer

    – Bernard Zo
    Mar 22 at 2:14












  • 2





    If this is PHP code, please tag it as such. "undefined function" means it doesn't know what mysql_connect is, so you're missing a MySQL interface library for PHP.

    – lurker
    Mar 22 at 1:51







  • 1





    Possible duplicate of Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocs∖ Please do at least a basic search for the error message before posting a new question. Chances are good that at least one person has seen it before and asked about it here.

    – Ken White
    Mar 22 at 1:56












  • Possible duplicate of Fatal error: Call to undefined function mysql_connect()

    – Nasser
    Mar 22 at 2:01











  • Our log in website is working in my friend's laptop. But when I copy the file and open it to my computer, It doesn't work! Only log in. I put the right surname and password but it doesn't work again.

    – Bernard Zo
    Mar 22 at 2:12











  • I think it's the Xampp. In my friend's laptop her xampp is v3.2.2 then I used the latest version in my computer

    – Bernard Zo
    Mar 22 at 2:14







2




2





If this is PHP code, please tag it as such. "undefined function" means it doesn't know what mysql_connect is, so you're missing a MySQL interface library for PHP.

– lurker
Mar 22 at 1:51






If this is PHP code, please tag it as such. "undefined function" means it doesn't know what mysql_connect is, so you're missing a MySQL interface library for PHP.

– lurker
Mar 22 at 1:51





1




1





Possible duplicate of Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocs∖ Please do at least a basic search for the error message before posting a new question. Chances are good that at least one person has seen it before and asked about it here.

– Ken White
Mar 22 at 1:56






Possible duplicate of Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocs∖ Please do at least a basic search for the error message before posting a new question. Chances are good that at least one person has seen it before and asked about it here.

– Ken White
Mar 22 at 1:56














Possible duplicate of Fatal error: Call to undefined function mysql_connect()

– Nasser
Mar 22 at 2:01





Possible duplicate of Fatal error: Call to undefined function mysql_connect()

– Nasser
Mar 22 at 2:01













Our log in website is working in my friend's laptop. But when I copy the file and open it to my computer, It doesn't work! Only log in. I put the right surname and password but it doesn't work again.

– Bernard Zo
Mar 22 at 2:12





Our log in website is working in my friend's laptop. But when I copy the file and open it to my computer, It doesn't work! Only log in. I put the right surname and password but it doesn't work again.

– Bernard Zo
Mar 22 at 2:12













I think it's the Xampp. In my friend's laptop her xampp is v3.2.2 then I used the latest version in my computer

– Bernard Zo
Mar 22 at 2:14





I think it's the Xampp. In my friend's laptop her xampp is v3.2.2 then I used the latest version in my computer

– Bernard Zo
Mar 22 at 2:14












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55291759%2fwhat-should-i-do-to-work-my-log-in-system%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55291759%2fwhat-should-i-do-to-work-my-log-in-system%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript