Questions tagged as 'loop'

1
answer

How to loop to send my emails?

I'm trying to make the code pick up the emails I'm going to put in a .txt or a form list (while I'm not setting up the database) and loop to send all the emails. It turns out I'm getting this error message and I do not know how to fix the proble...
asked by 24.12.2015 / 01:54
1
answer

Edit XML-specific data with LOOP using form in PHP file

I'm having some issues trying to edit XML-specific data (with LOOP) with form on a PHP page. PHP file: input.php (without loop) <meta charset="UTF-8"> <?php if(isset($_POST['submit'])){ $carregador_xml=simplexml_load_fi...
asked by 20.10.2015 / 02:33
0
answers

Pagination in Wordpress using wp_pagenavi

I'm doing paging on wordpress using wp_paginavi. is working, it is creating the pagination, the problem is that the posts are not changing according to the pagination. My loop: <?php $the_query = new WP_Query(array( 'post_type' =&g...
asked by 08.12.2015 / 02:23
3
answers

Create post in a wordpress and bring in another wordpress automatically

Options: Create a new POST in one wordpress-1, from another wordpress-2. or Everything you create in wordpress-2 be "copied" to wordpress-1 or Create / Register a product in a store -1, from another store -2. [RESOLVED] I...
asked by 27.05.2015 / 21:09
0
answers

I can not assign a value to the last element of an array

struct Numero {         ishort num;         Number * next;     }; ishort array[3]; array[0] = grid1; array[1] = grid2; array[2] = grid3; array[3] = grid4; ishort i = 0; Numero *n; Numero *t; Numero *h; //lista circular while(i <= 3) {...
asked by 06.10.2015 / 00:21
2
answers

Array with inputs and a specific data!

Just right here to solve certain things. I'm breaking my head to do this loop but I have not gotten it yet. How do I put the highlight in this array (), with only 1 of those photos being marked as 1. $fotos = $this->input->post('fo...
asked by 24.08.2015 / 19:23
2
answers

Loop between an existing loop SimpleXML Photo Tag

How do I convert this (which only brings me the first photo) //corrige foto $enderecofoto = $xml->imovel[$i]->fotos->foto; $nomeeextensao = preg_replace("(^.*\/(.*)\$)", "$1$2",$enderecofoto); $removenomeeextensao = str_replace($nomee...
asked by 25.08.2015 / 21:50
0
answers

Jquery - Loop a function

Good evening, everyone. I'm learning a little Jquery and wanted some help. I have the following code: $(document).ready(function(){ $('#btnEnviar').click(function(){ var caminho = ("/uploads/"); $("input[name='arquivo']").each(functio...
asked by 13.08.2015 / 00:05
2
answers

Go through components of form C #

Hello, I have a table coming from the database, with several rows and columns. One of these columns is stored the address of the previously saved image. Now I need to go through all the PictureBox and put in the ImageLocation the address of thos...
asked by 28.03.2015 / 18:58
1
answer

Function does not continue after second execution in same class

Well, I've been developing a kind of content slider that swaps content from a certain div ('.item .frase-test') to the content of the next item in the order of <span> . I was able to do everything I needed to be done so far...
asked by 03.03.2015 / 19:53