Questions tagged as 'html'

1
answer

How to open and display directory images with php?

Hello everyone trying to protect my images I created a .htaccess file in my image directory, this is my code: order deny,allow deny from all But I have noticed that I can still access my images with the fpdf library that has a function call...
asked by 23.10.2017 / 00:17
1
answer

Error in html form to php

I have the following form on my index.html page <form method="post" action="correo.php"> <div class="form-group"> <fieldset>...
asked by 19.10.2017 / 23:12
2
answers

Uncaught TypeError: Can not read property 'post' of undefined

My code so far: <p><script language="javascript"> function funcion(){ var a ="field_1"; var b ="field_2"; var c ="field_3"; var d ="field_4"; var e ="field_5"; var f ="field_6"; var g ="field_7"; var...
asked by 30.08.2017 / 11:34
1
answer

Store html code in a variable using (php)

Saludes! it turns out that I have this little php code that extracts the source code of a page. HTML <?php $file = file('https://ged-tubesex69.rhcloud.com/demo.php'); foreach($file as $line){ $texto = nl2br(htmlspecialchars($line).' '...
asked by 29.08.2017 / 04:21
3
answers

Show error message in a span of a form in javascript

I made a validation but I want the message to fill in all the fields to be displayed in a span with javascript: function validarformulario(){ var nombre,correo,compañia,expresion; nombre =document.getElementById('nombre').value; correo=docu...
asked by 29.08.2017 / 21:08
1
answer

Problem when "preloading" images

I have several images on the web page. What I need is that when loading the page all the images are loaded the same (for example, the drawing of a clock, this I do to load the web faster) and that they "pre-load" the correct images in cache. Whe...
asked by 19.09.2017 / 11:22
1
answer

CSS: Keep style by breaking the word

By breaking the word with word-wrap: break-word; I would like the border top to stay, is there a way to do it? Thank you very much. td{ border-top: 1px solid black; } .width1{ width:60%; display:inline-block; word-wrap:br...
asked by 20.09.2017 / 11:29
2
answers

PHP insert multiple fields to database

A question at the time of entering a comments to a worker to the database through his ID only I enter a single comment not the multiple that I can add through the textbox. <script> $(document).ready(function(){ var i=1;...
asked by 31.08.2017 / 13:44
1
answer

problem with updating sql data

hi friends I have a problem and I would like to know what you say or what I have wrong or I do not know, happens that I have a form that has one field that is filled by a query query, and then when editing a box the field is not updated Here I...
asked by 21.08.2017 / 04:26
1
answer

Delete a table when changing input data

I have the following table: which is generated immediately, but when making a change of dates with $("#p-fechaIni").change(function() { tablaP($("#p-fechaIni").val(), $("#p-fechaFin").val()); }); Send the data and...
asked by 21.08.2017 / 18:34