Skip to content

Tag: mysql

Laravel I can’t retrieve requester data using with

I am using this package https://github.com/renoki-co/befriended My issue is trying to get all my friends posts with my post including user’s data, but the problem is the requester data is null. Response As you can see the first object in the array dosen’t include the user data. So what should i do…

Getting live feed in Google charts

Rooky in need for some help here! I am trying to set up Google chart connected to a database that will be populated during the whole day. So this chart needs to have a live feed. I got below scrip and query. The Query works, and gives the feedback I need. Assuming that some magic in the ‘var data’…

Trying to use string as foreign key in laravel

I am just a beginner and trying to use string as foreign key in laravel but getting this error while fetching the data:- SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘read’ in ‘where clause’ (SQL: select from as sender_id, count(from) as messages_count from messages where to …

PHP MYSQL – Anti Multi Account [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 1 year ago. Improve this question I need to make an anti-multi account, i found this example for the mys…