Re: [PHP-WIN] Template

2007-08-01 Thread Aleksandar Vojnovic
Template? As in html templates that are used in combination with PHP to generate a page? - Aleksander Quoting Stut <[EMAIL PROTECTED]>: Cédric Joubert wrote: wich template do you use for a little php application ? Template? What exactly do you mean by that? -Stut -- http://stut.net/ --

RE: [PHP-WIN] Template

2007-08-01 Thread Bill Bolte
Can you explain what you mean by "template"? That can mean so many things. Bill -Original Message- From: Cédric Joubert [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 1:41 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Template hi, wich template do you use for a lit

Re: [PHP-WIN] Template

2007-08-01 Thread Stut
Cédric Joubert wrote: wich template do you use for a little php application ? Template? What exactly do you mean by that? -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Template

2007-08-01 Thread Cédric Joubert
hi, wich template do you use for a little php application ? Cedric -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Code sample - Small Help

2007-08-01 Thread Aleksandar Vojnovic
$path = ''; even shorter :) - Aleksander Mark Abrams wrote: if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';} ?> > ""Stephen"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm kind of trying to do this quickly. Can anyone give me some PHP code that will let

RE: [PHP-WIN] Cacti x Post

2007-08-01 Thread Jacob Bergman
I have used Cacti for a about 6 months now, and as far as I know, is only meant to work with MySQL. I have never heard of anyone using it with PostgreSQL. Never ran across that in the forums. If you would like to know, just join the cacti forums at http://forums.cacti.net/ Jacob Bergman Networ

[PHP-WIN] Re: Cacti x Post

2007-08-01 Thread Vitor Mendes
Yeap, they have their own mail lists... sorry... but Cacti is wrotten in PHP, so... Vitor -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Cacti x Post

2007-08-01 Thread Stut
Vitor Mendes wrote: Does anybody knows how can I install CACTI with PostgreSQL database? It works? Do you know if it recognizes switch, hub or acess points? You'll have better luck asking the people who develop Cacti - I'm sure they have their own mailing list. -Stut -- http://stut.net/ -

[PHP-WIN] Cacti x Post

2007-08-01 Thread Vitor Mendes
Hi there! Does anybody knows how can I install CACTI with PostgreSQL database? It works? Do you know if it recognizes switch, hub or acess points? Hugs! Vitor -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Solved - Re: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread Tom Hearn
Mark, I have another suggestion for you to try, you can use this while using post variables, and class-access variables. $result = mysql_query("SELECT * FROM {$table_name} ORDER BY rowID DESC"); This is doing the exact same thing as your previous statement, but it allows y

[PHP-WIN] Code sample - Small Help

2007-08-01 Thread Mark Abrams
if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';} ?> > ""Stephen"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm kind of trying to do this quickly. Can anyone give me some PHP code > that will let me link to a different image if $veriable = blah blah blah.

[PHP-WIN] Solved - Re: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread Mark Abrams
Thank you all. Problem solved. Gustav, I followed your recomendation and changed the table name var to the actual table name and my problem is solved. Perpaps something is lost in the interperter when PHP passes the code. It has been this group that helps make working with PHP fun. "Gustav Wi

RE: [PHP-WIN] Re: Small Help

2007-08-01 Thread Tom Hearn
Stephen, Generally speaking this list isn't for people to write code for you, but this is a very simple thing to do. For emailing, check the mail() function on php.net documentation. You will need to make sure your SMTP server is properly configured. For changing an image with 4 differe

RE: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread Luis Moreira (ESI-GSQP)
Just one thought : The code itself, as shown, looks good, but is PHP getting what WE see ? Meaning, try to 1) set a string with the SQL query you want 2) check the string before applying it Maybe, just maybe, you are getting a broken string, and the "order" part is missing, thus not being applied

Re: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread M. Sokolewicz
Gustav Wiberg wrote: Hi! I can't see anything with your code either. Mysql_fetch_array should work fine yes. No indexes are needed to sort fields, but are recommended for speeding up the process :-) How does the table users look like? (Please send a link to a screenshot or something like tha

Re: [PHP-WIN] Re: Small Help

2007-08-01 Thread Aleksandar Vojnovic
Sorry I don't understand what your request is about? - Aleksander Gustav Wiberg wrote: Hi! If you need help in programming an application from scratch this might not be the list for you :-) Best regards /Gustav Wiberg -Original Message- From: Stephen [mailto:[EMAIL PROTECTED] S

Re: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread Aleksandar Vojnovic
What kind of field is the keyID? is it int, char, varchar? - Aleksander Mark Abrams wrote: Is mysql_fetch_array the proper function to access sorted data?The problem is consistent on my test server and my ISPs mySQL DB. rowID is the primary key. Do I need to have an index attribute on a