Search:

Type: Posts; User: praxedis

Search: Search took 0.03 seconds.

  1. 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
  2. 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 =...
  3. 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]....
  4. 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...
  5. 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,...
  6. Got it. Thanks a lot for your help.

    Got it. Thanks a lot for your help.
  7. 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.
  8. 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...
  9. 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() { ...
  10. 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 ";...
  11. 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 ";...
  12. Replies
    9
    Views
    583

    doing it in php

    doing it in php
  13. 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:
  14. Replies
    27
    Views
    1,234

    4guysfromrolla.com/webtech/110100-1.shtml

    4guysfromrolla.com/webtech/110100-1.shtml
  15. 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'];...
  16. 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