ISHUC
asked on
Could someone please explain this to me?
Specifically, I don't under stand what these rows are supposed to be doing.
what is the <?= for?
Is this PHP,javascript,...
<h2><?= $data_row->title ?></h2>
<p><?= $data_row->body ?></p>
what is the <?= for?
Is this PHP,javascript,...
<h2><?= $data_row->title ?></h2>
<p><?= $data_row->body ?></p>
<?php
# Dataset ID is present
if ( !empty( $id ) ) {
# Get data from database and print out
$query = mysql_query( "SELECT * FROM ". DBTABLE ." WHERE id=$id", $db_server );
if ( mysql_numrows( $query ) == 1 ) {
$data_row = mysql_fetch_object( $query );
?>
<h2><?= $data_row->title ?></h2>
<p><?= $data_row->body ?></p>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I mean extract() not execute()
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER