I need a show School_name

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
saleh
User
Posts: 470

I need a show School_name

Post by saleh »

I need a show School_name

But the membership number appears : Identity
UserID=Identity

How to show : School_name

This code appears :UserID
// Page Data Rendering event
function Page_DataRendering(&$header) {
// Example:

$myField = ExecuteScalar("SELECT School_name FROM users where Identity ");

$username = CurrentUserName();

$header = "$username";
}


arbei
User
Posts: 9384

Post by arbei »

saleh wrote:
$myField = ExecuteScalar("SELECT School_name FROM users where Identity ");

You need to provide a complete WHERE clause.


saleh
User
Posts: 470

Post by saleh »

Thank you for your help
Works successfully


Post Reply