62 Posted Topics
Hello I have designed a website in which users can create their account and then add or delete their likings, favoorite songs, what i want is that i want them to be able to arrange their likings by moving up and down. for this i need a procedure for swapping … | |
Re: Check out [URL="http://www.softpedia.com/progDownload/Apache2Triad-Download-82218.html"]Apache 2 triad[/URL] | |
Re: Instead of while use a do while loop it will automatically fix the problem. And also remember it is a good practice to use do while when displaying data from database. ![]() | |
Hello, I have designed a website which let the users create account and use our services, my client asked me to design a page which will show all the online members at that time, the solution i have figured out is that i have create a column in my user … | |
Re: [QUOTE=anuj576;671457]hey guys, I have made a database using mysql and php. I have also put in a search option. But what i want is that if the item which is being searched for is not in the databse it should return "Database Not Found". I am not able to execute … | |
Re: try [CODE]<script language="javascript" type="text/javascript"> function foc(){ document.getElementById('textfieldid').focus(); } </script> <body onload="foc();"> [/CODE] | |
Re: try [CODE]$dat = mysql_query("SELECT * FROM table"); $data = mysql_fetch_array($dat); do { if($data['text']==""){ continue; } echo $data['text']; } while($data = mysql_fetch_array($dat)); [/CODE] text is the field which you want to check if it is empty or not. | |
Hello, I have designed a website that has some things for only registered users. I have javascript to hide these object if the user is not logged in using <body onload="a();">. But the problem is that when the page loads these items show up for a while and then hide … | |
Hello I am facing a problem in my website development, I am using a html text area on my web page which is used to fill a field in database. The problem is that when I submit the text it converts the multiline text into single line. e.g Hello, I … | |
Re: Dear Rleeq! This usuallu happens due to virus which arrived almost a year ago but that's not the only reason for that it can be caused by the error in some hardware especially ram try changing your ram or try defragmenting your hard drive also make sure that if some … | |
Re: try this code void reset(int *board) and in calling reset(arrayname) in passing by raference we pass the address to the function as we do it in pointers i hope it will work. you can not pass the reference of array because it gives error if you want to pass it's … | |
Please help me in doing this problem in C++ without filing ______________________________________________________________________ [code=cplusplus] #include<iostream.h> #include<conio.h> #include<stdio.h> #define min(a,b)((a)<(b)?(a):(b)) int a[6000]; main() { file*input=fopen("number.in","r"); int n,p2,p3,p5,p7; a[1]=n=p2=p3=p5=p7=1; while (a[n]<2000000000) { a[1+n]=min4(2*a[p2],3*a[p3],5*a[p5],7*a[p7]); if (a[n]==2*a[p2]) p++; if (a[n]==3*a[p3]) p++; if (a[n]==5*a[p5]) p++; if (a[n]==7*a[p7]) p++; } { fscanf(input,"%d",&n); if (n==0) break; printf("the%d",n); if … ![]() |
The End.