acburst on gh-pages
Patreon june (compare)
acburst on gh-pages
Patreon may (compare)
<select id="estados">
<option value="" disabled selected>Choose your option</option>
<?php
$select = $pdo->prepare("SELECT * FROM estados ORDER BY nome ASC");
$select->execute();
$fetchAll = $select->fetchAll();
foreach ($fetchAll as $estados) {
echo '<option value="'.$estados['id'].'">'.$estados['nome'].'</options>';
}
?>
</select>
<select id="cidades">
<option value="">Opção</option>
</select>
`<script type="text/javascript">
$("#estados").change(function(){
var idEstado = $('#estados').val();
$.ajax({
url: 'functions/pega_cidades.php',
type: 'POST',
data:{id:idEstado},
success: function(data){
$("#cidades").html(data);
},
});
});
</script>`
`<?php
require("conn.php");
$pegaCidades = $pdo->prepare("SELECT * FROM cidades WHERE estados_id='".$_POST['id']."'");
$pegaCidades->execute();
$fetchAll =$pegaCidades->fetchAll();
foreach ($fetchAll as $cidades) {
echo '<option value="'.$cidades['id'].'">'.$cidades['nome'].'</option>';
}
?>`
I have developped a google WebApp using materializecss. It's basically a form to capture and calculate about 30 fields, then populate a google spreadsheet with result. It works well on a laptop, but I have designed for mobile too, testing by reducing the width or my browser. All seems to work well, but when I run it on my phone, although it has reduced the columns down to 1 or 2 columns, it still seems to have the same width as a laptop with very wide fields and tiny fonts. As far as I can see, materialise takes care of all the font sizes, so I have none of my own CSS at all. I feel I should have some media queries, but there's nothing in the docs to explain.
I have created a small example using code from the Marerialize site, just using the "Getting Started" stuff and the code from the "Text Inputs" and it still goes wrong - BUT ONLY ON AN ACTUAL MOBILE! It looks fine on a laptop.
I have posted the example in a code snippet on a SO question here ...
https://stackoverflow.com/questions/71843208/materializecss-google-apps-responsive-mobile-font-size
Hi, everyone
I'm looking for a job, can you help me?
Tech stacks related to my past experience:
I can work full-time in the time frame you require.
Let me know if you have any good news.
Hello,
Hi, as a full stack blockchain and web developer, I am looking for a new job opportunity.
Here are my skills
1)Blockchain
Thanks