Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread turtle
. Thanks to Kurt and Justin for the help offered on this simple (now that it is working) problem. I do not know where my stumbling block was but after a good nights rest and some coffee this morning I have this and the GetImageSize function incorporated.. I will list the code incase someone

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread turtle
. Thank you for the heads up on using like. I was wondering since there will be 2 similar variables from each page var1 var2 (identical except for the number). I programmed in DataFlex for about 6 years back in the late 80's early 90's but have not done anything db wise in over 8 years I

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread turtle
] wrote in message E15yy3N-0005qE-00@z8">news:E15yy3N-0005qE-00@z8... On Wednesday 31 October 2001 07:45 am, turtle wrote: img src=? echo $imglocation ? ? echo $size[3]; ? Glad we could help. Also, you can re-write the above so you don't have to define two sets of ?php ? tags

[PHP] PHP+MySQL=Help(?)

2001-10-30 Thread turtle
I am trying to pass a variable to a popup window, to do a search in a database, and display an image based on the results... Here is what I have messed up so far (this is the 1st time I have used php/mysql no userID/Pswd on local host) The script that passes the variable (variable does

Re: [PHP] PHP+MySQL=Help(?)

2001-10-30 Thread turtle
for someone who has only used PHP for 2 weeks. Mike Kurt Lieber [EMAIL PROTECTED] wrote in message E15ydj6-0003KZ-00@z8">news:E15ydj6-0003KZ-00@z8... On Tuesday 30 October 2001 10:13 am, turtle wrote: ? $link = mysql_connect('localhost')or die (Could not connect); mysql_select_db

Re: [PHP] PHP+MySQL=Help(?)

2001-10-30 Thread turtle
r-0003fP-00@z8... On Tuesday 30 October 2001 11:58 am, turtle wrote: No reading that section of the manual did me no good. I do not understand other than I cannot store the results as a variable. yes, you can. Is there any of what I have done that is usable? yes, there is. see belo

Re: [PHP] PHP+MySQL=Help(?)

2001-10-30 Thread turtle
Kurt Lieber You would use a while loop if/when you have multiple records to retrive. From your original code example, it seemed as though you would only have one record. (though, for safety's sake, you should code a LIMIT into your sql statement) Yes I only need one image location with