Search results

  1. anuj_web

    PHP MySQL HTML generating tables... after..fetching recods

    buddy , i am succesful in getting the record now.. from the code i mentioned in the previous post but the problem is i cannot go to the next record in the resultset :( how to navigate to the next record in the resultset using a for loop or nething and can u tell me in case my table...
  2. anuj_web

    PHP MySQL HTML generating tables... after..fetching recods

    Sorry for that... I tried mysql_fetch_array ok..i modified the code a little bit ..now what it did was repeat the same row again..instead of giving the next row from the resultset $arr = mysql_fetch_array($result); $num_results = mysql_num_rows($result); for ($i=0; $i <...
  3. anuj_web

    PHP MySQL HTML generating tables... after..fetching recods

    Hi, I am trying to generate an HTML table from a MySQL table using PHP $arr = mysql_fetch_rowsarr($result); $num_results = mysql_num_rows($result); for ($i=0; $i < $num_results; $i++) { $d=explode("-",$arr[$i+1]["dob"]); $dd=$d[2]...
  4. anuj_web

    Word Wrap in html tales ??

    The problem with this code is that when we use '.row['fieldname'].' dont you think the echo command will use the ' inside the brackets as its parameters ..i mean I started the echo command with a single quote I have just gone thru the manual..it was just wat i wanted thanks a ton
  5. anuj_web

    Word Wrap in html tales ??

    Hi, thanks all for replying the above code is working just fine.... I know i am going just a bit offtopic.. but can you help me with this code I want to generate a dynamic html table from a mysql query resultset $num_results = mysql_num_rows($result); for ($i=0; $i <...
  6. anuj_web

    Word Wrap in html tales ??

    Re: Word Wrap in html tables ?? Sorry for that spelling mistake also.....(tales) Actually ,right now I am unaware of CSS as such and cant put my time learning or messing with it... if there is an alternative then please point it out....or else if CSS code is a one liner then please guide...
  7. anuj_web

    Word Wrap in html tales ??

    Word Wrap in html tables ?? Hi, how can i do the same..please if not is there an alternative..without CSS please thanks
  8. anuj_web

    Website images problem

    Most people use 800x600 or 1024x786 make ur webpage in the above two resolution and put a msg that ths page is best viewed in....... I have tried this on my website ..
  9. anuj_web

    Javascript code not working as required..

    Hey woiwky thanks 4 that one ....it just did not com2 my mind , lolz document.frmchgpwd.login.type="button" ; well this code here gives an error in IE(cannot access type method ) but not in opera (works as intended)
  10. anuj_web

    Javascript code not working as required..

    In my website i navigate a person from his profile to another page where he enters his old ,new password and retypes his new password.. I used a variable count to count the no of failed attempts...it is just not working... function chngepwd() { if(count>3) { alert("Number of attempts...
  11. anuj_web

    Disable Renavigation to same page ??

    Hi, How can i disable a person from coming back to a page where he has worked lastly...atleast show a msg and not the actual page content using Javascript or PHP... can i use an html code in b/w javascript to do this ?? <meta http-equiv="Refresh"...
  12. anuj_web

    Website images problem

    One method i read somewhere is to use a table or a form/frame and move all controls into it. that way even if the screen resizes the frame/form/table wont so you can center the frame/form/table into the webpage . But this way problem arises when accessing the control using code..
  13. anuj_web

    PHP MySQL Question..

    Hi, @ iszanto, brother that is not possible nehow... I found out a way to do that.... Please i have another webpage to design in which I have to show some search results.(probably thru a list )...(dynamically generated html page using PHP) When a user cliks on a link corresponding...
  14. anuj_web

    HTML question

    Hi @verbsite your method is smaller I tried it But I use PHP to generate the page..... an error is popped mayb because of the single quote used...... @marshian thanks for your reply bro thanks a ton
  15. anuj_web

    HTML question

    How can I have two submit buttons in the same form submitting to two different php files?? I use this code..it is not working Actually ,i generate the html page containing this code using PHP <input type="submit" id="Button1"" name="Button2" value="UPDATE"...
  16. anuj_web

    PHP MySQL Question..

    hmmm.. well actually i have 3 kinds of users so i cannot have a common profile page :( ,i'll have to make a separate profile page for each ... thanks for the suggestion
  17. anuj_web

    PHP MySQL Question..

    Hi In my website , I have a login page after logging in the user goes to his profile...where he can change his details and then he is redirected to the same page with the changed details.... I am thinking of using an html page to show the profile details at first then direct it to a php...
  18. anuj_web

    Website images problem

    I think the above code resizes the window...:( dunno fo sure i'll try the code on ma sysrem and them reply..or mayb u can do that even before i start typin' :D Hey i think this code works on the content <img src="image.jpg" onload="this.width=getWidth( 150...
  19. anuj_web

    Website images problem

    I use raw html.. how to do this ?? btw I found this useful link.... http://techjunk.websewak.com/handling-screen-resolution-issues-in-javascript/ I think it'll help
Top