Posts by Márcio André • 487 points
16 posts
-
0
votes0
answers353
viewsQ: How to change menu position with materialize framework?
Someone knows how to always put the slide on top and everything else(menu, text, etc...) after the slide? example: http://99webpage.com/theme-review/html/tooku/index.html Using the framework:…
-
1
votes1
answer33
viewsQ: How to send emails in php version 4.3.11?
How can I send emails in php version 4.3.11? I have a website hosted on a server where the php version is this and the function mail() does not work. There is way around the problem?…
-
0
votes0
answers39
viewsQ: Help with the Ytplayer plugin
I need help with the Mb.Ytplayer plugin. I am using this plugin, however if the youtube video link contains a -, the plugin no longer works. How can I make it work?
-
0
votes4
answers80
viewsQ: How to print next line
I have the following code: <? $result = $connection -> query("SELECT * FROM testemunhos") or die($connection -> error); while($row = $result -> fetch_array(MYSQLI_ASSOC)){ ?> <div…
-
2
votes2
answers229
viewsQ: View how many people accessed pdf
I have a pdf on my server and I put it available through a link, there is way to control how many people access the pdf?
-
4
votes4
answers174
viewsQ: Is it possible to use PHP in a data-title field?
It is possible to use PHP within a field data-title? I have the following code: <div id="grid" class="m-row shuffle--container shuffle--fluid"> <? $result = $connection -> query("SELECT…
-
0
votes2
answers262
viewsA: Insert data into database according to number of checkboxes
It’s taken care of. I was having trouble with the NULL because I don’t know how to pass the NULL in function bind_param, so I did like this: $result = $connection -> query("insert into…
-
6
votes2
answers262
viewsQ: Insert data into database according to number of checkboxes
I have a form where I have fields with chekboxes and I want to know if it is possible to do so many inserts as selected fields. That is if the user selects 4 checkboxes do 4 inserts, is possible? If…
-
2
votes0
answers493
viewsQ: How to use tags in Mysql and PHP
I am creating a website and would like to know how I can use tags with Mysql and PHP. I have two tables: produtos and informacao. On the table informacao I have a field called related products where…
-
0
votes2
answers170
viewsA: While isn’t stopping when he should
I already solved the problem. Just remove the limit 4 query. Since I am using grids and they have a float: left then automatically the boxes change line.
-
0
votes2
answers170
viewsQ: While isn’t stopping when he should
I have the following code: <div class="row"> <? $tag = mysqli_real_escape_string($connection,$_GET['categoria']); $result = $connection -> query("select * from produtos where tags like…
-
2
votes3
answers98
viewsQ: Search by selection field
I am creating filters to search for products, having all the products visible, I would like to know how I can make a selection field and by the category that the user chose would only appear…
-
16
votes2
answers13578
viewsQ: Mysql error "expects Parameter 1 to be Resource, Boolean Given in"
$query = "Select * from servico where ID_SERVICO = $id"; $result = mysql_query($query); if($row = mysql_fetch_array($result)) { $nome = $row['NOME']; if($nome == 'Marketing') { include…
-
1
votes1
answer837
viewsQ: Does anyone know a good program to create mysql database?
Someone knows a good program to create mysql database and then I can send it to phpmyadmin?
sqlasked Márcio André 487 -
3
votes2
answers379
viewsQ: How many images can I save to a mysql blob field?
I can record multiple images in one field blob? Or I’ll have to create several fields? Imagem1, Imagem2 etc.... ? I wanted to know if there is any way to do this without having to create several…
-
1
votes1
answer681
viewsQ: How can I update a mysql blob field using php
if(isset($_POST['submit_edit'])) { if (empty($_POST['imagem'])){ $titulo = $_POST['titulo']; $texto = $_POST['texto']; $query ="UPDATE SERVICOS SET TITULO=\"$titulo\",TEXTO=\"$texto\" WHERE…