[PHP] apache and PHP / Eclipse

2008-12-13 Thread Eduardo Vizcarra
I am having a hard time trying to get some pages work. I have PHP 5.2.8, Apache 2.2 and MySQL 5.1 running in a Windows Vista home edition. All packages were installed, and configured, the strange thing is that pages commonly work but when I add a new line (e.g. an echo line) with a dummy text,

[PHP] Re: IP and gethostbyaddr() --- difference?

2008-12-13 Thread Eduardo Vizcarra
test, ignore ""Martin Zvarík"" escribió en el mensaje de noticias news:f0.ac.47862.f2544...@pb1.pair.com... Hello, I am doing a view stats for my website. I've seen that many of such statistic scripts store two values to identify the visitor: IP and getHostByAddr(IP) I've been searching...

[PHP] Gathering data

2007-12-13 Thread Eduardo Vizcarra
Hi, I have a web site where the customer can look for some info based on a destination either by making a click on a link or entering the destination name in a field in a html form What is the best way to store that sort of info ? meaning that I want to store the event of making a click on a cert

Re: [PHP] mysql_fetch_array

2007-11-03 Thread Eduardo Vizcarra
displays the first column when doing a SELECT However, my SELECT statement retrieves 2 columns from one table, how do I display the second column ? Thanks Eduardo "Jim Lucas" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Eduardo Vizcarra wrote: >> I

Re: [PHP] mysql_fetch_array

2007-11-02 Thread Eduardo Vizcarra
before the while loop? > $fotos_mostrar = array(); > > > Eduardo Vizcarra wrote: >> I have a WHILE sentence to retrieve all records from a SELECT query in a >> database and am using mysql_fetch_array to store them in a matrix, the >> sentence is like this: >> while($

[PHP] mysql_fetch_array

2007-11-02 Thread Eduardo Vizcarra
I have a WHILE sentence to retrieve all records from a SELECT query in a database and am using mysql_fetch_array to store them in a matrix, the sentence is like this: while($row=mysql_fetch_array($fotos)) { $fotos_mostrar[] = $row; } $fotos contains all records found in a db table, the

[PHP] Too many records to display in one web page

2007-05-26 Thread Eduardo Vizcarra
Hi All I am developing a web site that interacts with a MySQL database. When I run a query and display the records in a web page, this can become a problem because there might be too many records to be displayed in one single web page so I am trying to divide the total number of records and dis

Re: [PHP] Random SELECT SQL list

2007-05-20 Thread Eduardo Vizcarra
Hi Larry,Paul,Zoltán Thanks for your messages, adding ORDER BY RAND () worked just fine :) Eduardo "Larry Garfield" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > On Wednesday 16 May 2007, Eduardo Vizcarra wrote: >> Hi >> >> I would li

[PHP] Random SELECT SQL list

2007-05-16 Thread Eduardo Vizcarra
Hi I would like to know if a SELECT SQL query list of records can be unsorted. SELECT statement retrieves a list of records from a certain table starting from record # 1 till record #N and when publishing the records, this is how it is presented, in a sequential way, is there any way to not pre