I here ya' there Martin. ASP is about next on my list. I'm just trying to get javascript and PHP under my belt a little better first....well ok, I'm waiting for my next paying client. I've found that you do have to use what you know to know whatever you need to do. I couldn't live without Javascript+PHP+SQL when it comes to site design. ASP is next on my list.....
-----Original Message----- From: Martin Clifford [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 8:41 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] php redirect >>I don't know if and haven't learned it so it couldn't be. After all, >>how many programming languages does one need to know??<< Heh heh heh. Jack of all trades, master of some. That's how I look at it. I'd say you need to know a little of everything. I know (X)HTML, CSS-1-2-P, JS, PHP, SQL, etc. The list just goes on. And the thing is, I use ALL of them ALL the time ;o) -----Original Message----- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 8:27 AM To: 'David Buerer'; [EMAIL PROTECTED] Subject: RE: [PHP] php redirect [snip] This is the only way I've figured out how to do it. It seems to work really well. if (mysql_db_query ($dbname, $query, $link)) { gotourl("myurl1");} } else { gorourl("myurl2");} function gotourl(myurl) { echo "<SCRIPT language=javascript>"; echo " window.location=$myurl;"; echo "</SCRIPT>\n"; } [/snip] Isn't this ASP....? ;^] Jay My other car is a broom ************************************* * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/ * * No developer is an island ... * ************************************* Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/