thank you WebProgrammerGoddess but I ,finnaly found out what the mistake is!
it is the odbc_num_rows that didn't work because there is a problem with many odbc drivers so I now need a way to find out how to do this function another way but I think I'll be able to do so without much trouble...
Hi everyone I am trying to understand something that php's been doing to me for 3 days now and I was hoping someone could tell me what's happening.
here is the problem:
I am using nested while loops but the first one need a semicolon (;) to work and the second one won't work if I put one (seem...
I am trying to build a generic script and for that I would need the odbc_fetch_field function. I have done something similar but it's not executing it.
$NbFields=odbc_num_fields($result);
$i=1;
$j=1;
while(odbc_fetch_row($result,$i));
{
while ($j...
I have a problem here: php won't take a variable as the database name. can anyone help figure this one please.
Also I posted my whole code so if you see any mistake in it let me know.
//this is desidned to be used with flash to be able to do
//any interaction possible between flash and any BD...
is there a way I can create variables inside a for loop each time it loop?
here is what I have:
//connect to database
$connect = odbc_connect("$DBname", "", "") or die("couldn't connect.");
$connection=odbc_do($connect)...
here is a simple question for you guys:
is $query="UPDATE $DBtable SET (odbc_field_name ($result,$i))=$var";
$query .="WHERE (odbc_field_name ($result,$1))='$name'";
this is happening before I connect
next line is:
$result = odbc_do($connect, $query);
will it work this...
I am new at C++ and I was wondering what we really use pointer for?
Do we absolutely need them? I understand how they work but I see no point in using them.
Could anyone give a concret example of a situation where we really need pointers?
thank you in advance
GroundZero Your soul is...
I want to remove a row in my Access DB but I can't get it to work. Can anyone see what I am doing wrong:
<?php
//connect to database
$connect = odbc_connect("flash_java_xml", "", "") or die("couldn't connect.");
//query the user table for room and...
I need the ampersign (&) because php is returning it in URL Encoded format so it's won't work
regards,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
it is the add from flash and macromedia recommend using add instead of "&".
thank anyway
everything might be usefull!!!
regards,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
are you retreiving data from a DB with your php or only getting var from it??
regards,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
Again good thinking but in my if statement I am not refering to a frame, I am calling the funtion connect();
and I have put a var (oka=2) in the if and I moade a txtField returning the value of oka and it's not returning anything so I know it's not getting in the if.
regards,
GroundZero Your...
it's not working either and the rest of the php work.
By the way what does if(/:ok=1) do?
regards,
GroudZero Your soul is imperfect
Life is difficult...
Now guess why we're here
it wasn't a bad Idea davDesign but it's not working either.
I am still trying to figure this out.
Anymore idea?
regards,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
in fact it's suppose to be (ok==1) and (ok!=0)
here is what I also tried:
1-setting ok to empty (ok="") and doing if (ok!="")
2-setting ok to 1 and doing:
okk = Number(ok);
if (okk == 1)
3-I made debug txtField...
help!!!
can anyone tell me why flash doesn't know that 1=1
here is what I do:
frame 1:
ok = 0;
i++;
loadVariables ("xmlget.php", "");
myBall = numClients add "-" add (user add i);
duplicateMovieClip ("/ballZ", myBall, (numClients)+20)...
I tought socket connection had almost nothing to do with browsers. if possible could you give me an example of how it's done?
And I am making a game engine.
thank you in advance
regards,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
can anyone tell me if it is possible for php to be a multithreading server for socket connection.
if it is can you refer me a tutorial or an example
thank you in advance;
regards,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.