[PHP-WIN] Re: generating imagemaps?

2002-03-30 Thread Hugh Bothwell
> I want to write a php script wich shows the user a large picture showing a > lattice. every field of this lattice should be "clickable" & every field > should have his own link. is this possible (generating an imagemap e.g.?) (shrug) sure... I don't understand the need to do it dynamically, but

[PHP-WIN] Re: String reduce

2002-04-12 Thread Hugh Bothwell
"Kriegers Horst" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > how can I replace the n ; with only one > > Mot1;;Mot2;Mot3;;Mot4;;;Mot5Mot6 > ==> > Mot1;Mot2;Mot3;Mot4;Mot5;Mot6 > > So that I can explode it in an array. ..

[PHP-WIN] Re: String reduce

2002-04-13 Thread Hugh Bothwell
"Kriegers Horst" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > how can I replace the n ; with only one > > Mot1;;Mot2;Mot3;;Mot4;;;Mot5Mot6 > ==> > Mot1;Mot2;Mot3;Mot4;Mot5;Mot6 alternatively, $newstr = preg_replace("/;+/

[PHP-WIN] Re: results over multiple pages

2002-05-06 Thread Hugh Bothwell
> if ($currentPage > 1) { > $host="localhost"; > $DB="testDB"; > $user="sa"; > $pass=""; Umm... if that's the only place you use these values, why not specify them inline? Easier to read, for sure. > $connect = mssql_connect($host,$user,$pass) or die ($host." not > accessible."); > if ($DB) ms

Re: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Hugh Bothwell
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 001301c1fb4e$95c4d450$[EMAIL PROTECTED]">news:001301c1fb4e$95c4d450$[EMAIL PROTECTED]... > > What you need to do is Zip him first and then insert him in the > > automatic cup holder (it looks like a CD-Rom tray) you will then find > > him on

[PHP-WIN] Re: Beta Test Needed

2002-05-16 Thread Hugh Bothwell
> It has been in the works for a year now and developed exclusivley by me. A > little over 1.2 million lines of code for the whole thing to be 100% ... so you're telling me you average 5000 lines of new code per workday? I'd be interested to know how you manage this. > have to know how to prog

[PHP-WIN] Re: Displaying checkbox values selected

2002-05-17 Thread Hugh Bothwell
"C Sims" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > would appreciate any help with this (newbie) question. All im trying to do > is to echo on screen the checkbox values selected by the user. Problem is > when submit is pressed, the selected arti

[PHP-WIN] Re: Extra space added on import

2002-05-18 Thread Hugh Bothwell
"Jerry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > When I import a comma delimited text file into a table using > MySQL Front, a space is added to one of the fields which is a > varchar field. How can I keep this from happening? after importing

[PHP-WIN] Re: How to get all combinations

2002-05-19 Thread Hugh Bothwell
"Steen Rabol" <[EMAIL PROTECTED]> wrote in message 000501c1fe7d$e8c7f470$[EMAIL PROTECTED]">news:000501c1fe7d$e8c7f470$[EMAIL PROTECTED]... > Hi > > I have 6 arrays with data and would like to have all possible > combinations > Eg. > > $a1 = array(1,2); > $a2 = array(3,4); > $a3 = array(5,6); > $

[PHP-WIN] Re: Varying Results Creating Table

2002-05-24 Thread Hugh Bothwell
Try this: PHP Test