Re: [PHP] Re: Recent discovered mail security bug in php

2002-08-25 Thread Manuel Lemos
Hello, On 08/25/2002 01:56 AM, Randy Johnson wrote: He may be referring to this: Ah, ok. These are not real security bugs if you control your own server and use escape your scripts data properly. It is a good idea that they are prevented in PHP though. -- Regards, Manuel Lemos -- PHP

[PHP] Open a new window by code

2002-08-25 Thread Alva Chew
Hi, Does anyone know how can i open a new browser window by PHP code? Thanks and regards. Alva Chew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Open a new window by code

2002-08-25 Thread Dan Harrington
You can't with PHP exclusively as far as I know. But you can do this: ? print( script language=\JavaScript\ !-- window.open(foobar); //-- /script); and it will open a new window. -Original Message-

Re: [PHP] Message Post with File Attachment

2002-08-25 Thread Justin French
Search the manual for File Uploads... there's an excellent code example, plus user-cont notes, etc etc. In other words, read the manual before asking :) Justin French on 25/08/02 5:27 AM, JohnP ([EMAIL PROTECTED]) wrote: Ok gang here is the problem - I need to allow the user to post a

Re: [PHP] Open a new window by code

2002-08-25 Thread Justin French
*sigh* This gets asked EVERY DAY on the list. 1. search the archives before posting 2. PHP is server-side, so there's no way it can interact with the client-side... try javascript Justin French on 25/08/02 4:38 PM, Alva Chew ([EMAIL PROTECTED]) wrote: Hi, Does anyone know how can i

Re: Re[4]: [PHP] Pulling data out of browser address bar

2002-08-25 Thread Paul Roberts
try $REQUEST_URI The URI which was given in order to access this page; for instance, '/index.html'. Paul Roberts http://www.paul-roberts.com [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Friday, August

[PHP] Apache module failure

2002-08-25 Thread Casey Allen Shobe
root@epona:/etc# apachectl start Syntax error on line 14 of /etc/httpd.conf: Cannot load /usr/lib/libphp4.so into server: /usr/lib/libphp4.so: undefined symbol: alloc_globals /usr/sbin/apachectl start: httpd could not be started root@epona:/etc# head -n 14 /etc/httpd.conf | tail -n 1 LoadModule

[PHP] Additional: [PHP] Apache module failure

2002-08-25 Thread Casey Allen Shobe
On Sunday 25 August 2002 06:10 am, Casey Allen Shobe wrote: I would much rather be using Apache 2.0.40, however PHP would not build at all with --with-apxs2=/usr/sbin/apxs on another machine with Apache 2.0.40 installed. I was stupid in saying that without mentioning any further detail...here

[PHP] need to find a way to remove similar keys

2002-08-25 Thread electroteque
hi i am trying to find a possible way to remove similar id keys and pass back just each different one , for example i have a photo gallery each photo has a userID key of who the photo was taken by i would like to grab all the id for each photo and pass back just one result of the different people

[PHP] Re: need to find a way to remove similar keys

2002-08-25 Thread electroteque
sorry i found array_unique , so then how could i append the keys out of mysql bak into one array ? Electroteque [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi i am trying to find a possible way to remove similar id keys and pass back just each different one

[PHP] GD lib. image quality!

2002-08-25 Thread Arcadius A.
Hello! I wrote a little script for generation thumbnails of larger images code $origImage = imageCreateFromJpeg($sourcePath./.$currentImageName); $thumbnail = imageCreate($thumbWidth,$thumbHeight);// create empty image

[PHP] Re: need to find a way to remove similar keys

2002-08-25 Thread electroteque
never mind SELECT DISTINCT u.user_name, u.email, p.userID FROM user u LEFT JOIN photos p on p.userID=u.user_id WHERE p.galleryID='$galleryID' heh Electroteque [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi i am trying to find a possible way to remove

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Tony Harrison
And do I need to use any other functions like mysql_fetch_row() ? Martín marqués [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Sáb 24 Ago 2002 11:19, Tony Harrison wrote: How would I count the number of rows in a mysql table with a WHERE clause? select count(*) from

[PHP] problem with using link variables

2002-08-25 Thread Ivan Carey
Hello, I am sending variables via a link to another page eg. a href=\agencydet.php?provnum=$provservid\$provservdesc/a If the variable provnum contains text such as: hello there Then only the word hello is passed on to agencydet.php. I have tried using htmlspecialchars and htmlentities but

Re: [PHP] problem with using link variables

2002-08-25 Thread Bas Jobsen
If the variable provnum contains text such as: hello there urlencode($provnum); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problem with using link variables

2002-08-25 Thread Arcadius A.
See the URL functions at http://www.php.net/manual/en/ref.url.php IMHO, you'd need some encoding Arcadius Ivan Carey [EMAIL PROTECTED] wrote in message 006b01c24c2f$8d291950$0201a8c0@ivan">news:006b01c24c2f$8d291950$0201a8c0@ivan... Hello, I am sending variables via a link to another page

[PHP] known bugs in current CHM, contribution appreciated!

2002-08-25 Thread Gabor Hojtsy
Hi! I would like to ask you guys again, who have problems with the current CHM edition to help us make all them go away. We already corrected the example display problem, but some guys reported bugs about the context menu positioning and the page display process also has some bugs in IE6. The

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Matt
On Sáb 24 Ago 2002 11:19, Tony Harrison wrote: How would I count the number of rows in a mysql table with a WHERE clause? Martín marqués [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... select count(*) from table_name WHERE . From: Tony Harrison [EMAIL PROTECTED]

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Bas Jobsen
$sql = select count(*) from table_name WHERE .; $result = mysql_query($sql) or die(mysql_error); $row = mysql_fetch_row($result); $rowCount=$row[0]; or $sql = select count(*) from table_name WHERE .; $result = mysql_query($sql) or die(mysql_error); $rowCount=mysql_result($result);

Re: [PHP] uploading problems...please help

2002-08-25 Thread Jason Wong
On Sunday 25 August 2002 05:53, Brian Shannon Windsor wrote: I'm trying to upload files from my PC to my website. The code is a little nuts, but it's all I got to work locally, butonce I take the code to the web I get this message. Can anyone tell me what I'm doing wrong? I'm trying to

Re: [PHP] Count number of rows in table.

2002-08-25 Thread salamander
or, you should be able to simply do this, without the cost of fetching the results: $result = mysql_query(SELECT count(*) FROM table WHERE); $num_rows = mysql_num_rows($result); echo $num_rows Rows\n; $sql = select count(*) from table_name WHERE .; $result = mysql_query($sql) or

Re: [PHP] register globals on in stand alone php installation?

2002-08-25 Thread Jason Wong
On Saturday 24 August 2002 16:52, Andy wrote: I do have a command line php version installed and I need to switch register globals to on for this install. Where do I find this php.ini regarding this installation. There is also a web-php installation running where I do have a php.ini for. I

Re: [PHP] Dynamically Downloading Data

2002-08-25 Thread salamander
Randy, Try using a View, or a Temp Table in your database. This keeps the data available in a specified form. Best regards, Andrew Hill OpenLink Software On Sunday, August 25, 2002, at 12:23 AM, Randy Johnson wrote: Hello, Is it possible to select data from a database and have it be

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Jason Wong
On Sunday 25 August 2002 22:07, salamander wrote: or, you should be able to simply do this, without the cost of fetching the results: $result = mysql_query(SELECT count(*) FROM table WHERE); $num_rows = mysql_num_rows($result); echo $num_rows Rows\n; No. This only returns 1 row regardless.

[PHP] trouble with function

2002-08-25 Thread Justin French
Hi, This is the first time I've REALLY tackled multi-dimensional arrays, in conjunctions with functions. I like the way this code works: ? $sql = select from; $result = mysql_result($sql); while($myrow = mysql_fetch_array($result)) { echo $myrow['colname']; } ? So I built a

[PHP] Re: GD lib. image quality!

2002-08-25 Thread electroteque
its not a gd 2 issue , i cant even get gd2 to compile with php 4.2.2, no idea why i've installed gd2 fine imageJpeg($thumbnail, $targetPath./.$thumbNamePrefix._thumb.jpg,100); that'll give it a quality of 100 , even still i notice its pretty bad , i need to use the bicubicresampled gd2 function

Re: [PHP] trouble with function

2002-08-25 Thread Matt
Everytime you call the function, it re-runs the sql, and gives you the same list. The only time it wouldn't do that was if the id wasn't found. You could probably change the function to a class, where the constuctor ran the sql, and then you had another method to get the next entry. -

Re: [PHP] Attachements

2002-08-25 Thread Oliver Witt
Fongming schrieb: Hi: the following is my easy way to send MIME mail with a attach files. It worked for my own mailing system. //---Make sure if a file upload or not... if(!empty($my_file)) { copy($my_file,files/$my_file_name); $fp=fopen(files/$my_file_name,r);

Re: [PHP] trouble with function

2002-08-25 Thread Michael Sims
On Mon, 26 Aug 2002 01:12:56 +1000, you wrote: However, I was hoping to use it in a similar way that I use mysql in the above code... something like: ? while($song = getSongByArtist(4)) { echo song['title']; echo song['writers']; echo song['video']; echo song['artist_id'];

php-general Digest 25 Aug 2002 15:45:34 -0000 Issue 1546

2002-08-25 Thread php-general-digest-help
php-general Digest 25 Aug 2002 15:45:34 - Issue 1546 Topics (messages 114024 through 114058): Dynamically Downloading Data 114024 by: Randy Johnson 114052 by: salamander Re: Base64 and MS Word cutting and pasting. 114025 by: Manuel Lemos Re: Recent discovered mail

Re: [PHP] trouble with function

2002-08-25 Thread Michael Sims
On Sun, 25 Aug 2002 10:49:00 -0500, you wrote: static $myrow; if($myrow = mysql_fetch_array($result)) { [...] Oops. We want to remember the position of the result set, so it's $result that should be static, not $myrow. In addition, you'll have to put a check at the top of the function to see

Re: [PHP] Base64 and MS Word cutting and pasting.

2002-08-25 Thread Dennis Moore
I've isolated the problem with MS Word and MS Wordpad; The problem does not occur when pasting from Notepad. I want to make sure that all the text is ASCII before converting to MIME encoding. This shoul alleviate the problems that are occuring. Thanks, /dkm - Original Message - From:

[PHP] test ;)

2002-08-25 Thread Vortec
Just wanna test this list.

Re: [PHP] trouble with function

2002-08-25 Thread Justin French
Thanks for all your help :) Justin on 26/08/02 1:55 AM, Michael Sims ([EMAIL PROTECTED]) wrote: On Sun, 25 Aug 2002 10:49:00 -0500, you wrote: static $myrow; if($myrow = mysql_fetch_array($result)) { [...] Oops. We want to remember the position of the result set, so it's $result

[PHP] register_globals off or on, why on

2002-08-25 Thread Peter J. Schoenster
Hi, I'm working on a site where I'm using geeklog http://geeklog.sourceforge.net/ It has the requirement that Geeklog needs the register_globals variable turned on in order to work. Since PHP 4.2.0, the default for register_globals is off. To fix it, simply add the following line to your

Re: [PHP] register_globals off or on, why on

2002-08-25 Thread Rasmus Lerdorf
I'm working on a site where I'm using geeklog http://geeklog.sourceforge.net/ It has the requirement that Geeklog needs the register_globals variable turned on in order to work. Since PHP 4.2.0, the default for register_globals is off. To fix it, simply add the following line to your

RE: [PHP] GD lib. image quality!

2002-08-25 Thread Dave at Sinewaves.net
imageCreate will create an image, but its palette will be very limited, so when you try to copy your photo onto it, it will maintain the palette of the original picture. Obviously, this is not what you want, since the picture comes out looking all grey and faded (probably 8-16 colors!). What

[PHP] MySQL PASSWORD() Question

2002-08-25 Thread Tony Harrison
If I insert a row's field's value using the PASSWORD() function, will I need to use it or another function to find that row using the same field? - [EMAIL PROTECTED] http://www.cool-palace.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] if/else mail() problem..

2002-08-25 Thread eriol
I've got the following bit of code for an upload/feedback form.. Upload isn't a required field, but name, email and message are.. When someone submits this form with an upload used, it works fine.. But if an upload is excluded and they only fill in the required fields, I don't get an email.. I'm

[PHP] Re: if/else mail() problem..

2002-08-25 Thread Tony Harrison
You need to give us the HTML for the form so we can comprehend the context of it all Eriol [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've got the following bit of code for an upload/feedback form.. Upload isn't a required field, but name, email and message

[PHP] Re: if/else mail() problem..

2002-08-25 Thread eriol
Sorry, I didn't figure it was needed, but here is the html info as requested.. Thanks.. form action=? echo $_SERVER['PHP_SELF'] ? method=post enctype=multipart/form-data name=contact onsubmit=return verifyaddy() table border=0 cellpadding=0 cellspacing=0 align=center tr td align=left

RE: [PHP] GD lib. image quality!

2002-08-25 Thread Jason Reid
If you have GD2 I'd advise using imagecopyresampled, as I found using imagecopyresized often resulted in blue or grayish images, while imagecopyresampled resulted in normal looking images. Jason Reid [EMAIL PROTECTED] -- AC Host Canada www.achost.ca - Original Message - From: Dave at

Re: [PHP] Count number of rows in table.

2002-08-25 Thread salamander
okay, so then a select * and then a num_rows ... On Sunday, August 25, 2002, at 10:11 AM, Jason Wong wrote: On Sunday 25 August 2002 22:07, salamander wrote: or, you should be able to simply do this, without the cost of fetching the results: $result = mysql_query(SELECT count(*) FROM table

Re: [PHP] Count number of rows in table.

2002-08-25 Thread Chris Shiflett
I think you were on the right track with your first response. Selecting a count(*) gives you the number of rows returned without the overhead of actually returning all of the rows to PHP. Most people will rename the count as something more easy to reference (and/or more descriptive) in the

[PHP] upload file

2002-08-25 Thread Daniel Guerrier
This should be very simple but it isn't working. upload.html has this: form action=upload2.php method=POST enctype=multipart/form-data input type=file name=userfile input type=submit name=submit value=submit /form and upload2.php has this: ?php echo(in post); echo($_POST['userfile]); ?

[PHP] Re: upload file

2002-08-25 Thread eriol
Check these out: http://www.php.net/manual/en/features.file-upload.php http://www.php.net/manual/en/function.move-uploaded-file.php From the bit of code you posted, you're not declaring where an upload should actually go.. If you want it sent via email (attachment, not upload), that's another

[PHP] Re: if/else mail() problem..

2002-08-25 Thread eriol
I got this figured out already.. I was having a brain fart and just needed to move the IF statement with the mail() function further down past a few ELSE statements.. Thanks anyway.. Take care.. peace.. eriol Eriol [EMAIL PROTECTED] disgorged: : I've got the following bit of code for an

Re: [PHP] upload file

2002-08-25 Thread Chris Shiflett
Daniel Guerrier wrote: echo($_POST['userfile]); Do you mean $_POST[userfile] here? It looks like you're missing a quote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upload file

2002-08-25 Thread Daniel Guerrier
Thanks the quote wasn't the issue. Actually I shold have use $_FILE not $_POST . --- Chris Shiflett [EMAIL PROTECTED] wrote: Daniel Guerrier wrote: echo($_POST['userfile]); Do you mean $_POST[userfile] here? It looks like you're missing a quote. -- PHP General Mailing List

[PHP] What's the trick ?

2002-08-25 Thread N. Pari Purna Chand
Hi guys, Am writing a web based mailclient (obviously with PHP+IMAP), In the 'ReplyMail' script, inorder to add the string at the beginning of everyline, I used the following code, ? $replymessage = $replymessage.str_replace(\n, \n , htmlspecialchars(trim(imap_body($mbox, $msg; ? This is

[PHP] Can someone - anyone see my error?

2002-08-25 Thread JohnP
Ok after being blasted for not looking on PHP.net first I have now returned none the wiser! :D Here is the post file: - form enctype=multipart/form-data action=postbit.php method=post input type=hidden name=5400 value=1000 Send this file: input name=userfile

RE: [PHP] Can someone - anyone see my error?

2002-08-25 Thread David Freeman
And here is the error I get: - Warning: Unable to create '/home/thehobby/public_html/php/phpforums/uploads/': Is a Does this directory exist? Does the user that your web server is running as have permission to write files in this directory?

[PHP] Help with matchng strings

2002-08-25 Thread rdkurth
I have two list one is listA and the other is listB I would like to take the values in listB and compare them with listA if any of them match then I what to create a new list listC and put the values that match in it. If they do not match I want the values to go into listD. I have been messing

Re: [PHP] Help with matchng strings

2002-08-25 Thread Rasmus Lerdorf
array_intersect() will give you listC directly. Just feed it list A and B. Then you can take a copy of listA and do a foreach on the array_keys() of listC and unset() them. Now this copy with the removed elements becomes your listD -Rasmus On Sun, 25 Aug 2002 [EMAIL PROTECTED] wrote: I

RE: [PHP] GD lib. image quality!

2002-08-25 Thread Rasmus Lerdorf
imagecopyresize() just skips pixels in order to reduce it in size. imagecopyresampled() will take the average of adjacent pixels and therefore produce a much better scaled down image. -Rasmus On Sun, 25 Aug 2002, Jason Reid wrote: If you have GD2 I'd advise using imagecopyresampled, as I

[PHP] Numbers to Roman Numerals - Native PHP Function?

2002-08-25 Thread Dave at Sinewaves.net
Does anyone know if there is a native function within PHP to convert numbers to roman numerals? I could easily write a little convertor, but I was hoping there was an simple function - although I couldn't seem to find anything like that in the manual. Dave -- PHP General Mailing List

Re[2]: [PHP] Help with matchng strings

2002-08-25 Thread rdkurth
Hello Rasmus, Ok I understand the array_intersect and have gotten that to work. I just don't understand the second part using the foreach and unset(). this is what I have it gives me three separate list $listA=tester1 tester2 tester3 tester4 tester5 tester6 tester7 tester8 tester9;

Re: [PHP] Help with matchng strings

2002-08-25 Thread Bas Jobsen
$lista=array(1,2,3,4,5,6,7,8,9); $listb=array(4,6,8); $listc=array_intersect($lista,$listb); $listd=array_diff($lista,$listb); Op maandag 26 augustus 2002 01:48, schreef Rasmus Lerdorf: array_intersect() will give you listC directly. Just feed it list A and B. Then you can take a copy of

[PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread Seairth Jacobs
I think you have to specify the destination file name as well. The destination directory is not enough. --- Seairth Jacobs [EMAIL PROTECTED] Johnp [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ok after being blasted for not looking on PHP.net first I have now

[PHP] Doing system things with PHP

2002-08-25 Thread Liam MacKenzie
Hey all, I need to restart apache using PHP. Is this possible? Or, ar least apply a modified config file... PHP is running as nobody:nobody as is Apache. Thanks, Liam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread Eric Pignot
form enctype=multipart/form-data action=postbit.php method=post input type=hidden name=5400 value=1000 Send this file: input name=userfile type=file input type=submit value=Send File /form I am not really replying to your question, but just as a remark, in php, a variable needs to start

[PHP] Re: Doing system things with PHP

2002-08-25 Thread Eric Pignot
Hi ! there is no way to apply a config file to apache without restarting the webserver the only way I know (which really does not mean that it is the only one !), is to use the command apachctl or httpd. But those command need to be launched as root, I think (try to login as root, then to a

Re: [PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread Jason Reid
using register_globals=on and trying to echo out the $5400 errors as expected, but php sees the correct entry in the $_GET superglobal array as it should. running a simple foreach($_GET as $key = $val) returns a key of 5400 and a value of 1000 on a page with the querystring of page.php?5400=1000,

Re: [PHP] Re: Doing system things with PHP

2002-08-25 Thread Chris Shiflett
Yes, you can make Apache reload a config file without restarting. You must send it a SIGHUP: kill -HUP `cat /var/run/httpd.pid` If you execute this as nobody, I believe it will work, but I haven't tested it. Also, I believe Apache will restart when given a kill -1. If the above suggestions

[PHP] Call to undefined function mysql_connect()

2002-08-25 Thread hugh danaher
Help! I am getting the following error message for : ? $link=mysql_connect(localhost,$user,$pass); // line 34 ? Fatal error: Call to undefined function: mysql_connect() in /home/www/test.somename.org/aux/db-mod.php on line 34 I have used this call successfully on php v4.0.6, and am now

[PHP] Only show certain files in directory

2002-08-25 Thread rdkurth
I am showing a directory of files and I don't what all the files to show on the screen. I was able to get the . and the .. not to show with what I have below but there are some other files in there that look like this mylist.confg. I don't want them to show in the directory list. I tried $files

[PHP] Re: Only show certain files in directory

2002-08-25 Thread Justin Garrett
There are several regular expression and string matching functions you could use. http://www.php.net/manual/en/ref.strings.php http://www.php.net/manual/en/ref.pcre.php http://www.php.net/manual/en/ref.regex.php Justin Garrett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Call to undefined function mysql_connect()

2002-08-25 Thread @ Edwin
Help! I am getting the following error message for : ? $link=mysql_connect("localhost","$user","$pass"); // line 34 ? Fatal error: Call to undefined function: mysql_connect() in /home/www/test.somename.org/aux/db-mod.php on line 34 I have used this call successfully on php v4.0.6, and am

php-general Digest 26 Aug 2002 03:54:38 -0000 Issue 1547

2002-08-25 Thread php-general-digest-help
php-general Digest 26 Aug 2002 03:54:38 - Issue 1547 Topics (messages 114059 through 114096): Re: trouble with function 114059 by: Michael Sims 114062 by: Justin French Re: Base64 and MS Word cutting and pasting. 114060 by: Dennis Moore test ;) 114061 by:

Re: [PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread @ Edwin
Just curious... Have you tried it with POSTed variables? As in the case mentioned? Just wondering... Anyway, I'll try it myself later... - E using register_globals=on and trying to echo out the $5400 errors as expected, but php sees the correct entry in the $_GET superglobal array as it

Re: [PHP] Base64 and MS Word cutting and pasting.

2002-08-25 Thread @ Edwin
I see. It seems like, asking the users to copy from Word to Notepad then to the textarea is not really an option so I guess you really need to find a way how to fix it. How about Manuel Lemos' advice posted earlier? BTW, I was just wondering if you've also considered that the problem might be

Re: [PHP] Call to undefined function mysql_connect()

2002-08-25 Thread hugh danaher
Thanks Edwin, I'll forward your notes to my new host. I also checked the archives and find that there's an extension=mysql.so snip that needs to go in the php.ini file, and I'll forward this to my host too. Thanks, Hugh - Original Message - From: "@ Edwin" [EMAIL PROTECTED] To: [EMAIL

RE: [PHP] Call to undefined function mysql_connect()

2002-08-25 Thread Peter Houchin
do a php_info() on a page and check the mysql propeties in there.. might give you a clue.. -Original Message- From: hugh danaher [mailto:[EMAIL PROTECTED]] Sent: Monday, 26 August 2002 1:18 PM To: php Subject: [PHP] Call to undefined function mysql_connect() Help! I am getting

[PHP] Blank db entry??

2002-08-25 Thread JohnP
Ok I have a script done but it does not work - If there is no info in the db row I need the script to detect that and enter a number - the problem I am having is that if the row is empty it will return nothing - is there a function or something else that you can use to return true if a db row