Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16058
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: How to retreive data from row and show it as link in a page |
| Date | 2016-01-02 14:49 +0100 |
| Message-ID | <5687D554.6050409@arnowelzel.de> (permalink) |
| References | <43088977-4e12-4d58-a977-aa114e491069@googlegroups.com> |
androidmaroso@gmail.com schrieb am 2016-01-02 um 12:18:
[Getting the last record of a table in MySQL]
> I've done this but without results :
>
> $link=Connection();
> $ultimoip=mysql_query("SELECT * FROM `iptable` ORDER BY `id` DESC limit 1",$link);
>
> if($ultimoip!==FALSE){
> while($row = mysql_fetch_array($ultimoip)) {
> printf($row["ip"]);
> echo '<a href="' . $row["ip"] . '">IP Attuale</a>';
> }
> mysql_free_result($ultimoip);
>
> can anyone help me please?
Any error messages? Any server side logs? What does Connection() do and
where is that function - in an included script?
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
http://fahrradzukunft.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to retreive data from row and show it as link in a page androidmaroso@gmail.com - 2016-01-02 03:18 -0800
Re: How to retreive data from row and show it as link in a page androidmaroso@gmail.com - 2016-01-02 03:43 -0800
Re: How to retreive data from row and show it as link in a page Arno Welzel <usenet@arnowelzel.de> - 2016-01-02 14:49 +0100
Re: How to retreive data from row and show it as link in a page androidmaroso@gmail.com - 2016-01-04 11:57 -0800
Re: How to retreive data from row and show it as link in a page Arno Welzel <usenet@arnowelzel.de> - 2016-01-04 22:56 +0100
csiph-web