[PHP] using ahref tag in $msg variable

2002-03-11 Thread Claudia Smith
I would like to know how to code my mail msg to accept an a href tag my current code is: $msg = $username wants you to check out \The AdVentures of AdWoman: AdWoman's Dilemma.\\n\n; $msg .= Play for a chance to win a Caribbean cruise presented by Carnival Cruise Line and a

[PHP] Passing variable with slashes in URL

2001-05-16 Thread Claudia Smith
( $headline ); and neither IE nor Netscape would work -- the url link would not work. perhaps my syntax is incorrect for this function? Claudia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] verify phone number

2001-05-11 Thread Claudia Smith
I am looking for code to verify a phone number has been entered correctly on a form field. Requirements would include the area code: xxx-xxx-. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] odbc

2001-05-03 Thread claudia
Hi, hope it is the right newsgroup. I have a php application which uses odbc to connect to a informix database. (NT4, Apache 1.3.x, PHP4.x) Is it advisable to turn the odbc pooling on? What else should i take care off when working with PHP and ODBC? Thanks and Greetings Claudia -- PHP

[PHP] using an array with form list values

2001-05-03 Thread Claudia
I need to check that a form entry defined as an array contains a value before initiating the foreach code in my script. I have my form field defined in my form as: ?php print ' select name=preferred_location[]size=3 MULTIPLE option

[PHP] emalloc message

2001-05-03 Thread claudia
Hi, i additional found out, that every time i get the network error message i also get a error message in the apache error log. FATAL: emalloc(): Unable to allocate 8426419 bytes What does this mean, and what can i do? It´s every time the same amount of bytes. Please help, claudia Hi

Re: [PHP] network error

2001-04-27 Thread claudia
the variable HTTP_POST_VARS is empty and my script checks the HTTP_POST_VARS variable. But how can it happen that sometimes HTTP_POST_VARS has data and sometimes not? I have a Apache Web-Server. Any idea? claudia Hi, has anyone ever seen the message Network error occured while Netscape

[PHP] network error

2001-04-20 Thread claudia
essing the breload/b button. Im working on NT4, php4.0.4pl1, ODBC- Informix Database Thanks for any help! Claudia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra

[PHP] passing string variables in url

2001-04-09 Thread Claudia Smith
I am passing a string value via a url to be used for printing on a page and for sending info via email. I first encode the string before passing it. The issue I have is for strings that contain single or double quotes. When I print the value that has been passed in the url the \ is printed.

[PHP] Pop Up Window

2001-04-08 Thread Claudia
Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which contains a form. The form is processed via a PHP script. (miniquote.scp.php3) The popup window displays OK. The form processes OK in IE 5.0 however using NS 4.7 I

[PHP] PHP form script in Javascript window

2001-04-06 Thread Claudia
I am attempting to use a Javascript popup window to open a new php form window that uses a php script to process the form data. All processing for the form is completed in the popup window. The issue I am encoutering is occurring with Netscape only -- I receive the following msg: Warning

[PHP] Strings in URL

2001-03-26 Thread Claudia
I am attempting to pass a string value via a URL. I have tried using urlencode and ereg_replace--with no luck. Here is sample code: $headline=urlencode("$headline"); print "a href ='http://www.contus.com/test_quote/quotepage.php3?site=$sitepage=miniquote; subject=$headline'bContact us for more

[PHP] dynamic url from MySql field data

2001-03-16 Thread Claudia
I am attempting to create a dynamic url from a field that has the value of the dynamic url. Here is the scenario: 1 - Field in MySql database = $logo_link_var = page.php3?afl=$aflsite=$sitepage=contactad=$ad_type 2 - Select logo_link_var from database and assign to $logo_link -- code is:

[PHP] displaying form array values

2001-02-28 Thread Claudia
I would like to know how to add form array values to a mail message. I have my form defined as follows: select form name set as: select name="Destination[]" size="3" multiple option value="Not sure"Not sure/option option

[PHP] Obtaining a value from dynamic list box

2001-02-22 Thread Claudia
When selecting a value from a dynamically generated list box, the subsequent value passed to the table truncates when there is a blank in the string Here is the table structures (Mysql database) First table has variable course_name (varchar -- length 50) This database will be used to generate

[PHP] summing unkown values

2001-02-19 Thread Claudia
I would like to sum totals for unknown values. Here is the design Course names are entered in separate table -- courses If the course is still being tested the course status = open This status is stored in the Course table. Each course name is unique in this table. Test information including

[PHP] Sum function

2001-02-18 Thread Claudia
I am looking for code that explains how to sum a value in a database based on a current field retrieved from the database. Example: query = "select course_name, course_build, milestone, testcase, time_tested, issue_status, comment, bug_number, tested_by, date_tested from testissues where