64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for RikTelner

array( "bullony" => "one", "mcwhat" => "two", "daniweb" => "yay" ) How to use this data to say for example `bullony has variable one` or `mcwhat has variable two` or `daniweb has variable yay`. How do I get name of array listed? I know I could use `print_p();` but it …

Member Avatar for RikTelner
0
238
Member Avatar for sudharshan9xweb

<?php include_once('includes/configuration.php'); if(isset($_POST['add'])) { if($_POST['student_id'] == "") { $message = 'Please Enter Srudent ID'; } else { $student_id = $_REQUEST['student_id']; $date = $_REQUEST['date']; $free_indoor_play = $_REQUEST['free_indoor_play']; $rhymes_session = $_REQUEST['rhymes_session']; $language = $_REQUEST['language']; $snaks = $_REQUEST['snaks']; $concept_gk = $_REQUEST['concept_gk']; $maths= $_REQUEST['maths']; $music_movements = $_REQUEST['music_movements']; $story_time = $_REQUEST['story_time']; $free_outdoor_play = $_REQUEST['free_outdoor_play']; $child_health …

Member Avatar for diafol
0
113
Member Avatar for rbyrd

Does anyone know where I can download Python source code for Graham's convex hull algorithm? C and C++ code seems to abound, but I need Python code, and specifically for Graham's method (not Jarvis or others). Thanks in advance.

Member Avatar for dashing.adamhughes
0
162
Member Avatar for lulu79

hi, I have a Gridview like below: ![Gv3](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8zL0d2My5KUEc%3D/283 "align-left") What I want is: 1) User can click at **LINE** column, for example user click at **M23** and it will redirect to other page. 2) At the other page, it will display something like this: **Please insert countermeasure for M23** where …

Member Avatar for DeepKiran
0
744
Member Avatar for mixelplik

I'm trying to run a binary sort that sorts through a list of randomly generated numbers, but for some reason isn't working. It will usually tell me if the highest or lowest numbers are in the array, but acts like a spaz on the middle ones. I keep fiddling with …

Member Avatar for vmanes
0
214
Member Avatar for kit007

Hi all; I just edited the oci8_driver in codeigniter and added the oci_bind_array_by_name since it was not included. But my codes does not work.. Hope somebody out there can help me. oci8_driver function for store procedure private function _bind_params($params) { if ( ! is_array($params) OR ! is_resource($this->stmt_id)) { return; } …

Member Avatar for kit007
0
430
Member Avatar for scheppy

Hi all. What im trying to accomplish is to get strings from within a string. These strings are seperated with "//*//" an example would be String ExampleString = ("//*//helle//*//goodbye//*//1965//*//this is an example//*//the end"); then I would like to seperated into seperate strings. hello goodbye 1964 this is an example the …

Member Avatar for scheppy
0
291
Member Avatar for flebber

What I am trying to do is delete the key value pairs out of a dictionary if the value is = 0. I seem not to be acheiving that so far. Python 2.7.5+ (default, Sep 19 2013, 13:48:49) [GCC 4.8.1] on linux2 Type "help", "copyright", "credits" or "license" for more …

Member Avatar for flebber
0
430
Member Avatar for castajiz_2

I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a event will appeaer in the code section. EXAMPLE: private void button1_Click(object sender, EventArgs e) { } Let s say i …

Member Avatar for deceptikon
0
144
Member Avatar for mpc123

HI Hope somebody can help. My query updates a colomn in tab1 from a row in tab2 but only if a colomn in tab1 is equal to that of a row in tab2. tab 1 has 360000 rows tab 2 has 477 rows The update query runs for ages and …

Member Avatar for Ewald Horn
0
235
Member Avatar for Geowil

I am in the final stages of testing a text-based game I have been working on for several years but I am running into some major problems with my database access code and some very strange problems at that. What I am attempting to do is loop through a SQLite3 …

Member Avatar for Geowil
0
1K
Member Avatar for boy2534

Hi,i have some error for some help when i try to run this code below i got this error "Syntax error in UPDATE statement." at .ExecuteNonQuery() and i try to solve it for an hours but i can't , Anyone please help me !! and i use System.Data.Oledb ( sorry …

Member Avatar for boy2534
0
160
Member Avatar for ebanbury

Hi I have an 'edit_profile' form. I'm having several issues with this form . There are some fields which are working fine and some aren't. This 1st issue is regarding the textarea fields When the user updates their profile, any field, the textarea adds characters which are bye<br /><br /><br …

Member Avatar for matrixdevuk
0
199
Member Avatar for christinetom

Hi everybody. Hope you are all well in the new year. I'm having trouble with joining two chars and displaying the output. For example Any clues as to how to do this? Thanks so much. #include <iostream> #include <string> using namespace std; int main(); { char a = 'x'; char …

Member Avatar for christinetom
0
466
Member Avatar for neha05
Member Avatar for nhrnjic6

void John_is_3D(int dimx,int dimy,int dimz) { int ***John; // pointer to pointer to pointer John = new int**[dimx]; // array of pointers to pointers for(int x = 0;x<dimx;x++) { John[x] = new int*[dimy]; for(int y = 0;y<dimy;dimz++) { John[x][y] = new int[dimz]; for(int z = 0;z<dimz;z++) { John[x][y][z]= x*y*z; cout …

Member Avatar for Ancient Dragon
0
184
Member Avatar for rpv_sen

[CODE]Hi Friends, I have written a code with some example script for generating report in PDF with PHP and MYSQL. But i am unable to fetch the data from my table. So Please help me to solve this issue. Thanks <?php $today=date('Y-m-d'); $hostname = "localhost"; $database = "bdname"; $username = …

Member Avatar for monalia
0
4K
Member Avatar for mavtcr

Hello Dear All, I have a small problem ,though seems very simple,being a newb It is difficult for me. Please Help me I have a message box VbYesNoCancel My code is here If ACRS.RecordCount>0 Then MsgBox"SALARY ALREADY CALCULATED DO YOU WANT TO RECALCULATE ?",vbYesNoCancel,"Pebble" Else CmbNdm.SetFocus End If My problem …

Member Avatar for Stuugie
0
322
Member Avatar for neha05

I am inserting the csv file into the database but it not inserting in proper way,the coloums are merged into each other,im not getting where im doing mistake .please help me in that my code`Inline <?php //database connection details $connect = mysql_connect('localhost','root','123456'); if (!$connect) { die('Could not connect to MySQL: …

Member Avatar for neha05
0
362
Member Avatar for rpv_sen

Hi I am trying to convert julian date in to date format. can any one please help me. **For Example:** Julian date - 114021 Output Should be as below 2014/01/21 - (YYYY/MM/DD)

Member Avatar for pritaeas
0
382
Member Avatar for haymen.roth.3

Background: My store procedure 'GetAtdRecord_Sp' to optionally accept parameter 'EmplID' otherwise default value is null. It works in SQl server management studio even if i provide no value as i wanted to do. exec GetAtdRecord_Sp // This works exec GetAtdRecord_Sp 23 // This works too with value. Problem: But when …

Member Avatar for pritaeas
0
174
Member Avatar for rpv_sen

Hi Friend I am trying to connect my MSSql server 2008 R2 server using php. I am getting an error as below `Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\test\connect.php on line 4` and the code is below <?php $serverName = "servername\sqlexpress"; //serverName\instanceName $connectionInfo = array( "Database"=>"dbname", "UID"=>"us", "PWD"=>"ps"); …

Member Avatar for rpv_sen
0
290
Member Avatar for missy_mi

Hello, i have created a vb project and have publish it. There is no problem in running the vb.exe in my laptop but when, i try installing the vb.exe in my friends laptop the are error, error signiture (event type : clr20r3). I tried installing visual studio in my friends …

Member Avatar for xile27
0
320
Member Avatar for Tangerinejoe

I've just completed my HTML and CSS training and practicing right now. To make all those flashy web graphics on a webpage, the interface desing,little buttons and vector images which graphic software training i should go for. I'm confused at photoshop,illustrator,indesign or fireworks. Is adobe wrapping up fireworks? What is …

Member Avatar for Stuugie
0
108
Member Avatar for Sinnocence

building my first cgi website, here is my problem. The code below works but when the condition is met it outputs both pages on the same screen however when the condition is not met it only outputs the Else: statement like its supposed too. I can't figure out why it …

Member Avatar for Sinnocence
0
240
Member Avatar for zaxo311

I'm trying to make make project for my programming class. All that's left is deleting elements and editing elements. Basicaly my question is how would I do it for my inner list? Or how would I delete single client from list? Would I first have to free the client's inner …

Member Avatar for zaxo311
0
430
Member Avatar for missy_mi

HI, I am saving my form to word document. But the result, looks too simple. How do i insert table or insert image or maybe,could change the font style and so on??.. if you can give links or tutorials..anything that could help me..i would appreciate it so much. Thank you …

Member Avatar for missy_mi
0
325
Member Avatar for CoilFyzx

Hello good day. Here is my problem: I have retrieved some a couple sets of data from my sql database and saved them in ArrayLists of (custom)types <Student> and <Subject>. I am using a single Table. I want to create a custom AbstractDataModel that displays the data from the ArrayList<Student>. …

Member Avatar for CoilFyzx
0
1K
Member Avatar for kRod

I have a question about the string.intersect method. I am not getting the results I expect. Dim lstChars1() As Char = "hello dolly" 'TextBox1.Text.ToCharArray Dim lstchars2() As Char = "help melanie" 'TextBox2.Text.ToCharArray Dim lst1 As New List(Of String) Dim lst2 As New List(Of String) For Each c In lstChars1 lst1.Add(c.ToString) …

Member Avatar for kRod
0
1K
Member Avatar for gil.nickson

hi, can you help me with my code? actually its running but the total price of products bought is not displaying, can you help me with this one? :( #include<stdio.h> #include<string.h> #include<conio.h> int main(void) { int pno, choice, product, jf=12,d=10,l=107,c=2,cf=22,n=9,b=19,ap,a,total,disc,i,ctr,nSelection; char name[50]; char cname[50]; char y; char x; float price,qty,tax,dis,bill,dprice,ttotal; …

Member Avatar for noah_2
0
285
Member Avatar for pragati gupta
Member Avatar for deceptikon
0
88
Member Avatar for Deep Modi

Hello as the title says itself. "Help", yeah correct by pressing "F1" key the Help form p[op up, same Form want to create in VB.Net, I google out then I find only that this can be done by importing any HTML File, Create the HTML File and link your Form …

Member Avatar for Deep Modi
0
243
Member Avatar for Trle94

Hey there, so i have small problem, my application has mainForm and settingsForm, so is there only possible way to get settingsForm to be started only on first time user starts application so he can configure correct configs and then after it any other starting of application user gets mainForm …

Member Avatar for Deep Modi
0
583
Member Avatar for issamsaad

Write a program that allows accepting a positive integer number n and displaying n rows as the following form: Example: n =6 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5

Member Avatar for issamsaad
0
113
Member Avatar for StephenopolousINC

Hello everyone, I am doing an assignment that requires me to create an application that manages a student records database. They gave me the option to use a GUI or console application so I am making it a console app. The task requires that we use the abstract class pattern. …

Member Avatar for StephenopolousINC
0
282
Member Avatar for rbyrd

Is there some place where I can get a list of the "named" colors (i.e., goldenrod) available in wxpython? I'm using osx 10.6.8. Thank you.

Member Avatar for rbyrd
0
697
Member Avatar for deolalkar_pooja

Hello to all, I have following simple Applet program. import java.applet.*; import java.awt.*; public class myapp1 extends Applet { Label l1, l2, l3, l4; TextField t1; TextArea t2; Checkbox c1,c2,c3,c4,c5,c6; CheckboxGroup cg; Button b; public void init() { l1=new Label("Enter your name: ", Label.RIGHT); t1=new TextField(20); l4= new Label("Enter your …

Member Avatar for deolalkar_pooja
0
253
Member Avatar for CreatorZeus

chan someone help me see this problem? its closed and everything. string notename; x = 1; cout << notename[x] << endl; if(remove(notename[x].c_str()) != 0) { perror( "Error deleting file" ); } else { cout << "File successfully deleted"; }

Member Avatar for Ancient Dragon
0
336
Member Avatar for Amr87

I have the following code that craete homepage builder setting page under the appearance tab I am saving and retrieving the option successfuly but when I am echoing them to the hidden input type values I got NULL value why is that although the saving and retrieval is ok ? …

0
88
Member Avatar for KushMishra

Hello All, I went through many websites and did not find any converter that could purely convert C# syntax to VB syntax. However there are many converters available on the Internet but personally I don't think they are pure converters. Requesting all to please suggest some online tools/converters to achieve …

Member Avatar for JOSheaIV
1
454
Member Avatar for triumphost

I have the following code for 2D dimensional arrays being flattened as 1D C-style arrays: #include <iostream> int main() { int width = 4, height = 10; int arr[width * height]; for (int i = 0, k = 0; i < height; ++i) { for (int j = 0; j …

Member Avatar for Banfa
0
996
Member Avatar for everton.retweets

Hi Everyone, I am new to PDO PHP - I am getting to grips with the insert statements with bind_param. What I am a bit confused about is how to update a table where id = $var I have an image upload script that works fine, as it uploads the …

Member Avatar for pritaeas
0
231
Member Avatar for faizlo

Hi all I am currently learning Java (and Fortran!) on my own. I have written the following code but for some reason it does not work as it should import javax.swing.JOptionPane; class evenOdd { public static void main(String[] args) { String number, ans; int num; do { number = JOptionPane.showInputDialog(null, …

Member Avatar for JamesCherrill
0
210
Member Avatar for christan

Greetings. I'm having a rough time solving this problem. this is my global dec Dim btns As Button() = New Button() {Button1, Button2} and this is my eventhandler Dim btnName As Button = DirectCast(sender, Button) Dim i As Integer btns(i) = New Button For i = 0 To btns.Length Step …

Member Avatar for hainguyen81
0
235
Member Avatar for joshl_1995

Hello Community, I have recently been having a big of a look into connecting to a database using PDO but I'm not too sure what I should stick with, the normal way to connect to a MySql database or should I start using PDO. What would be better to use? …

Member Avatar for joshl_1995
0
259
Member Avatar for peto29

from visual import * sec = arrow(color = color.cyan, pos = vector(0,0,0), axis = vector(0,3,0)) minu = arrow(color = color.red, pos = vector(0,0,0), axis = vector(0,2,0)) hr = arrow(color = color.magenta, pos = vector(0,0,0), axis = vector(1,0,0)) angle = 0 angle2 = 0 while True: rate(1000) angle = angle - …

Member Avatar for Schol-R-LEA
0
220
Member Avatar for lewashby

echo ${NUM:0:2} The above is just an example of the kind of code I'M using. I need a way to represent the end of the string. Is there a way to start from the right side of a line of text instead of the left? What I'M trying to do …

Member Avatar for cfajohnson
0
203
Member Avatar for Violet_82

Hello guys, I hope you can help me with this. I have read a bit about GUI and now I am trying to do a few exercises to consolidate what I have read. In the first exercise I have to reproduce a simple GUI. Well I thought it was simple… …

Member Avatar for Phaelax
0
463
Member Avatar for timetraveller1992

I'm trying to get the date to work properly. The time is 5 pm (1700 hours) now i.e. evening but it always says morning. Here's my code currenthour="$(date "+ %-H")" echo $currenthour if [ $currenthour -gt '12' ] && [ $currenthour -lt '16' ]; then currenttimeofday="Afternoon" elif [ $currenthour -gt …

Member Avatar for cfajohnson
0
183
Member Avatar for rbyrd

I am trying to learn wxpython, but having trouble laying out two buttons that I want to be centered in a horizontal panel. I can get the buttons on the panel, but they are not centered. What I'm trying to do is create a Frame that contains an upper panel …

0
85

The End.