apply css font face to post command
| From: | e-letter | Date: | Tue, 15 Aug 2023 09:31:26 +0000 |
| Subject: | apply css font face to post command | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328247@lists.php.net to get a copy of this message | ||
Readers,
A css file contains
"
@font-face {
font-family:fontname;
src:url('./font.ttf') format ('truetype');
}
"
A php file contains:
"
<form action='file.php' method='post'>
text: <input type='text' name='text'>
<input type='submit'>
</form>
"
Another php file:
"
<?php
echo $_POST["text"];
?>
Please what is the correct syntax to apply the css file to the text
entered by the user?