PHP has nothing to do with styling, its backend logic. Anything display wise is HTML/CSS. When you understand how those work, it should give a really good idea how to connect all 3 together, just to give you some more context.
Thats a CSS problem buddy. Pick up CSS beginner tutorials or a framework like Bulma or Bootstrap.
I've got a php script to enable users to upload files to a server. It
works, but when testing it on my android phone, I saw the text is really
small. How can I make it appear larger on an android device? Here's
the script.
thanks
<?php
if (isset($_FILES['upload'])) {
$uploadDir = '/var/www/uploads/'; //path you wish to store you
uploaded files
$uploadedFile = $uploadDir . basename($_FILES['upload']['name']);
if(move_uploaded_file($_FILES['upload']['tmp_name'],
$uploadedFile)) {
echo 'File was uploaded successfully.';
} else {
echo 'There was a problem saving the uploaded file';
}
echo '<br/><a href="FileUpload.php">Back to Uploader</a>';
} else {
?>
<form action="upload.php" method="post"
enctype="multipart/form-data">
<label for="upload">File:</label>
<input type="file" name="upload" id="upload"><br/>
<input type="submit" name="submit" value="Upload">
</form>
<?php
}
?>
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss