[PHP] Result sorting not working

2007-01-26 Thread Dan Shirah
I have a search page that displays all active records in my application, but for some reason, I can not get it to display based on a specific input. For instance, I have records with id's 2, 3, 4, 5 etc... In my search form, the default view shows all records, and my form variable lets you put i

[PHP] Create ACH Origination file with PHP

2007-01-26 Thread Dan Harrington
Hello, Does anyone know of a script that can create an ACH origination file with PHP? Thanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Result sorting not working

2007-01-29 Thread Dan Shirah
Request ID Date/Time Entered Status Request Type Last Processed By "; while ($rows = mssql_fetch_array($res)) { $res_id = $rows['credit_card_id']; $res_dateTime = $rows['date_request_received']; echo ""; echo "$res_id"; echo "

[PHP] Year

2007-02-02 Thread Dan Shirah
an I get it to output the two year for 07, 08, 09 without it cutting off the zero? Reagrds, Dan

Re: [PHP] Year

2007-02-02 Thread Dan Shirah
Thanks everyone! A lot of great solutions! On 2/2/07, chetan rane <[EMAIL PROTECTED]> wrote: HI Dan try this this should work 100%; echo ""; for ($y=0;$y<=10;$y++) { $years=date('Y')+$y; $short_years=date('y')+$y; printf("%d",$short_years,$y

[PHP] Javascript and $_POST

2007-02-07 Thread Dan Shirah
I have a form that uses Javascript to validate form field entries, and if they are incorrect it returns an error to the user. After the Javascript processing is complete, it submits the form to my save page. However it seems that once the processing is complete and it passes to the save page, non

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
rm.submit(); part it returns the following error. Error: Object doesn't support this property or method. Code: 0 On 2/7/07, Paul Novitski <[EMAIL PROTECTED]> wrote: At 2/7/2007 01:34 PM, Dan Shirah wrote: >I have a form that uses Javascript to validate form field entries, and if

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
Nope, same result unfortunately. On 2/8/07, Németh Zoltán <[EMAIL PROTECTED]> wrote: On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote: > Okay, I'll try your spacer solution. Where do you think I should add > it? I put it right before the tag, but I think you could put it

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
;680"> > > title="Save">Save > title="Close">Close > > > > > > > Now when I submit my page it still perfroms all of the javascript checks > correctly, but once it gets to the document.inputForm.submit(); part it > returns the f

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
You guys are going to kill me! I found my problemand it's one of those "What the hell were you thinking" issues. Within my form was a "button" but I stupidly made it a submit when I created it and therefore the javascript check for submit was finding my button first and dumping the error. S

[PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Dan Shirah
Hello, I have a page the contains two insert statements. $insert1 = "INSERT INTO table1 ( debit_card, card_type, card_number, exp_date, payment_amount, cvv_number, first_name, middle_name, last_name, address_1, address_2, city, zi

Re: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Dan Shirah
Sorry, I wasn't trying to fool you, I promise! :) Arpad, From looking on the web (MSDN) I found the @@identity and the explanation of what it is, but MS's "example" is horrible and does not show a good context for using this function. Could you elaborate more on its use? On 2/14/07, Robert

Re: [PHP] Retrieve value of newly inserted row.

2007-02-15 Thread Dan Shirah
Okay, I found the correct function and below is what I have: - Show quoted text - $insert1 = "INSERT INTO table1 ( debit_card, card_type, card_number, exp_date, payment_amount, cvv_number, first_name, middle_name, last_name, address_1, addres

Re: [PHP] Retrieve value of newly inserted row.

2007-02-15 Thread Dan Shirah
I GOT IT! WooHoo! Thanks to a co-worker, this problem has been solved! I was using scope_identity incorrectly. This is how you should use it: INSERT INTO Table1 ( Column1, Column2) VALUES ( Value1, Value2) INSERT INTO Table2 ( Column1, Column2) VALUES ( scope_identity(),

[PHP] Month

2007-02-19 Thread Dan Shirah
Greetings, I have the following code which populates a dropdown box so a user can select a month. They see the month name and the SELECTED value is the corresponding numeric value 1-12 for the month. However, the selected value for January would be 1. I need the selected value fro January to

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
If I change my date value to m instead of M, that would only affect the visual month representation that they see, and not the "selected" value that I want to input into my database thoughright? On 2/19/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] I have the following code which popu

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
Okay, so sprintf("%02s", $m) means that the value of $m would be checked for the amount of digits returned. If less than two digits a zero would be added to the front, correct? On 2/19/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] If I change my date value to m instead of M, that would o

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
Okay, when I try the sprintf I get the following error when I try to save my form Incorrect syntax near 's'. $months"; } ?> On 2/19/07, Brad Fuller <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Dan Shirah [mailto:[EMAIL PROTECTE

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
Just when I think I'm getting the hang of PHP, I get confused beyond belief :| Is this working for you guys? When I test my page only 1/2 of the months show up now. $months"; } ?> On 2/19/07, Brad Fuller <[EMAIL PROTECTED]> wrote: > -Original Me

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
GAH! Sorry. On 2/19/07, Brad Bonkoski <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > Just when I think I'm getting the hang of PHP, I get confused beyond > belief > :| > > Is this working for you guys? When I test my page only 1/2 of the months > show up now.

[PHP] Option Value

2007-02-23 Thread Dan Shirah
On my form I have several drop down menus. They all work and display the corrent values. However, I would like the initial display of the form to show each dropdown as blank. $q_status = "SELECT * FROM status_codes ORDER BY status_description"; $r_status = mssql_query($q_status) or die(mssql_e

Re: [PHP] Option Value

2007-02-23 Thread Dan Shirah
Thank you George, that is what I was referring to. I had been placing the echo "\n"; inside of my loop..which of course returned a blank after every valid selection. TGIF! Thanks all. On 2/23/07, Dave Goodchild <[EMAIL PROTECTED]> wrote: Also, if you want to get into the habit of writing va

[PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
Hello all, I have a page that has multiple submits on it. One submit is within my javascriptfor form checking, the other submit is a button used to populate all customer information if an order ID is entered. Problem: I cannot get the two to coincide at the same time. They both use the submit

Re: [PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
owever, since I have a form within a form, it is giving me problems. On 2/26/07, tedd <[EMAIL PROTECTED]> wrote: At 11:23 AM -0500 2/26/07, Dan Shirah wrote: >Hello all, > >I have a page that has multiple submits on it. One submit is within my >javascriptfor form checking

Re: [PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
figure out is how to have: *Save* Run through all my form checks and then $_POST to my save.php page. On 2/26/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > Hello all, > > I have a page that has multiple submits on it. One submit is within my > javascriptfor

[PHP] Save and Continue

2007-03-07 Thread Dan Shirah
Hello All, I am trying to think through my new forms process. I want to allow a customer to submit multiple orders using the same credit card. At the bottom of my form I will have a "Save" link and a "Save and Submit Additional" link/checkbox. Basically what I want to happen is that if the us

Re: [PHP] Save and Continue

2007-03-07 Thread Dan Shirah
. btw, it's safer to use things like Paypal... Tijnema -- To the full PHP list now On 3/7/07, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Robert Cummings wrote: > > On Wed, 2007-03-07 at 10:39 -0500, Dan Shirah wrote: > >> then return to the same screen with

[PHP] Question

2007-03-20 Thread Dan Shirah
Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has the option to "Enter another user for this account" and they can do this for

[PHP] Re: Question

2007-03-20 Thread Dan Shirah
is created for this account? On 3/20/07, Greg Beaver <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > Looking for some direction here. > > I have a form that collects user data. When an employee opens the form > they enter in all of the user data for an account, however the ac

[PHP] Re: Question

2007-03-20 Thread Dan Shirah
multiple times tied to different accounts. On 3/20/07, Greg Beaver <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > In my database I have two tables. One table stores all of the account > information, the other table stores all of the user information. > > Table 1 > account

Re: [PHP] Re: Question

2007-03-20 Thread Dan Shirah
reports to auditors. On 3/20/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > I had thought about having the multiple submissions on a single form, but > with the amount of user information that is collected and the variable > amount of users that may need to be ente

[PHP] POST a variable

2007-03-23 Thread Dan Shirah
Okay, I feel like the correct answer to this is about 2mm back in my grey matter. 1. I have a query that pulls the last row number when a newly inserted record is added: $maximum="SELECT MAX(payment_id) FROM payment_request"; $max_result=mssql_query($maximum); while($max=mssql_fetch_row($max_r

Re: [PHP] POST a variable

2007-03-23 Thread Dan Shirah
n the time it takes to go from step 3 to step 4 are very, very minimal. We're talking about MAYBE a 2-3 millisecond gap? On 3/23/07, Németh Zoltán <[EMAIL PROTECTED]> wrote: 2007. 03. 23, péntek keltezéssel 10.45-kor Dan Shirah ezt írta: > Okay, I feel like the correct answer t

Re: [PHP] POST a variable

2007-03-23 Thread Dan Shirah
do any while, if the SQL statement doesn't fail and triggers the die(), you can rest assured you'll get a record with a single field, even if it only contains a null, that's the way with variables, you can't fail on them, though they might return null. Satyam - Or

Re: [PHP] POST a variable

2007-03-23 Thread Dan Shirah
7;t allow the brackets to a function that returns an array. You might use mssql_result instead: $get_max = "SELECT @@identity"; $max_result = mssql_query($get_max) or die(mssql_error()); $max_id = mssql_result($max_result,0,0); echo $max_id; Satyam - Original Message - From

[PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
Okay, I thought this was VERY simple, but I cannot wrap my mind around what I am doing wrong. echo $_POST['max_id']; *The echo returns the correct result *if($_POST['max_id'] ='') { *This is suppose to run the below query if $_POST['max_id'] is not blank* $max_id = $_POST['max_id']; *Sets my

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
So I was dancing all around it by trying !== and = but did not try != /??? UGH! On 3/27/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/27/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > Okay, I thought this was VERY simple, but I cannot wrap my mind around what >

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
Should I use something besides mssql_fetch_row to get my result? No matter which method I use for determining if the value exists, I still get no data populated to my form. On 3/27/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/27/07, Davi <[EMAIL PROTECTED]> wrote: > Em Terça 27 Março 2007 17:

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
<[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > Should I use something besides mssql_fetch_row to get my result? No > matter > which method I use for determining if the value exists, I still get no > data > populated to my form. Why not echo out your query before executing

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
print_r($row_info) display the entire column contents of the select id However, *$first = $row_info['first_name']; echo "$cc_first";* the above echo still returns nothing. On 3/27/07, Davi <[EMAIL PROTECTED]> wrote: Em Terça 27 Março 2007 17:40, Dan Shirah

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
Sorry, had a typo. *$cc_first = $row_info['first_name']; echo "$cc_first";* this echo returns nothing. On 3/27/07, Dan Shirah <[EMAIL PROTECTED]> wrote: print_r($row_info) display the entire column contents of the select id However, *$first = $row_info['first_

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
AIL PROTECTED]> wrote: 2007. 03. 27, kedd keltezéssel 16.56-kor Dan Shirah ezt írta: > Sorry, had a typo. > > *$cc_first = $row_info['first_name']; > echo "$cc_first";* > this echo returns nothing. and what does echo $row_info['first_name']; print out?

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
t; 5432 [15] => 123555 [16] => 1235550011 [17] => [EMAIL PROTECTED] [18] => Y [19] => These are the comments [20] => Mar 27 2007 5:26PM [21] => Dan Create [22] => Mar 27 2007 5:26PM [23] => Dan Research [24] => Mar 27 2007 5:26PM [25] => Dan Submit [26] => C

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
uot; [12]=> string(40) "Smithville " [13]=> string(5) "12345" [14]=> string(4) "5432" [15]=> string(10) "123555" [16]=> string(10) "1235550011" [17]=> string(7) "[EMAIL PROTECTED]&q

Re: [PHP] POST + QUERY

2007-03-28 Thread Dan Shirah
as <[EMAIL PROTECTED]> wrote: Dan Shirah wrote: > Okay, I thought this was VERY simple, but I cannot wrap my mind around what > I am doing wrong. > > > echo $_POST['max_id']; *The echo returns the correct result > *if($_POST['max_id'] ='') { *Thi

Re: [PHP] pdo::lastInsertId() error with SQL Server

2007-03-29 Thread Dan Shirah
use scope_identity() if you're using MS SQL Server 2000 or newer. scope_identity slects the last id within your current scope (The last record you entered in your current session) On 3/29/07, Sady Marcos <[EMAIL PROTECTED]> wrote: hey.. I am not obtaining use the function pdo::lastInsertId()

RE: [PHP] keeping credit card info in session

2007-04-08 Thread Dan Harrington
Its not the country rules to worry about, it is Visa and MasterCard who will come down hard on you with $$ penalties if you don't maintain cardholder security correctly. http://usa.visa.com/merchants/risk_management/cisp.html?ep=v_sym_cisp Dan -- Dan Harrington NXGEN Payment Services 112

[PHP] links and variables

2007-04-12 Thread Dan Shirah
Greetings! I have a page that has several links that point to the same page. I want to pass a variable to the linked page depending on which link the user clicks to only display a result set that is relevant to the link clicked. I know clicking on a link does not submit the page, so there would

[PHP] File Open Prompt?

2009-08-28 Thread Dan Shirah
le: if ($page != "" || $page != " ") { exec("xcopy ".$page." ".$topage.""); } $orig_file = $topage."\\".$objectid.".0D9"; //echo $orig_file; $new_file = $topage."\\".$objectid.".tif"; //echo $new_file; rename($orig_file,$new_file); Any ideas on how to make the browser give the download prompt for $new_file? Thanks, Dan

Re: [PHP] File Open Prompt?

2009-08-28 Thread Dan Shirah
> > You will need to add some headers to the page to popup the prompt, at least > with > these. > > $filename = 'somefile.tif'; > $filesize = filesize($filename); > > header('Content-Type: application/force-download'); > header('Content-disposition: attachement; filename=' . $filename); > header('C

Re: [PHP] Date +30 comparison

2009-09-01 Thread Dan Shirah
e($month),date($day)+30,date($year)); Now I put it back into a date format. $future_date = date('m/d/Y',$future_date); echo $future_date; Today is September 1st and the value of $future_date is October 1st because there are 30 days in Spetember. Now you can compare your dates. if ($nexteval > $future_date) { echo "This date has already passed"; } else { *do some processing* } Hope that helps. Dan

[PHP] NULLS vs Empty result in PHP

2009-09-23 Thread Dan Shirah
Morning! Just a quick question. Say I have a column in my database that could contain NULLS, empty spaces, or an actual value. If I do: $my_query = "SELECT my_column FROM my_database WHERE 1 = 1"; $my_result = ifx_query($my_query, $connect_id); while($row = ifx_fetch_row($my_result)) { $my_c

Re: [PHP] Re: NULLS vs Empty result in PHP

2009-09-23 Thread Dan Shirah
> > using empty() is ´the right way to check a var for NULL or "" > > however, it also depends what MySQL has got as setuo definition for empty > fields. on textfields u can define an epmty string as default. > > So say these are the first three results of my query: "some text" //The column actual

Re: [PHP] NULLS vs Empty result in PHP

2009-09-23 Thread Dan Shirah
> > From reading the other responses to this thread, it seems that you want > to > "skip" or "exclude" rows in the results where my_column === null. > > If this is correct, why not do it in the SELECT statement to begin with? > > $my_query = "SELECT my_column FROM my_database WHERE my_column IS NO

Re: [PHP] Re: NULLS vs Empty result in PHP

2009-09-23 Thread Dan Shirah
> > if it can take only numeric values u can use is_numeric() > > also i suggest that you not to use nulls in dbs. instead, use "not null" > and "default value" property. Its more simple and more effective for both > managing your database and coding your program. > > It's a CHAR (60) field. This

Re: [PHP] Web Service Server in PHP

2009-10-21 Thread Dan McCullough
I believe NuSoap is still available source: http://sourceforge.net/projects/nusoap/ http://greghuet.blogspot.com/2007/12/soap-php5-and-nusoapphp.html You can also look here at PHPs SOAP functions http://php.net/manual/en/refs.webservice.php On Wed, Oct 21, 2009 at 9:26 PM, Daniel Echalar wrote:

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Dan McCullough
Like Israel it depends on the client I am doing several projects for a client now that the hosting company is still using 4.0.6 - and its been a headache. Most of the personal projects and many of my other clients are on 5.1 or higher. On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett wrote: > 2009

[PHP] sessions and email

2009-11-12 Thread Dan Shirah
All, I am using sessions for my application to verify a user has logged in: // Verify the user is logged in. if (!isset($_SESSION['basic_is_logged_in']) || $_SESSION['basic_is_logged_in'] !== true) { // If not logged in, redirect to the login page. header('Location: login.php'); e

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Dan McCullough
To add to what Ashley said about $row[3], remember that when you are returning from the db the counter for fields will start at 0 not 1, so if its the 3rd field that will be $row[2]. You might also want to do switch rather then elseif but thats always a good debate. On Fri, Nov 20, 2009 at 3:16

[PHP] PHP to answer HEAD requests

2009-12-18 Thread Dan Field
Is it possible to use PHP to answer HEAD http requests? Is it as simple as doing something like: header('blah') exit; I'd expect PHP to produce a full page rather than just a header though. -- Dan FieldFfôn/Tel. +44 1970 632 582 Peirian

Re: [PHP] blog design issue...

2010-03-20 Thread Dan McCullough
Table is the way to go for all the reasons that Rob mentioned. > > This is going to be a small blog to start, but I guess I should always be >> looking at performance, security, & maintainability right? >> > > Good way to start is start small and build a strong base around a good database, good

Re: [PHP] SimpleXMLElement occasionally fails to parse gb2312 or big5 feeds

2010-04-06 Thread Dan Joseph
t misses a lot of things when it comes to complex, or abnormal XML. Abnormal being what you're describing and whatnot. I don't really have a solid answer for you (Just noticed no one responded), but I think you're running into what I was... Its just built to be Simple,

Re: [PHP] stat(), NFS shares and local files timeout

2010-04-07 Thread Dan Joseph
. I prefer to go > another way. anyone has a clue ? > What if you simply set the script to time out? Is it ignoring that too? set_time_limit( seconds ) -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
ee. > > Its your if's, elseif's, else's. You have "and", change that to &&. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
mation... Its the else line. else doesn't take a condition after it. it should just be "else {". -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] contant /

2010-04-08 Thread Dan Joseph
sumed > 'account_type' > f_put_cookie($auth[user_name],$auth[user_email],$auth[account_type],$auth[co mpany_name]); That's your culprit. You'll need quotes around those. $auth["username"], "user_email", "account_type", "company_name" Othe

Re: [PHP] another "useless" message.

2010-04-09 Thread Dan Joseph
he list over the years. Its a natural reaction. You may want to put that kind of thing in your signature also. Rather than making announcements that bother people, when you participate, your message will go out. Although, don't make it 100 lines long... -- -Dan Joseph www.canishostin

[PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
eam_id = ?", $home_team_id ) ->where( "away_team_id = ?", $away_team_id ); This translates the where's to "home_team_id = 12 AND away_team_id = 15"... What I'd like to have is "home_team_id = 12 OR away_team_id = 15". Is this possible? Or wou

Re: [PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
On Fri, Apr 9, 2010 at 3:25 PM, Andrew Ballard wrote: > Try this: > > $select = $table->select()->where( "home_team_id = ?", $home_team_id ) > ->orWhere( "away_team_id = ?", > $away_team_id ); > > Perfect..

Re: [PHP] Determining Top # from MySQL

2010-04-10 Thread Dan Joseph
Eh, he's off topic, but we've talked plenty SQL on here before... SELECT num, COUNT( num ) FROM table GROUP BY num; I don't have a myqsl server to test that, but should do it. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code &qu

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
come back. I kinda like that word Paradigm. Rolls off the tongue nicely. I'm going to use it 3 times today before I leave the office. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http:/

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote > I had a pair-a-dimes one time. Unfortunately I was a nickel short of a > quarter to put in the slot. > > But the question is... were they outside the box? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
e toilets that flush themselves now. > WTF happened to "grown up" being equal to taking responsibility > for things? > I think you've found the answer to the great question of why people don't take responsibility anymore... it all started with the toilet! -- -Dan Josep

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 1:46 PM, Robert Cummings wrote: > > Toilets flush themselves so that we don't need to touch what someone else > touched... very likely after *cough* wiping up. > > They have a cure for having to life a finger and wipe also but I won't cont

Re: [PHP] Date Math

2010-04-20 Thread Dan Joseph
; might be a simple one or two line option. > > check out: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.fa

Re: [PHP] Excel Report Formatting

2010-04-20 Thread Dan Joseph
Its good to see we're all playing nice today! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-20 Thread Dan Joseph
my questions if i don't find any answer already on this list. > > Hi Nick, Welcome to the community! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/can

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Dan Joseph
Cracks me up every time. When you hit reply all, just take out all the other addresses and leave the list one in there. The list was setup like this years ago on purpose, and they've stated in the past they don't want to change it.. -- -Dan Joseph www.canishosting.com - Unlimited Hosti

Re: [PHP] CD, DVD, and Blu-Ray (Not PHP)

2010-04-21 Thread Dan Joseph
Blu-Ray can hold more than DVD and DVD holds more than CD, isn't that right? > > Speaking purely data, yessir. That's your difference. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial

Re: [PHP] Re: Re: replying to list (I give up)[SOLVED TO A DEGREE]

2010-04-21 Thread Dan Joseph
My goodness, are you people still going on about all this? LOL... let it go... it is what it is. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.fa

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
ked ok. http://us3.php.net/manual/en/function.pcntl-fork.php -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
w.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > lol.. I didn't see your email where you said not to ask -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order h

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
On Wed, Apr 21, 2010 at 8:38 PM, David McGlone wrote: > > Are we gonna have to have a discussion on the use of "threading"? LOL > > > We just might. Personally, I use it to sow holes in the toe of my socks. -- -Dan Joseph www.canishosting.com - Unlimited Hosting

[PHP] Math Question....

2010-04-22 Thread Dan Joseph
1,252,398 -- divide into equal groups with only 30 items per group max. Can anyone guide me towards an algorithm or formula name to solve this? PHP code or Math stuff is fine. Either way... Thanks... -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
if it was a remainder of only 1 or 2, there would be an issue. Which is where I come to looking for a the right method to break it equally. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.fac

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
'm going to try and wake up the algebra side of my brain that hasn't been used in years and see if I can digest all this. For the 2, 3, and 7, that is based solely on the last number being divisible by a prime number? Joao, Jason, thanks for the code. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
On Thu, Apr 22, 2010 at 12:16 PM, Richard Quadling wrote: > On 22 April 2010 14:48, Dan Joseph wrote: > This seems to be working ... > > function findBestFactors($Value, $GroupSize, array &$Factors = null) >{ >$Factors = array(); >foreach(

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
n't. So you really just have to adjust to their requirements and needs. You're right tho, they all have their advantages. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://ww

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
r windows, such as Flash development. Plus my PhpED license is for the Windows client, so I feel kind of trapped there :) -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
. We were building games with it, which was really a no brainer to use flash. I didn't want to get into Java. I'll have to try it under wine sometime. I didn't even think about that. But then again, my work machine is windows anyway. -- -Dan Joseph www.canishosting.com - Un

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Sun, Apr 25, 2010 at 9:16 AM, tedd wrote: > My gamer tag is "special tedd" > > Hey Tedd, I'm 'jakmo' on Live. I'll have to give you an add next time I jump on. I've been playing Dragon Age and Lost Odyssey. Both are great. -- -Dan Joseph ww

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
y Ice Age and Cars but crash a lot and end up > shouting at each other. > Ice Age was a fine game! I played that one a few years ago. I'd like to see another Diablo styled game come out in the modern setting. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan wrote: > > > Diablo 3 is out soon... > > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > oh cool, I did not realize.. have they set a release date yet? I didn't see one on gamestop.com...

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
hey get Starcraft going they'll get this out. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Contact form....

2010-04-26 Thread Dan Joseph
Looks like you might have errors turned off. I see: $subject =$_POST"subject"; Which should be: $subject =$_POST["subject"]; $_POST is an array, and that's how you access those elements. check to see if errors are on, if not, you'll see errors in t

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Dan Joseph
forward to how much time I'll sink into it :) > > -- > Viktor > http://programming-guides.com > I am amazed at how long Starcraft has lasted, and how popular it still is. Is the MMORPG version Starcraft 2? Or is that yet another one? -- -Dan Joseph www.canishosting.com - U

Re: [PHP] Can't find my error

2010-05-05 Thread Dan Joseph
On Wed, May 5, 2010 at 12:55 PM, David McGlone wrote: > 26. if(isset($_GET['ProductID'])) > 27. $this->mSelectedProduct = (init)$_GET['ProductID']; > > You've got (init) instead of (int). Its always those little char

Re: [PHP] Can't find my error

2010-05-05 Thread Dan Joseph
On Wed, May 5, 2010 at 1:06 PM, David McGlone wrote: > On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: > > On Wed, May 5, 2010 at 12:55 PM, David McGlone > wrote: > > > 26. if(isset($_GET['ProductID'])) > > > 27. $this-&g

Re: [PHP] “五-连-贯”股|权-激|励-法

2010-05-06 Thread Dan Joseph
2010/5/6 Ashley Sheridan > [/snip] > > If only I could speak Chinese and was gullible I'd love to take them up > on the offer for whatever it is. > > > > I wonder if we're missing out on the billion $ prize... -- -Dan Joseph www.canishosting.com - Unlimited

Re: [PHP] simplexml choking on apparently valid XML

2010-05-06 Thread Dan Joseph
rser. I will have to check my code when I get back to the office in the AM and I'll let you know what it was if you haven't figured it out by then. But that might get you started in fixing it. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month.

<    7   8   9   10   11   12   13   14   15   16   >