loadvariables get length

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default loadvariables get length

    How can I get the length of the amount of data that a php script has pushed as a result of a loadvariables?
    bossche001 Guest

  2. Similar Questions and Discussions

    1. loadVariables and loadMovie
      in a mc i get some variables from a db with loadVariables("order.asp?id"+id, 0, "POST"). in a root there are some textField wich I load that...
    2. loadvariables and external .txt
      Hi all Im haveing trouble loading an external text file into a textframe from inside a movie it works perfectly when i try to use it directly...
    3. LoadVariables and ASP
      Hi all, Hope someone can help as this is driving me nuts. I'm running IIS 5 on my XP machine and I've created a database to return basic text...
    4. loadVariables() problem
      Hello All! I have created a navigation bar for my website and i store the urls in an external .txt file. I use the loadvariabes() statement to load...
    5. How to get length of string? length() problems
      Simplified a bit, I'm parsing HTML documents to get sentences e.g. my $html = get($URL); # remove all HTML TAGs...blah blah blah @sentences =...
  3. #2

    Default Re: loadvariables get length

    Hello,

    If you're using MySQL to pull your data from a table - then use
    mysql_num_rows() to get the total of records and store it in a variable(a).
    Then append that variable at the beginning of your output in PHP(b).
    Then you can use that variable in Flash for looping or whatever(c).

    (a) $num = mysql_num_rows(YOUR_QUERY);

    (b) echo "num=".$num."&data1=blah&data2=more blah"; // etc

    Hope that helps!

    Noelbaland Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139