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

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

Copy Clear
Copy Format Clear
<?php $result = $mysqli->query( "SELECT field_image_fid, filename, title FROM field_revision_field_image, file_managed, node WHERE file_managed.fid = field_revision_field_image.field_image_fid AND field_revision_field_image.bundle = 'article' AND node.type = 'article';" ); while ($row = $result->fetch_assoc()) { print "URI : " . $row["filename"] . "; title: . " . $row["title"] . "<br>"; }
Copy Clear