Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2015-06-02 17:01:11

gauravmishra
Member
Registered: 2015-01-10
Posts: 7

how to write direct query

i am adding some basic thing for which i need to fetch from database , how can i use direct sql query like " select  * from lh_question where active=1"

please help how can i do it

Offline

#2 2015-06-02 18:16:12

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: how to write direct query

https://github.com/LiveHelperChat/xmpp- … r.php#L140

It's standard PDO objects so php manual is your friend.

Offline

Board footer