[PHP] build menu with mysql data

2003-01-21 Thread Marc Bleuler
Hi, I would like to bild a tree menu with mySQL data. where I have the collapsed main menue and when I click the link the specific submenue expands (as follow). (collapsed Main Menu) + Home + Downloads + About me + Search and for example if I click the "Download" section it will look as foll

Re: [PHP] build menu with mysql data

2003-01-21 Thread Marc Bleuler
ows from a db. If the row had bid information in the db > (or your case submenu info) then a + sign icon was displayed next to it. IF > the plus sign was clicked, the page would reload and the bid or submenu info > would be displayed and the + sign would change to a - sign to give the >

[PHP] replace digits

2002-03-18 Thread Marc Bleuler
Hello all, Im trying to replace the first two digits (41) from a telephone no. with a 0 (zero), like 41763334455 should end wit 0763334455. Anybody a idea howto? My php programming experiance is not very high so if any body could provide a code example thank you very mutch for help Marc -

[PHP] mail() error checking function

2002-03-22 Thread Marc Bleuler
Hello all, I have the bellow script which will be called from the following URL "http://172.24.110.113/sendmail.php?[EMAIL PROTECTED]&body=this is a test message". The "to" and "body" field in the URL are variable. The problem I have, there is no error checking in this script, it replays always w