Jump to content

bijan

Members
  • Content Count

    14
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bijan

  • Rank
    Newbie
  1. bijan

    @ in PHP

    What does @ do in front of some functions in PHP ?What does it exactly do ?
  2. bijan

    Free PHP Hosting

    Hi,I think micfo.com has the best Free PHP hosting, including all accesses, no banner, no ad, with Cpanel, and all other thing yo may need in a PHP hosting Plan !Try it safe
  3. bijan

    Free PHP Hosting

    Hi,I think micfo.com has the best Free PHP hosting, including all accesses, no banner, no ad, with Cpanel, and all other thing yo may need in a PHP hosting Plan !Try it safe
  4. bijan

    Random

    What could be the best solution to create about 300,000 random numbers with 9 digits,without repitition and insert them in to a table ?I have used this method :for($j=1;$j<=300000;$j++){//number of records to insert $string=""; $snum='637419582016'; for($i=1;$i<=9;$i++){ $rnumb=rand(0,11); $string.=$snum[$rnumb]; }//------------checks the repitition by one query of the tableif ($totalRows_Recordset1>0) { $tempreg=$j-1;$regstatus="<B>ERROR- Repetitive Key Generation,</B> Generated ".$tempreg." key(s) out of 300000 keys";break;} It worlk well and takes every 1000 random number in one second to the table, but the repitiion occurs too soon in the 12000th to 20,000th number generation, Could there be a way to generate all numbers without the repition check ?
  5. bijan

    MySQL limits

    I want to know the limitation for mysql table record,How many records can fit into a table , and what is the capacity ?By the way How can I change the 30 seconds mysql time exceed for data writing ?Thanks,
  6. bijan

    Ajax

    I am using 1.5.0.1,But when I borwse it in my firefox the records are all set to undefined, as in javascript empty vars ?!What do you think ?
  7. bijan

    Ajax

    Please check this link, which is working well in IE, but not in FireFox .It works well in both of them in my local system .http://70.86.234.250/~bijans23/ajaxlist.phpWhat could be the problem ?!Thanks.
  8. bijan

    Ajax

    I have used an Ajax in my page which communicates with db and retrieves he results on the page, this page is working properly in My local system on IE and Also Firefox, But when I upload it to the main server on the internet, It only works on IE, but in FIrefox it cannot communicate with the Script, How could this happen ?!!Thanks
  9. I use :var ax=document.getElementById('table_id').rowsax[1].align="center"for the row alignment, What if I want to set an style(css class), to this row.How should i do that ?
  10. bijan

    Go first mysql

    I have used a query with mysql_fetch_assoc, and when I am at the end of the records,I need to go to the first record, and read them another time again,How can I go to the first MySQL query result after I have read them once ?
  11. bijan

    Delete all rows

    I used :document.getElementById('table_id').rows.lengthIt works fine with me
  12. bijan

    Delete all rows

    How can I delete all the rows of the table ?I know thedocument.getElementById('tbl').deleteRow(i)But how can I know the quantity of the table rows ?So that I can make a for loop and delete them all ?
  13. bijan

    Inserrow()

    Thanks,It did work with using innerHTML.
  14. bijan

    Inserrow()

    var x=document.getElementById('lottery').insertRow(j+1) var r1=x.insertCell(0) var r2=x.insertCell(1) var r3=x.insertCell(2) var r4=x.insertCell(3) r1.innerText=results[j*4] r2.innerText=results[j*4+1] r3.innerText=results[j*4+2] r4.innerText=results[j*4+3]I used this code to generate a table row and insert the text into it,It works well in IE but it does not work in FireFox,What should I do ?
×
×
  • Create New...