Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. GroundZero

    php exeptions?

    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...
  2. GroundZero

    php exeptions?

    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...
  3. GroundZero

    odbc_fetch_field function?

    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...
  4. GroundZero

    generating variables from for loop

    thanks! but I decided to use array instead! regards, GroundZero Your soul is imperfect Life is difficult... Now guess why we're here
  5. GroundZero

    variable as the DataBase name?

    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...
  6. GroundZero

    generating variables from for loop

    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)...
  7. GroundZero

    odbc_field_name ($result,$i) question

    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...
  8. GroundZero

    need a bit of explanation here

    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...
  9. GroundZero

    Remove a line in access DB

    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(&quot;flash_java_xml&quot;, &quot;&quot;, &quot;&quot;) or die(&quot;couldn't connect.&quot;); //query the user table for room and...
  10. GroundZero

    flash don't know that 1=1...

    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
  11. GroundZero

    flash don't know that 1=1...

    it is the add from flash and macromedia recommend using add instead of &quot;&&quot;. thank anyway everything might be usefull!!! regards, GroundZero Your soul is imperfect Life is difficult... Now guess why we're here
  12. GroundZero

    PHP and FLASH

    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
  13. GroundZero

    flash don't know that 1=1...

    don't worry I will and thank for helping! regards, GroudZero Your soul is imperfect Life is difficult... Now guess why we're here
  14. GroundZero

    flash don't know that 1=1...

    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...
  15. GroundZero

    flash don't know that 1=1...

    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
  16. GroundZero

    flash don't know that 1=1...

    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
  17. GroundZero

    flash don't know that 1=1...

    in fact it's suppose to be (ok==1) and (ok!=0) here is what I also tried: 1-setting ok to empty (ok=&quot;&quot;) and doing if (ok!=&quot;&quot;) 2-setting ok to 1 and doing: okk = Number(ok); if (okk == 1) 3-I made debug txtField...
  18. GroundZero

    flash don't know that 1=1...

    help!!! can anyone tell me why flash doesn't know that 1=1 here is what I do: frame 1: ok = 0; i++; loadVariables (&quot;xmlget.php&quot;, &quot;&quot;); myBall = numClients add &quot;-&quot; add (user add i); duplicateMovieClip (&quot;/ballZ&quot;, myBall, (numClients)+20)...
  19. GroundZero

    is php capable of multithreading?

    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
  20. GroundZero

    is php capable of multithreading?

    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

Part and Inventory Search

Back
Top