Questions tagged as 'php'

1
answer

Php how to put the keys

Can someone fix me how to insert the separation keys of the items? $url = "http://www.ffcv.es/ncompeticiones/server.php?action=getActa&tmp=2017/2018&jor=3&cmp=48&idl=0201073211&idv=0201128231&id=2127995"; $data = f...
asked by 31.12.2018 / 14:41
1
answer

PHP Parse error: syntax error, unexpected '' (T_SL) in

I have the following code that generates this error: function vbAuthorMetaBox($post, $params) { $fieldname = $params['args'][0]; $value = get_post_meta($post->ID, $fieldname, true); wp_nonce_field('vb_question_author', 'vb_q...
asked by 31.12.2018 / 13:34
1
answer

Error when addressing

I'm circling but I can not find the error: I have wordpress installed in home root. I made a redirection so that from the web it looks like domain.com. Could you help me? mi (.htaccess) located in public html: RewriteEngine on RewriteCond %...
asked by 27.11.2018 / 16:43
1
answer

values in a html table loaded from mysql

Very good friends, I have a question: I have the following table: <div class="container"> <table class="table"> <thead> <tr> <th scope="col">Fecha</th> <th scope="col">Concepto</th>...
asked by 29.12.2018 / 22:32
2
answers

Problem with float numbers in php

How about? I know it's a very talked about topic but I can not find a solution if you can lend me a hand. I have an application in which I calculate the VAT and as the products I offer have different VAT I have decided to add the amount and assi...
asked by 15.11.2018 / 20:41
1
answer

Problem with function

I am creating a blog and the following function has been created to take the topics of the blog: function getPostTopic($post_id) { global $conn; $sql = "SELECT * FROM topics WHERE id= (SELECT topic_id FROM post_topic WHERE...
asked by 15.11.2018 / 21:00
1
answer

Variable accumulates data in a foreach - PHP

I have a foreach that runs through an array to show me some links of the images. When I create more than one block, the images of this one and those of the first block are shown in the 2nd. if ( isset( $block['images'] ) ){ foreach(a...
asked by 12.12.2016 / 16:59
1
answer

save mp3 formats in BD and play them is a Streaming

Good morning, I am developing a radio project on the web, where the common thing I have done is to divide the index of the web with a frame I add a Streaming connected with ZaraRadio . however to do so I have to have a...
asked by 10.12.2016 / 15:11
1
answer

I have a problem in login json php

I'm confused between json and jquery gives me [objet] [objet] the truth is not lose I pass the code to you //tema es ajax json function iniciar_sesion(user, password) { var validaruser = user.split(" ").join(""); var validarp...
asked by 14.12.2016 / 19:50
1
answer

Understanding Guzzle: error that I do not understand

I'm trying to convert a code that works, to its version with Guzzle, but I do not get the desired result, and I think it's because of a lack of understanding of Guzzle v6. If I execute the following code $postfields = array( 'identifier...
asked by 14.11.2018 / 17:21