header using fwrite
-
Is there a syntax to insert a tag in the fwrite( $output, $LastName . “, ” . $FirstName ); to make it bold? ie
<strong>Abraskin, Jo Anne</strong> (H) n/a (C) 845/901-0373 409 Crystal Hill Lane Poughkeepsie, NY 12603 [email protected] 5204216 CUNY Richmond College, BA Columbia Univ., MA$LastName = $row['LastName']; $FirstName = $row['FirstName']."\n"; $HomePhone = "(H) " .$row['HomePhone']."\n"; $CellPhone = "(C) " .$row['CellPhone']."\n"; $Address1 = $row['Address1']."\n"; $City = $row['City']; $State = $row['State']; $Zip = $row['Zip']."\n"; $Email = $row['Email']."\n"; $ID = $row['ID']."\n"; $College1 =$row['College1']."\n"; $College2 =$row['College2']."\n"; $College3 =$row['College3']."\n"; $output = fopen('php://output', 'w'); fwrite( $output, $LastName . ", " . $FirstName ); fwrite( $output, $HomePhone); fwrite( $output, $CellPhone); fwrite( $output, $Address1); fwrite( $output, $City . ", " . $State . " " . $Zip ); fwrite ( $output, $Email ); fwrite ( $output, $ID ); fwrite ( $output, $College1 ); fwrite ( $output, $College2 ); fwrite ( $output, $College3 );
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
The topic ‘header using fwrite’ is closed to new replies.