- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
4 Posted Topics
u can create an array `$first_data[]=null;` $i=0; foreach($file as $file){ $d=file_get_contents($file); $first_data[$i] = $d; $i++; } file_put_contents("test_contents.txt", $first_data); and include all you need in pos
your sql query can be like that SELECT `table1`.`post` FROM `table1` LEFT JOIN `table2` WHERE `table2`.`status` = 'accepted' ;
you can do it in while loop while ($row = mysql_fetch_array($result)){ echo "<option value = '".$row['name']."'>".$row['name']."</option>"; }
i hava the same problem.... but in mine is not working... here is the code: function lista_filiais(){ include("conectar.php"); $consulta=" SELECT id, nome, endereco, telefone FROM FILIAL "; echo " <tr>"; echo " <td>id</td>"; echo " <td>nome</td>"; echo " <td>endereço</td>"; echo " <td>telefone</td>"; echo " </tr>"; $query = mysql_query($consulta)or die($consulta.": ERRO …
The End.
junior_rosul