199,114 Archived Topics
Remove Filter ![]() | |
I have this array Array ( [0] => Array ( [post_category] => cat-1 ) [1] => Array ( [posts_count] => 33 ) [2] => Array ( [cells_num] => 1 ) [3] => Array ( [grid_num] => 0 ) [4] => Array ( [post_category] => cat-2 ) [5] => Array ( … | |
hi all.. i am having an problem during mysql installation..hopefully you all can give me advice and solution on how to solve it...below is the image of screenshot that i take.please help :)  | |
I have created an application in c#. Following are my concerns. 1) create setup file which includes the ms access db 2) identify the location where this db will be stored 3) use this location as the data source for the application | |
i have 3 table with different structure.. * article (content of only text) * download (content of text,file and image) * market (text, image) i want to show the search result from those table together but with different style (only text, or image, or both) but when i use UNION … | |
Hi i have input type text as date with a value of "2013-12-25" and i have a database with a field of month and a value of (December) and Year (2013). How can i convert the value of (2013-12-25) to a string of December and Year so i can use … | |
hi all, I need one help.i want to give OCA exam the name and number of exam is "1Z0-047 Oracle Database SQL Expert" these is for "10g".But i don't have any material for that.please send me the material for that. only i know the exam topics which i am send … | |
Dear pals, I am searching a payment gateway which can do Credit/Debit/Internet banking in a single system. Do you know any thing in current existing system . Let me know and advise Thanks anes | |
Hi...All I am new to Ajax in PHP and trying the below code which works fine in Google Chrome but not works in IExplore.. Thanks in Advance <script language="javascript"> function showTeh(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, … | |
I'm having a brain fart and for some reason it's not coming to me how to do this right now. I'm trying to tally up a table, and store the results in a different table. Like so user score ---- ----- 1 4 1 5 1 2 2 1 2 … | |
I need help with the queries I wrote and I don't understand what is wrong with them? Can someone help me correct them? #11 SELECT BOOK_CODE, TITLE, PUBLISHER.PUBLISHER_CODE, PUBLISHER_NAME FROM BOOK, PUBLISHER WHERE PUBLISHER.PUBLISHER_CODE = BOOK.PUBLISHER_CODE ORDER BY PUBLISHER_NAME; #12 SELECT BOOK_CODE, TITLE, PRICE FROM BOOK, PUBLISHER WHERE PUBLISHER_NAME = … | |
if run to a delemia when im out of the hosue and not near a net work i want to be able to run on local, but i dont want to have to change the credientials is there a way i can have it try one and if it snt … | |
How to create a global "C#" class for data base connection such that ? 1. all classes and controls can handle. 2. remian all session untill the main from of an application closed. 3. disconnect from the server when closing windows Form application | |
Hi daniwebbers. I've been hearing a lot about Qt when searching for a library to ease my pain of creating GUI's with native windows API. I'm hoping folks here might be able to offer some sage councel before I do something irreversible to my IED environment (vs 2010) that I'll … | |
Sir, I am using these codes. <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript"> function checkEmail() { var email = document.getElementById(xemail); alert(email); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (!filter.test(email.value)) { alert('Please provide a valid email address'); email.focus; return false; } } </script> <tr> <td width="40"><label>Email</label></td> <td width="40"> <input type="text" name="email" id="xemail" value="<?php echo $myemail; … | |
<?php //////////////////////////// ////////////Kharcha Section //////////////////////////// $kid = 0; if(isset($_POST['kharcha_btn'])){ if(!empty( $_POST['karaya'] ) && !empty( $_POST['custom'] ) && !empty( $_POST['store-fees'] ) && !empty( $_POST['market-fees'] ) && !empty( $_POST['commision'] ) && !empty( $_POST['mazdoori'] ) && !empty( $_POST['wapsi-khracha'] ) && !empty( $_POST['munshiyana'] ) && !empty( $_POST['daktar'] ) && !empty( $_POST['kham-bekri'] ) && !empty( … | |
| |
Hello, Friends, I am new to Programming. I write program on dev c++. #include <iostream> using namespace std; int main() { char name; cout<<"Enter your name"; cin>>name; cout<<"Name"<<name; return 0; } Now when i execute this program and give input Qaisar it displays Qaisar And if i input full name … | |
I have written this code to variably test Prim's algorithm and I am timing it using clock(). For some reason it always returns 0 as its running time. I have other code that I have used this exact implementation in and they are returning the currect running times. The code … | |
So as part of my computer science course, we have been instructed to build an encryption process. I have a good knowledge on different encryption methods (RSA for example), however I am having a hard time trying to create my own. Now, before anyone says it, I know, using homebrew … | |
| |
in my program, in insert function: void apple :: insert(string s, int a) { node *ptr; ptr = new node; strcpy(ptr->name, s); ptr->price = a; ptr->next=head; head=ptr; } this is acctually i want to do strcpy(ptr->name, s); but error is: cannot convert std::string {aka std::basic_string<char>} to char* for argument 1 … | |
I need suggestion for my Final Year Project(Web programming)! | |
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script type="text/js"> $(document).keydown(function(e){ if (e.keyCode == 37) { alert( "Left"); return false; } }); </script> How to make this work? I am using Firefox and don't I get this working. | |
I have attached data.txt file with contains all of the employees data. The problem is when I login, it would only read one record. Here's my code: #include <stdio.h> #include <conio.h> #include <string.h> #include <stdlib.h> int login(); void displayWelcome(); main(){ int result; do{ system("cls"); result = login(); if(result==1 || result==2){ … | |
i want to use a bitmap file from my computer in c++. i just dont know the code. can anyone help???? | |
I am designing a parallax website. My url is http://www.chailifeline.org/events/letourdesimcha/index2.php For the first background image, I would like it to take up 100% of the browser at all times. if i set it to have a background-size:100% 100%; i get the effect i want, but the image is distorted. if … | |
This is a code that I wrote and for some odd reason it doesn't count the number of inputted integers properly. import java.util.Scanner; public class IntegerCount { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter an integer, the input ends if it is 0: "); int … | |
**HEre is my checkout.java** index LCval = new index(); final String LCnum = LCval.getVal(); JButton btnNewButton_1 = new JButton("Finish"); btnNewButton_1.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { try{ int bal = 0; Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String connectionURL = "jdbc:sqlserver://ROHAN\\SQLEXPRESS;Database=sys;user=rohan;password=rurouni;"; Connection con = DriverManager.getConnection(connectionURL); PreparedStatement pst =null; ResultSet rs = null; //Statement st=con.createStatement(); … | |
Hello All: I am using a div to simulate a checkbox effect; thus, with each click of the div, my jquery displays a different option (in my case: whether the user wants to select a Monthly or Yearly Subscription). The Jquery code: $(document.body).ready(function () { $(function () { var main_obj_id … | |
Hi all, Does anyone know how to quickly (i.e. O(log n) time) insert items into a sorted list? I'd prefer an existing working function if available; I didn't see any appropriate ones in boost or stl. Some background: I'd like to keep a constant sized sorted list, and insert items … | |
Hi, can anyone solve my problem in c# .net 2012 ? when i run my project the compiler fails to compile in line 27 -->(GetDataTabletFromCSVFile Function) and shows me 4 errors as following : 1- Error 3 The type 'System.ComponentModel.IListSource' is defined in an assembly that is not referenced. You … | |
hello, i just want to find difference between two dates interms of days by getting dates as a user input. i tried getting user input using raw_input but it shows some erroe message. can anyone tell me the right coding for this one.urgent please... | |
Is this correct? I wrote a decimal format and it doesn't work. how do i correct this: return sum / myFormatter.format(Math.sqrt(x.length - 1)); I will submit the full code if needed. | |
Hi All, Am trying to send the same e-mail to 2 addys with one click with out using the cc or bcc , this is the line i am syuck on $email = '$_REQUEST['email'],$_REQUEST['email2']' ; it works if i do not add the 2nd email request to i am guessing … | |
OS:windows 8,compiler:g++,mysql version:5.6 //bookshop.cpp #include <my_global.h> int main() { return 0; } //bookshop.cpp //Makefile CC = g++ LIBS = -L"C:\Program Files\MySQL\MySQL Server 5.6\lib\" -lmysqlclient INCLUDES = -I"C:\Program Files\MySQL\MySQL Server 5.6\include" all:bookshop bookshop: bookshop.cpp $(CC) -fpermissive -o bookshop $(INCLUDES) bookshop.cpp $(LIBS) //Makefile error: In file included from C:\Program Files\MySQL\MySQL Server 5.6\include/my_global.h:68:0, … | |
hi can anyone see why this is not working please ? `mysqli_query($con,"UPDATE goodship SET brick=brick+1 WHERE id= $_COOKIE['id']");` all i am trying to do is add one to the sessions id col brick, thanks. | |
I need the way for allow users input text by writing , while users input text they see what's they input when user press enter jump for next line and when user end press on button to finish ? | |
hello! i want to add 3rd party EXE into form. but problem is i think it almost impossible to change without using dll injection . before i was try several method but all failed. actually i was try with vb or vb.net because i almost don't know c++ but vb … | |
The text I have: > Amiloride-sensitive cation channel, ASIC3 (also called BNC1 or MDEG) which is an acid-sensitive (proton-gated) homo- or hetero-oligomeric cation (Na+ (high affinity), Ca2+, K+) channel. It associates with DRASIC and ASIC1. It mediates touch sensation, being a mechanosensor) (lead inhibited) (Wang et al., 2006). In pulmonary … | |
I've created a View called 'Other member's which I only want to be displayed to logged in users. Is there a way where I can add this as a menu item next to 'View'and 'Edit'? how can i do this one for Drupal? ![]() | |
my problem is that how can we intialize a string using cin in output console like this. eg. My class is very good through cin...as the spaces put the null character so only first alphabet is initialized....kindly someone give me solution.. | |
Hi there. I was kinda researching on how I could store data at best (in my opinion). I came on "CSV" files. Which looked great to use. I found out there are two functions that can operate file. So I keep Googling on how to use the syntax and how … | |
I learn Java programming language. I have a .exe file that was produced with lunch4j. I can easily run that application in my computer but I can't run it in other computer. I got error ""Window can't access the specified device, path or file, you have the may not have … | |
dear all, i have a code in php class. through that code plz help me to solve my problem. in the below code why we use $this->message .. can't we use $message under constructor? plz pl ztell me thanks **myClass.php** <?php class myClass { public $message; public function __construct() { … | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layoutExsternal" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" > <ScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" android:layout_alignParentLeft="true" android:layout_alignParentTop="true"> <TableLayout android:id="@+id/MineField" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="start" android:layout_span="3" android:gravity="top" android:padding="1dp" android:stretchColumns="*" > </TableLayout> </ScrollView> </RelativeLayout> I want to add horizontal scrollview for tablelayout.Because it overflow on horizontal | |
I downloaded this: http://www.php.net/downloads.php The first one. I have read this: http://stackoverflow.com/questions/4301975/how-can-i-run-a-php-without-a-web-server So I thought answer on StackOverflow would be perfect. It looked so. But when I "untared" I saw no **php.exe** in the folder. How this can be? | |
I was wondering what DIM means in psuedocode? I ran across this in my research and I can understand everything except for the DIM and it would help a lot if someone else could let me know what this means. I am working on the simple array process and having … | |
How to save a text information with the formatting italic, bold, underline, small, medium, large? I have a menu, from where I can Save the text as a file, Open a file in my text editor, Exit from my program, but I don't know the coding for Saving and Opening … | |
hey i am facing a problem in sorting the post.I want that when a user click on **NAME** button then all post display by name.Then if user want to print the post by the latest date.Then it click on **DATE** button.How is it possible .what will i do in wordpress... | |
can you please help us how to apply numerology for any text document in python and say whether the given text file is optimistic or not depending on the numerology applied. |
The End.