199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Amr87

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 ( …

Member Avatar for Amr87
0
147
Member Avatar for rahim_1

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 :) ![a54048e5a3dc5ea7fadde4235b57cf9b](/attachments/large/4/a54048e5a3dc5ea7fadde4235b57cf9b.JPG "a54048e5a3dc5ea7fadde4235b57cf9b")

Member Avatar for cereal
0
304
Member Avatar for babbu

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

Member Avatar for Ketsuekiame
0
228
Member Avatar for Linddha

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 …

Member Avatar for urtrivedi
0
136
Member Avatar for ImZick

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 …

Member Avatar for broj1
0
328
Member Avatar for simmi jain

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 …

Member Avatar for pritaeas
0
425
Member Avatar for logicslab

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

Member Avatar for urtrivedi
0
456
Member Avatar for gsynr

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, …

Member Avatar for gsynr
0
176
Member Avatar for Dani

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 …

Member Avatar for Dani
0
384
Member Avatar for <M/>

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 = …

Member Avatar for ryantroop
0
318
Member Avatar for daniel.conlinjr.1

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 …

Member Avatar for ryantroop
0
96
Member Avatar for diaafayed

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

Member Avatar for brite_a
0
230
Member Avatar for Suzie999

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 …

Member Avatar for Ancient Dragon
0
543
Member Avatar for tqmd1

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; …

Member Avatar for Airshow
0
170
Member Avatar for Salman Bukharii

<?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( …

Member Avatar for broj1
0
146
Member Avatar for Gribouillis
Member Avatar for petter.parker.37604

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 …

Member Avatar for vmanes
0
399
Member Avatar for mrmodest34

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 …

Member Avatar for meta.quota
0
513
Member Avatar for CJMW

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 …

Member Avatar for meta.quota
0
273
Member Avatar for Ahtsham
Member Avatar for richieking
0
282
Member Avatar for muhammadnasiri

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 …

Member Avatar for deceptikon
0
298
Member Avatar for erum.saeed.75
Member Avatar for pelle12
0
173
Member Avatar for RikTelner

<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.

Member Avatar for RikTelner
0
87
Member Avatar for Pia_1

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){ …

Member Avatar for dev90
0
198
Member Avatar for kirtikesh

i want to use a bitmap file from my computer in c++. i just dont know the code. can anyone help????

Member Avatar for meta.quota
0
205
Member Avatar for suavedesign

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 …

Member Avatar for Ritesh_4
0
125
Member Avatar for <M/>

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 …

Member Avatar for dev90
0
323
Member Avatar for rohan21blade

**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(); …

Member Avatar for JamesCherrill
0
295
Member Avatar for mbarandao

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 …

Member Avatar for mbarandao
0
203
Member Avatar for dougy83

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 …

Member Avatar for dougy83
0
13K
Member Avatar for driazi

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 …

Member Avatar for driazi
0
383
Member Avatar for angelina_1

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...

Member Avatar for Gribouillis
0
387
Member Avatar for <M/>

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.

Member Avatar for dev90
0
164
Member Avatar for Kniggles

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 …

Member Avatar for Kniggles
0
195
Member Avatar for Chrisadams

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, …

Member Avatar for Chrisadams
0
1K
Member Avatar for Kniggles

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.

Member Avatar for cereal
0
176
Member Avatar for moudy.mak

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 ?

Member Avatar for meta.quota
0
2K
Member Avatar for Junior_1

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 …

Member Avatar for meta.quota
0
321
Member Avatar for [V]

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 …

Member Avatar for snippsat
0
195
Member Avatar for ismail123

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?

Member Avatar for diafol
0
54
Member Avatar for Builder_1

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..

Member Avatar for Ancient Dragon
0
703
Member Avatar for RikTelner

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 …

Member Avatar for cereal
0
282
Member Avatar for nay.htet.1481

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 …

Member Avatar for stultuske
0
232
Member Avatar for annyangel

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() { …

Member Avatar for pelle12
0
146
Member Avatar for bilal.saim

<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

Member Avatar for pelle12
0
192
Member Avatar for RikTelner

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?

Member Avatar for RikTelner
0
387
Member Avatar for heftytest

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 …

Member Avatar for rubberman
0
231
Member Avatar for alina.nazchowdhury

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 …

Member Avatar for Minimalist
0
194
Member Avatar for varun gaba

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...

Member Avatar for patk570
0
169
Member Avatar for shwetha R Adiga

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.

Member Avatar for rrashkin
0
156

The End.