Giter VIP home page Giter VIP logo

database's Introduction

Creating content & code

๐Ÿ‘‹ Hello! My name is Sunny. I create content on sunnysingh.io and share resources on resrc.dev.

I am currently building TSNew.

database's People

Contributors

sunnysingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

database's Issues

A problem with queries

Hi sunnysingh,
I'm not so good in php, so it may be an easy to fix issue. That's the problem:
When i try to insert a new user in my database, i get this error message

"Undefined index: query in /opt/lampp/htdocs/public_html/www.gaptricesimo.it/PHP/classes/database.php on line 51".

I used the sintax provided by you in the docs $insert = $db->query("INSERT INTO people (name, age) VALUES('Bob', '123')");
I also tryed the other sintax for sensitive variables but after that the errors became two:

Notice: Undefined index: query in /opt/lampp/htdocs/public_html/www.gaptricesimo.it/PHP/classes/database.php on line 51
Notice: Undefined variable: markers in /opt/lampp/htdocs/public_html/www.gaptricesimo.it/PHP/classes/database.php on line 79

Can you please help me to find out where i'm wrong?
Thank you so much and congratulations for the great Class, i hope to get it working.

P.S. I included the file correctly and the rows are actually stored in the database, just wondering why those errors appear. Working with xampp on linux.

Lorin

Bug when fetching a longtext field

Hi Sunny,

There's another little problem with the framework. On local it seems to have no problems, but when i switch to the remote server a problem occurs: Longtext fields won't be fetched by any of the framework functions. And it seems to be a broblem of the framework, cause i tryed another script and it worked fine. To solve i was forced to change the field type to mediumtext. What's the problem in your opinion?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.