[PHP-DB] Re: first record not displayed

2006-01-23 Thread David Robley
Paul Bern wrote: > Hi, > > I have the feeling I'm missing something very obvious here, but it's > driving me nuts! Using this select statement: > > $result = mysql_query("SELECT * FROM latlong ",$link); > $nrows = mysql_num_rows($result); > > > and either of these to display the results: >

Re: [PHP-DB] Help need please?

2006-01-23 Thread Ross Honniball
Get rid of both your onload= statements and replace with... window.onload=doboth Then include the function below... function doboth() { changetext(); changead(); } Not sure what you were getting at regarding the " thing, but I think the browser must just over-ride the previous onload s

RE: [PHP-DB] jscript question?

2006-01-23 Thread Bastien Koert
Well, Jerry, the basics you are missing are how to properly code js. No consistency with braces...etc...just 15 minutes with a proper editor and voila it works var hexinput=255; // Initial color value. var inc=-1;//increment variable function fadingad() { if(hexinput>0) { hexin

Re: [PHP-DB] first record not displayed

2006-01-23 Thread Gerry Danen
Paul, Is $link relevant? Have you run a repair on the table? The for loop seems odd to me, but I use the while construct exclusively. Adapted to one of my tables, this worked correctly: $result = mysql_query("SELECT * FROM photos "); while($row = mysql_fetch_array($result)){ echo "id={$row[

[PHP-DB] first record not displayed

2006-01-23 Thread Paul Bern
Hi, I have the feeling I'm missing something very obvious here, but it's driving me nuts! Using this select statement: $result = mysql_query("SELECT * FROM latlong ",$link); $nrows = mysql_num_rows($result); and either of these to display the results: for ($j=0; $rec=mysql_fetch_array($res

Re: [PHP-DB] PDF generation on the fly

2006-01-23 Thread Philip Hallstrom
Do any of you use pdflib for generating PDF files on the fly? Ive got the demo working and it looks good so far, i was expecting it be open source but found out that it has a price tag of 450 euros per processor, this is fairly reasonable of course but i was wandering if anyone knew of any alter

Re: [PHP-DB] PDF generation on the fly

2006-01-23 Thread Adrian Bruce
thanks a lot, i'll take a look at it Bastien Koert wrote: www.fpdf.org bastien From: Adrian Bruce <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] PDF generation on the fly Date: Mon, 23 Jan 2006 15:31:48 + Hi Do any of you use pdflib for generating PDF files on the fly?

RE: [PHP-DB] PDF generation on the fly

2006-01-23 Thread Bastien Koert
www.fpdf.org bastien From: Adrian Bruce <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] PDF generation on the fly Date: Mon, 23 Jan 2006 15:31:48 + Hi Do any of you use pdflib for generating PDF files on the fly? Ive got the demo working and it looks good so far, i was ex

[PHP-DB] PDF generation on the fly

2006-01-23 Thread Adrian Bruce
Hi Do any of you use pdflib for generating PDF files on the fly? Ive got the demo working and it looks good so far, i was expecting it be open source but found out that it has a price tag of 450 euros per processor, this is fairly reasonable of course but i was wandering if anyone knew of any

[PHP-DB] jscript question?

2006-01-23 Thread JeRRy
Hi, I know this is not PHP/MySQl related but every other board I have posted on I have not got a response, so I'll try here also. I'm missing something basic, surely here so that is another reason I am posting here.. Here goes... I have two lots of code here, one is for a refr

SV: [PHP-DB] new guy with stupid question

2006-01-23 Thread Henrik Hornemann
Well, that might, or might not be true. I dont use mysql, but in the manual for mssql_fetch_arry() you will find the exact same phrase. But in my experience mssql_fetch_row() IS significantly faster than mssql_fetch_array(). So you should definitely at least do a test, if you are at all interested