199,112 Archived Topics
Remove Filter ![]() | |
Hi I have created many tables in database. Now when i used to create new table that's name may already exists. So, before creating new table i must know which table names are already exists in my database. And for that i want to display all the tables created in … | |
Help me please I have a table with 9 columns After Column5, I want to have two rows in row1 = (Qualification) in row2, there are for columns(Ed, Tr, Ex, El) Thank You. <td rowspan="2"><b>Col5<b></td> <tr><td colspan="4"><b>Qualification</b></td></tr> <td><b>Ed</b></td> <td><b>Tr</b></td> <td><b>Ex</b></td> <td><b>El</b></td> | |
Greetings, Is it possible to make a Tooltip show a picture ? Like if i hover my mouse over a label as for example a small cut of a picture is shown ? | |
Hi i have a menu in an include php file: <div id="menu" > <?php // include functions include_once('includes/functions.php'); // array to hold top menu $top_menu_items = array( 'index.php' => array('text' => 'Home'), 'about.php' => array('text' => 'About'), 'contact.php' => array('text' => 'Contact') ); // call the function that draws the … ![]() | |
Write a program that does the following: a) creates an array of user specified length of random integers between 0 and 100. b) allow user to print array in ascending or descending order. c) allow user to search for specific int value (you can use your code from part 2) … | |
Hi there, I've lost my password and username and am trying to log in using sysdba. It doesn't log me in and I would like to retrieve my username and password without re-installing the software. IS there a way of doing that?> | |
can anyone please help me out with creating simple screen editor using graphics functionality in c language. | |
hi everyone i need your help in making course timetable algorithm in php? | |
I need help to write a project proposal for traffic light implementation project in c++ | |
Im trying to get this working but my if statments dont work or am i just doing them wrong ? cout << "You see a house, what do you do?\n1. Run away\n2. Walk inside" << endl; cin >> Input; if (Input == "Run away"){ PowerLevel_Final = PowerLevel_Final - 9036; cout … | |
Is there anyone here know about any software that could make sofware from binary code ? I like to program directly in machine code because I'm not well in learning those high level programming language. But I can't find any soft that could compile binary code. If you know, please … | |
I am fairly new to asp.net, I am trying to connect to a sql (mysql prefferably) database, it must be using C#. I have been searching all of yesterday and today, I cant figure out how. Could someone help me here (if this has been asked, please point me to … | |
I am having trouble with this code: This is the init.inc.php file <?php //init.inc.php file session_start(); $exceptions = array('signup', 'login', 'index'); $page = substr(end(explode( '/', $_SERVER['SCRIPT_NAME'])), 0, -4); // SQL stuff. mysql_connect('SQL host','username','password'); mysql_select_db('database name'); include('user.inc.php'); //$_SESSION['uid'] = 1; if (isset($_COOKIE['username'], $_COOKIE['password'])){ if (valid_credentials($_COOKIE['username'], $_COOKIE['password'])){ $_SESSION['username'] = htmlentities($_COOKIE['username']); setcookie('username', $_COOKIE['username'], … | |
Hi, I am trying to create a jquery fadeIn from an external file. I am using AJAX and PHP (see below) 1st snippet is the notify.php file. 2nd snippet is the external file called random.php My question is: Where and How should I add in the Jquery to perform this … | |
Are there any open source/free to use, commonly updated... either dumps or APIs that will let someone have zip codes and addresses validated? Think monster.com or careerbuilder.com's location search, or something similar. Thanks Ryan | |
Im a newbie in PHP and I want to create a simple webpage app for my website, I was able to produce this page base on a tutorial here. <?php $con = mysql_connect("localhost","*****","*****"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("*****", $con); $result = mysql_query("SELECT * FROM … | |
1. Write a program to compute the annual rate of return on an investment. The program will ask the user for the original purchase price, the number of days the investment was owned, and the final sale price. The program must then print out the difference between sale price and … | |
I'm trying to open a tex file from within python, tell the tex editor to run (manually you would press ctrl + T) and finally close the program. So far I can only figure out how to open and close the program. this is what I have so far... os.spawnv(os.P_WAIT, … | |
Hello, I want to set the default backgournd color to transparent but getting white color when i set it to transparent please check the line 26 ( **defaultBgColor: '#e5e5e5**') and 143 ( **backgroundColor: settings.defaultBgColor** ) of my code and please fix it for me please thanksss (function($) { var methods … | |
hi guys I wanted to ask if you can find a better way of simplifying my code. I have an if condition for a registration form filled with of course many textboxes that is needed to get the details of a certain user, if a certain textbox is empty it … | |
Hello everybody, I have a login page which uses sessions to go to different pages and still allow the user to login when he returs to the initial logi.php page, but now I have implemented the different languages and I realize that whenever I hange the language (which is also … | |
Please help me..I've the following code and I entered an account number in bank account number field but in database was changing the value. what's wrong? My input in bank account number field is :112046067391 but the output is :2147483647 In database I set it to int(20) but still the … ![]() | |
Hello! I was trying to display/print elements of a list, suppose a = [1,2,3,4,5], using functions. But the code i wrote prints only the first element of the list whereas i needed all the elements of the list to be printed( as in 1 2 3 4 5 but all … | |
My program on compound interest gets compiled fine but it won't display anything . Yesterday When I created a new class and tried to run a simple for loop , the same thing happened . But when I tried to run the same for loop in a previously made class … | |
My PHP script can fetch content from a div id, but what is the way to filter this fetch data and exclude some of its content which has this div id `<div id="navbar" class="n">content here content here</div>` I have tried with this code but its not working $regex = '#\<div … | |
I made this program which had to calculate the Largest Palindrome which being the product of two 3-Digit Numbers. My Program : #include <iostream.h> #include <conio.h> int reverse(int num) { int rev=0,mod; while(num) { mod=num%10; num=num/10; rev=(rev*10)+mod; } return(rev); } void main() { textbackground(WHITE); textcolor(BLACK); clrscr(); long a,b,c,r=0,d; for (a=999 … | |
I have a data grid view and trying to compare data in coloumn 4 with coloumn 6 when data is entered in coloumn 6. but comparision is not happening . How to achive this. my code Private Sub DgvAllocate_CellLeave(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DgvAllocate.CellLeave Crno = … | |
I'm new to PHP and was given a code snippet that looks like this: { $DB = new DB('xxxxxx','oooooo','gggggg'); $return_result = false; $this->clear_data(); $m = new xmlrpcmsg( 'ldapxml.authorize' , array( new xmlrpcval($user_name, "string") , new xmlrpcval($password, "string") ) ); // this is just a temp server for now $c = … | |
can i know how to create a system using addition,multiply,subtracton and division? | |
hi, i am new to jquery though im learning,together with ajax. I have the following script that displays a modal login form after cliking on login_link. But for my web page, i used the .load to load content in the main content div, so whenever this code is placed the … | |
Hello, I am having trouble with this custom admin panel. It is pretty simple, it has an admin login page, an index page , and a page where you can Add and Delete invetory items ( <--this one is the one with the problem ) Everything was working okey, I … | |
Can anyone help me with my program? I am making Tic-Tac-Toe and I am stuck. Here is all of my code that I have done so far.... . . . This is called design_of_board.h #include <iostream> #include <string> #include <Windows.h> #include <conio.h> #include <ctime> #include <vector> #include <algorithm> using namespace … | |
![]() | float* values = calloc(m*n, sizeof(float)); float** rows = malloc(n*sizeof(float*)); for (int i=0; i<n; ++i) { rows[i] = values + i*m; } What is this code trying to so ? Can you explain me the first 2 lines in detail ? I am not getting it. thanks. |
Hi everyone! My questions for the day are: Has anyone here used Wakanda studio/server to make a native app for smartphones? if yes or know anything about it, Give us an insight please. Do you know any free and easy to use studio that lets you develop native apps using … | |
![]() | Hello, I am having some trouble in importing a CSV file into an array. The CSV file has multiple columns, and what i really wanted to end up doing is getting the element inside each block of the CSV file. So far i've only been able to get a row … |
Hello, I have been creating a website using a content slider (malsup's Cycle). When you first load the site it looks fine, but then if you click the home link, its shifting to the left hand side of the page, and clicking the arrow buttons makes it format really oddly. … | |
I have read many articles here, but haven't quite found the solution. I have a SQLEXPRESS database that is used by my VB.NET application. I have packaged and deployed the application via an MSI file and everything works great except I cannot figure out how to include my database file … | |
Can anyone help me with jquery ui selectable please? My html is: [CODE] <input style="" id="input_4" name="input_4" value="" /> <ol id="selectable"> <li class="ui-widget-content">Reservations </li> <li class="ui-widget-content">Information and Enquiries</li> <li class="ui-widget-content">Mambo Tours & Events</li> <li class="ui-widget-content">Press, Marketing & PR</li> <li class="ui-widget-content">Business Development & Franchise</li> <li class="ui-widget-content">Mambo TV & Livestreaming</li> <li class="ui-widget-content">Mambo … | |
Hi Geeks, i have declare Char *a type variable and i want to fill data in a[0][n], a[1][n], ... a[max][n]. below is my code snippet which i'm facing build error while initializing. I'm getting build error as ".....subscript requires array or pointer type " ......... char *a; a = (char*)calloc(3,sizeof(int)+3);//trying … | |
how to convert from UDP to TCP? For example I'm used this code for UDP: Socket peer1 = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); UnicodeEncoding coding = new UnicodeEncoding(); byte[] pp = coding.GetBytes(ping); peer1.SendTo(pp, receiverIp); peer1.SendTo(txtBuf, txtBuf.Length, SocketFlags.None, receiverIp); How to write it use TCP protocol??? Because my code is large, I … | |
hey guys, im trying to change a menu items color, if a user was on the members section, the member menu icon would be a different colour to the other menu items etc. initially the menu item <li> has no css class assigned to it, but once they visit a … | |
Hi there! I'm new in JavaScript - I have a few button that i want to change their background image when i click them. What am I doing wrong? This is my code: <script type="text/javascript"> function Seat_OnClick(control) { var selectedImg = "url(../images/selected_seat.jpg) no-repeat transparent"; var deselectImg = "url(../images/normal_seat.jpg) no-repeat transparent"; … | |
need simple code vb.net code tht uses issue date and return date to calculate fine but doesnt use datetimepicker tool.. | |
Hi everyone, I had Oracle working perfectly fine and was able to connect to 127.0.0.1/apex . After a fresh re-install, I couldn't access the page. I can manage to log into oracle database by using SQL command line. I'm running Oracle 11g express edition. The message I get when I … | |
Hi, i am trying to store some values into a database, but upon trying to add i am getting a "Column count doesn't match value count at row 1" i believe i am passing something incorrectly but was hoping someone could point me in the right direction i have included … | |
Hello everyone, I am trying to build a inventory ans pos systeme with Ms-Access as database and VB 6.0 programming. I got stuck in one place again. What I want to do is trying to print out the codes and price of the products. In this form, I have a … | |
This is error its throwing : javax.servlet.ServletException: /dtl.xhtml @13,75 value="#{registerBean.reteriveData()}" Error Parsing: #{registerBean.reteriveData()} javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) dtl.xhtml <h:dataTable value="#{registerBean.reteriveData()}" var="rb"> <h:column> <f:facet name="header"> <h:outputText value="Model" /> </f:facet> <h:outputText value="#{rb.fname}" /> </h:column> </h:dataTable> registerBean.java public List reteriveData() { Connection con = null; List list = null; try { DBConnection db = new … | |
I have a 2D array and i am trying to look for Similarities in the data, via number patterns. For Example: 1) 3,4,5,6,7 2) 1,4,8,23,56 3) 14,15,16,34,45 Now what i would like to do is search this array to find patterns like in example 1. it goes 3,4,5,6,7 or in … | |
how to open jsp page in browser without starting NetBeans? ie how to run localhost file? | |
Hi, I wanted to create an online coding competion. Does anyone no how to go about it? I also want to apply time limits to the coding challenges. There are some existing tools but I need to create a some new features. Can anyone tell me how to start? Thanks |
The End.