Search:
Type: Posts; User: praxedis
Search: Search took 0.03 seconds.
-
08-01-2005, 06:33 PM
Thread: Array sort in Programming Discussion
by praxedis- Replies
- 1
- Views
- 547
Array sort
I've got a resultset like this:
a a
a b
a c
b a
b b
b c -
07-28-2005, 05:30 PM
Thread: Another sort results question in Programming Discussion
by praxedis- Replies
- 1
- Views
- 502
Here's another example of what I'm trying to do,...
Here's another example of what I'm trying to do, but this logic is obviously not working.
foreach($submissions_pages as $submit => $submission)
{
$aryBrokerProcessDetails =... -
07-28-2005, 04:29 PM
Thread: Another sort results question in Programming Discussion
by praxedis- Replies
- 1
- Views
- 502
Another sort results question
I have some records from a MySQL database I'm pulling like:
foreach($submissions_pages as $submit => $submission)
{
echo $submission
}
Well, $submission has a $submission[process_id].... -
07-15-2005, 06:04 PM
- Replies
- 2
- Views
- 538
Works great but...
It only works when the month and year = $rsBPromo->fields[4] and $rsBPromo->fields[5]
When I toggle between months, it doesn't work.
It's Friday. I'm tired. I'll look at it on Monday.
Thanks... -
07-15-2005, 04:48 PM
- Replies
- 2
- Views
- 538
How do I change this drop down menu function?
I wrote this function for a drop down menu but I want to keep the "selected" value as the chosen value.
Any help appreciated.
function promo_drop_down() {
$sql = "SELECT a.p_id, a.cat_id,... -
07-11-2005, 01:55 PM
Thread: Function only returns one value in Programming Discussion
by praxedis- Replies
- 9
- Views
- 719
Got it. Thanks a lot for your help.
Got it. Thanks a lot for your help.
-
07-11-2005, 01:50 PM
Thread: Function only returns one value in Programming Discussion
by praxedis- Replies
- 9
- Views
- 719
If I do a "return $intDays[0]" at the end of the...
If I do a "return $intDays[0]" at the end of the function, it gives me what I need for one record obviously. I need them all though.
-
07-11-2005, 01:43 PM
Thread: Function only returns one value in Programming Discussion
by praxedis- Replies
- 9
- Views
- 719
Array is supposed to be printing...
Array should be printing this.
[dynamic key from $rsTimestamp->fields[0]] => array('something')
so that I can populate the $days variable.
I'm clearly on the wrong track.
Where am I... -
07-11-2005, 12:52 PM
Thread: Function only returns one value in Programming Discussion
by praxedis- Replies
- 9
- Views
- 719
Wrong values
Okay, "return $intDays;" is returning an array, but not the "date("j", $rsTimestamp->fields[0]" as the key of the array like I want it to.
Any help appreciated.
function daySelect() { ... -
07-11-2005, 12:26 PM
Thread: Function only returns one value in Programming Discussion
by praxedis- Replies
- 9
- Views
- 719
Like this?
function daySelect() {
$sql="SELECT distinct A.submission_id FROM fp_forms_submitted A, fp_fields_submitted B ";
$sql.="WHERE A.form_id='10117' AND A.submission_id=B.submission_id AND ";... -
07-11-2005, 11:56 AM
Thread: Function only returns one value in Programming Discussion
by praxedis- Replies
- 9
- Views
- 719
Function only returns one value
function daySelect() {
$sql="SELECT distinct A.submission_id FROM fp_forms_submitted A, fp_fields_submitted B ";
$sql.="WHERE A.form_id='10117' AND A.submission_id=B.submission_id AND ";... -
06-17-2005, 02:31 PM
Thread: Simple, but I'm stuck in Programming Discussion
by praxedis- Replies
- 9
- Views
- 583
doing it in php
doing it in php
-
06-17-2005, 11:52 AM
Thread: Simple, but I'm stuck in Programming Discussion
by praxedis- Replies
- 9
- Views
- 583
Simple, but I'm stuck
Recordset
a | 8
a | 9
b | 8
c | 8
d | 8
d | 9
I want to sort and bring back this: -
06-09-2005, 05:10 PM
Thread: Xmlhttp in Programming Discussion
by praxedis- Replies
- 27
- Views
- 1,234
4guysfromrolla.com/webtech/110100-1.shtml
4guysfromrolla.com/webtech/110100-1.shtml
-
06-09-2005, 05:02 PM
Thread: problem with foreach() in Programming Discussion
by praxedis- Replies
- 1
- Views
- 509
problem with foreach()
My code:
$result=dhd_fn_fp_broker_names_get();
$options="";
foreach($result as $results) {
$company_key = $results['company_key'];
$first_name=$results['first_name'];... -
05-10-2005, 10:33 AM
Thread: Need help with conditions in php in Programming Discussion
by praxedis- Replies
- 2
- Views
- 516
Need help with conditions in php
I'm a novice and need help with a little problem I'm having. Here's the code.
if (array_key_exists(0,$aryBrokerProcessDetails))
{
$intNumberPending++;
echo "<div...
Results 1 to 16 of 16