1

Hi I am using the below code, it says for example:

Error message: Unknown column 'ladderID' in 'where clause' But does not say what file and what line it is producing the error from?

printf("Error message: %s\n", mysqli_error($this->connection))

Thanks for any help

Saurabh Chandra Patel
  • 12,712
  • 6
  • 88
  • 78
Karim Ali
  • 61
  • 2
  • 10

1 Answers1

0

I assume you writing an update statement:
UPDATE ladders SET Description ='Green ladder' WHERE ladderID = 50;
printf has nothing to do with files.
printf means outputting a string in a certain format.
mysqli is being used to access data from a database.

KarlosFontana
  • 188
  • 2
  • 7