PHP 8.5.0 Alpha 4 available for testing

Voting

: one plus four?
(Example: nine)

The Note You're Voting On

lod
17 years ago
A quick one liner to get the first entry returned. This is nice for very basic queries.

<?php
$count
= current($db->query("select count(*) from table")->fetch());
?>php

<< Back to user notes page

To Top