Thanks Tomasz,
I believe that this will work just fine! :)
Mike
Tomasz Abramowicz wrote:
>
> echo "Recent Signatures\n";
> $query = "SELECT FirstName,LastName,CityState FROM phPetition WHERE
> Public='yes' AND Verified='yes' ORDER BY ID DESC LIMIT 0,5";
> $result = mysql_query( $query )
>
Recent Signatures\n";
$query = "SELECT FirstName,LastName,CityState FROM phPetition WHERE
Public='yes' AND Verified='yes' ORDER BY ID DESC LIMIT 0,5";
$result = mysql_query( $query )
or die("never expect your query to work: $query");
while ( $row = mysql_fetch_array( $result ) ) {
echo
Hello,
I'd like to verify two conditions are true in the results that I pull out of my
MySQL database. In this case I wanted Verified and Public both to be listed as
'yes' in the DB before they were displayed. The code I tried to use is as follows:
Recent Signatures\n";
$individuals_query = m
3 matches
Mail list logo