256 Kilobytes

Databases > PHP

Type All Category DatabasesDiscuss database design and development, such as relational and NoSQL technologies like MySQL, MariaDB, and MongoDB. Tag PHPPHP: Hypertext Preprocessor is a scripting language used heavily in server-side development. PHP is frequently used for templating.

Profile Photo - Some Guy

Solve "trying to get property of non-object"?

Answers in Databases | By Some Guy

Published

Profile Photo - Hash Brown

Last ReplyYou're probably trying to get the value from an array with object syntax. Most database data is handled in arrays, not objects. If you are d... Hash Brown,

You're probably tryin...

Sun, 20 Jan 2019 18:29:51 -08002 years ago1
🗨 1
🐏 0
👁 480
Profile Photo - Some Guy

Solve "sqlstate[hy000] [2002] connection refused"?

Answers in Databases | By Some Guy

Published

Profile Photo - Hash Brown

Last ReplyThese errors are kind of generic and don't point to anything specific. In general you want to start off: Make sure you're using the c... Hash Brown,

These errors are kind of...

Sun, 20 Jan 2019 18:05:00 -08002 years ago1
🗨 1
🐏 0
👁 532
Profile Photo - Some Guy

Fixing "MySQLi_real_connect(): (hy000/2002): no such file or directory?"

Answers in Databases | By Some Guy

Published | Last Update

Profile Photo - Hash Brown

Last ReplyGo into your script or config file and find your database credentials. Look for "localhost" and replace it with "127.0.0.1".... Hash Brown,

Go into your script or co...

Mon, 14 Jan 2019 14:00:03 -08002 years ago1
🗨 1
🐏 0
👁 4,128
Profile Photo - Some Guy

Solve "Column count doesn't match value count at row 1"?

Answers in Databases | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyThis error can occur if you are missing If your insert statement does not specify the number of columns correct. Example of incorrect statement:... August R. Garcia,

This error can occur if y...

Thu, 20 Dec 2018 01:18:24 -08002 years ago1
🗨 1
🐏 0
👁 355
Profile Photo - Some Guy

What is "mysqli_fetch_assoc"?

Answers in Databases | By Some Guy

Published

Profile Photo - Hash Brown

Last ReplyHello, Firstly and most importantly, mysqli is dead. It's very easy to mess up and ship code with security issues. You should look at PDO (PHP... Hash Brown,

Hello,

Wed, 19 Dec 2018 08:19:40 -08002 years ago1
🗨 1
🐏 0
👁 366
Profile Photo - Some Guy
Profile Photo - Some Guy

I'm getting tossed an error that sa...

MoreI'm getting tossed an error that says "Fatal Error: call to undefined function mysql_connect()". Can somebody tell me how to solve this...
🗨 0
🐏 0
👁 349
Profile Photo - Some Guy

What is "mysqli_real_escape_string" in PHP?

Answers in Databases | By Some Guy

Published

Profile Photo - Some Guy

I'm writing a program for a class p...

MoreI'm writing a program for a class project. I'm writing PHP for the program and I can figure out a code. I don't know what "mysqli_...
🗨 0
🐏 0
👁 361