What the following script does is that it gives a
result of 4 rows, from the database, and generates 4
variables (newsbits0, newsbits1, newsbits2,
newsbits3), and inserts result data into each of these
variables.
What i want is a final 5th variable which contains all
the data of the first 4 varia
Hi,
I used a script to generate some result from a
database, which i want to display in flash.
In Flash, i created the Dynamic Text and declared
"newsbits" as Vars, and set it to Multiline.
I also loaded the PHP variables with the following
command in the ActionScript of the Frame :
loadVariables
Hi,
Thanks.. i went through your reply and certainly now i
understand the mistake i was making. Quite logical
actually, that i hadn't actually selected the "title"
column. But i'm sure i wouldnt' have been able to
figure this out myself.
And surely, i too try to stay away from Numerical
Indexes.
Chris,
Thanks a lot.. THIS WORKS!
Works brilliantly. All other methods were just
failing. Thanks man.
> // fetch row is faster than fetch_assoc, which is
> faster than fetch_array
> // fetch_result might even be a better choice here,
> though, with only one
> item...
> if (!mysql_num_rows($resul
Hi,
> So, you still have a "blank" page?
Yes i do actually, and blank in HTML Source too.
> do you have "display_errors = On" in your php.ini?
Ahan.. yes i do.
> to this:
>
> echo $myrow["title"];
>
> makes any difference.
No actually it didnt. :0(
Rahul S. Johari
_
Ok i tried this.. and i didn't get any error listed..
so it seems that the mySQL Query is not failing in
syntax or logic.. but it's not picking up any rows.
Which is really stupid because i used my phpmyadmin
and i ran this SQL Query there and even then i got my
results..
--- Chris Hayes <[EMAIL
I want to display the first 3 words of my record in
the my table and following is the code i'm using.
When i use the SQL Query in mySQL.. it works great..
but when i try to implement it in my php page.. i'm
not getting anything.. no error, no display, no
result.. just blank.. why?
Rahul S. Joha
Chris..
2 words for you.. "WOW" and "WOW".
This works real well.. thanks. I didn't know it was
possible through an SQL statement.
Nik & Kevin, thanks a lot .. but this SQL Query works
too efficiently and fast.
Thanks again..
Rahul S. Johari
> Make mysql do the work for you.
>
> select sub
Kevin,
Your program certainly makes very good sense to me.
However, 2 things i will need to ask you.. is that,
let's say i decide i want the first 4 words from the
record displayed.. for all the 4 rows i'm displaying..
where do i define that in your program?
And secondly, how do i make this progr
Glory & Supreme Power
What i'm looking to do is.. i want to display only the
first few words of the record in my mySQL database..
For example.. i have a table with a field "title"..
and let's say my last record has the value in title
field as
"This is going to be really cool"
What i want to
10 matches
Mail list logo