Hi! Could we please enable some services and cookies to improve your experience and our website?

PHPize Online / SQLize Online  /  SQLtest Online

A A A
Login    Share code      Blog   FAQ

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

Copy Format Clear
create table questions ( id int, catalog_id int, user_id int, question text ); create table users ( id int, name varchar(256), gender varchar(256) ); insert into questions (id, catalog_id,user_id,question) values (1,1,2,'test'), (2,1,2,'wwwqq'), (3,1,3,'llllll'), (4,1,3,'alalalalalal'), (5,1,4,'aaakskskska'), (6,1,2,'kkkllllll'), (7,1,3,'aaalll'), (8,2,3,'aaalll'); insert into users ( id,name,gender) values (1,'test1','m'), (2,'test2','m'), (3,'test3','f'), (4,'test4','m');

Stuck with a problem? Got Error? Ask AI support!

Copy Clear
Copy Format Clear
<?php $catId = 1; var_dump(mysqli_report());
Copy Clear