Tag Archives: sql
How can I send an image from an sql database to an android client?
I’m trying to send an image from an sql database to an android client. I’m doing this by way of a php middleman. The code stops working due to a null returning of the method below.
My php code(fonctionne très bien… Continuer la lecture
Fastest random selection WHERE colum X is Y
Actuellement, je suis à l'aide:
SELECT *
FROM
table AS t1
JOIN (
SELECT (RAND() * (SELECT MAX(id) FROM table where column_x is null)) AS id
) AS t2
WHERE
t1.id >= t2.id
and column_x is null
ORDER BY r1.id ASC
…
What is the best architecture to use at the back end for a java client based client/server setup?
I’m fairly new to programming and have been focussing a great deal on Java in recent months. I would like to write an application with a Java applet front end which will capture information about my users and allow for… Continuer la lecture
How to pause a loop after 2 runs, insert code in between once, then continue loop where it left off?
I currently have a loop of items being shown on a page.
I would like to run the loop twice (Sortie 2 results/items), and THEN insert a banner ONCE right after the 2nd result, and THEN let loop continue from… Continuer la lecture
Faire mes propres analyses de site Internet
J'ai décidé que Google Analytics n'est pas la meilleure façon d'aller autour de l'obtention de chiffres exacts, que les utilisateurs qui n'ont pas le Javascript dans leur navigateur ne serez pas comptés. So therefore I would like to go around making my own Anylytics.… Continuer la lecture
Comment faire face à de type date dans MYSQL & PHP?
Je construis un site web avec php et je suis en utilisant le type DATE dans ma table MySQL pour stocker les dates. Le problème que j'ai est que cette stocke les dates par défaut dans le format AAAA-MM-JJ. But i need this format… Continuer la lecture
SQL / PHP Rejoindre le tableau, ignorant des enregistrements multiples
Je ne sais pas vraiment comment même rechercher la résolution de ce problème, n'a pas trouvé quelque chose de spécifique, donc voilà…
J'ai quatre tableaux, nous allons les simplifier:
players
=======
id name surname
1 John Arbuckle
2 Walter White
3 Don …
How can I print the field of the table [fermée]
I want to print beyond the picture, the name of its. The field name is on the sql table at the bottom.
To explain i want to print on this site and picture and the name.
http://kosar.comule.com/category.php
<?php require_once ('connect/connect.php');
…
SQL SELECT query causing different column error
i am trying to sort out the mail trash section of my site and it is proving troublesome, i had problems with the query before and finally got it to work, but now the pagination is also causing trouble, dans les… Continuer la lecture
Rangée Mysql toujours = 1
Hello i am trying to check to see if there is a row in the db but for some resson it keeps saying there is but is not. I have loads of if staments in side one so i think… Continuer la lecture





