199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zelanne74

Hi Goodmorning. I'm developing an online add cart. my problem is when a user confirm payment and after a second he/she pressed escape. payment is successful but my email notification did not sent. how will i detect if a user pressed escape. Thank you.

Member Avatar for JorgeM
0
220
Member Avatar for BrandonRich99

Hello. I'm trying to start making a basic Operating System with Visual Studio Express 2010 C#, and COSMOS. I started out with all the default code, didn't change one think. I thought that if it was the default code, it should run without any problems, right? Well, that's not the …

Member Avatar for Fenrir()
0
373
Member Avatar for star.bravo

I want to know how I can have an array of strings for example: a[] = {A,B,C,...,Z} and then randomly choose one character from the array (for instance 'F') and apply a font format from windows on it and then render that particular letter in the form of Bitmap image …

Member Avatar for Fenrir()
0
393
Member Avatar for manjeanpaul
Member Avatar for george4986
0
91
Member Avatar for Pravesh_1

My js calender is not showing year properly; showing 114 instead 2014; I tried to figure out but no success.. <html> <head> <title>Date Select</title> <meta http-equiv='Content-Type' content='text/html; charset=gb2312'> <meta http-equiv='Expires' content='-10'> <meta http-equiv='Pragma' content='No-cache'> <meta http-equiv='Cache-Control', 'private'> <style> body { font-family: Arial; font-size: 13; font-weight: 100; color: #000000; background-color: #AAAAAA; …

0
120
Member Avatar for lwarshaw19

Okay so I'm kinda stumped... here are our directions.. My code is at the bottom of this post "Write a program consisting of only the main function, called piApproximator.cpp. When your program begins, the user is prompted to enter a number n representing the number of terms to be used …

Member Avatar for p s suvin
0
3K
Member Avatar for mavtcr

Hello friends..please help me I have two identical Tables in my Database (Access) Table 1.Salup , Table 2.Salup1 . All the fields are identical My problem is:- I want to copy/append 1. All the records 2. selected Records agreeing certain criteria(eg."Sex=Male") From Table 1 to Table 2. through VB6 code.I …

Member Avatar for mavtcr
0
211
Member Avatar for cherrymae.calma

i just want to ask, why we need to declare the header on the upper part of our syntax.

Member Avatar for cherrymae.calma
0
122
Member Avatar for zaxo311

So here's my problem I have inner structure inside of client. How can I know while reading from txt file that I'm reading item data or client data for my list? struct item { char item_name[30]; char item_state[30]; float item_price; char item_status[30]; float item_price_if_not; struct item *next; }; struct client …

Member Avatar for zaxo311
0
9K
Member Avatar for <M/>

I am creating a site and I am trying to put all the posts within a mysql database (phpmyadmin). How do i put articles/posts in the DB?

Member Avatar for <M/>
0
181
Member Avatar for patk570

I am trying to do a count of all types in there(hardware and software) I thought i had the correct structure...but I guess i am wrong... $count = mysqli_query($mysqli, "SELECT COUNT(*) AS total_count FROM assets WHERE cust_id=$custID AND (asset_type='hardware' AND asset_type='software') "); echo mysqli_error($mysqli); $count = mysqli_fetch_object($count); $count = $count->total_count; …

Member Avatar for patk570
0
162
Member Avatar for daino

Hi I'm having a little trouble understanding C++ string arguments if that's what you call them. The below example illustrates. I'm not sure I understand what line 14 does. The vector 'myvector' is passed to myfunction (called on line 35. I'm assuming string w takes in the first value of …

Member Avatar for daino
0
366
Member Avatar for kumiyare

I have the following query which joins 5 related tables to get the desired result set of 10 rows, I did my best to solve the issue by adding indexes and re-writing the query in many different ways but I ended up either unexpected result or a very slow query. …

Member Avatar for jstfsklh211
0
249
Member Avatar for juslai

I want to be able to insert the data from a range function into mysql table the range values comes from 2 textfields that are user inputted, for example the user inputs 1 and 50 the range function generates numbers from 1 to 50 in an array, my problem is …

Member Avatar for jstfsklh211
0
663
Member Avatar for COKEDUDE

Can someone please tell me the the maximum and minimum of int, long int, long long int, double, float, and anything bigger than that? And also how to calculate this?

Member Avatar for rubberman
0
101
Member Avatar for Start4me

I need to make one statement to select either of the items in listbox and show the same label, regardless of which item is selected. I've tried someting like If Me.ListBox1.SelectedItem = "R115" Or "Bay, Charles" Then Label1.Text = "Address Information Avaliable" End If But it doesn't work. The code …

Member Avatar for Start4me
0
251
Member Avatar for srao1

Here is the mex code I wrote to read in a tab-delimited file. The mex file got created but it causes my MATLAB to end abruptly and give the following error. Can anyone help me where I am going wrong? Please let me know if any further information is required …

Member Avatar for Ancient Dragon
0
378
Member Avatar for James19142

I wrote this function I plan on using to load in .obj files from Blender into a DirectX application. The problem I'm having is that when when the model is loaded, it appears that every other triangle face is missing in a pattern, for every quad, only 1 traingle is …

Member Avatar for James19142
0
847
Member Avatar for everton.retweets

Hi Everyone, I have the following script to search for and display the CountryId (code) of a given country name. $stmt = $conn->query('SELECT CountryId FROM countries WHERE Country = ".$clcountry." '); while($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo $row['CountryId']; //etc... } I have tried the above with '.$clcountry.' and with $clcountry - …

Member Avatar for everton.retweets
0
342
Member Avatar for Iikeloa

Hi I"m sorry that there is no code, it's just a question in my mind .. How can I sort the request results as rows.In every row 4 results then the next row 4 results and so on.?

Member Avatar for Iikeloa
0
141
Member Avatar for filch

I have an update form where there is a student record that has a picture as well as other info. It is with the picture that I am having a problem. The form has a file field with id="picture" name="picture" and then a simple dynamic record call to display the …

Member Avatar for diafol
0
240
Member Avatar for Hayezb

Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. However, that method included a hardcoded array and I'm needing to generate an array from data stored in …

Member Avatar for diafol
0
2K
Member Avatar for SPRINGHEEL

Here is the code. I have trouble with the registration process here. thanks anyway. <?php session_start(); include("connect.php"); $b_name = $_POST["txtbusinessname"]; $b_add = $_POST["txtbusinessadd"]; $email = $_POST["txtemailadd"]; $contact = $_POST["txtcontact"]; $cell = $_POST['txtcontact']; $_SESSION["bname"]= $b_name; $_SESSION["badd"]= $b_add; $_SESSION["bemail"]= $email; $_SESSION["bcontact"]= $contact; $_SESSION["cell"] = $cell; $format_cell = "+639"; if($b_name=="") { echo("<script>alert('Business Name …

Member Avatar for jstfsklh211
0
306
Member Avatar for RikTelner

Is software hackable no matter how perfect it is written? Let's say I will create simple OS, I will spend like 30 years on encrypting every single variable, every code string and insert quadrillions of hacking preventions. Let's say, that there are absolutely no leakings in code, variables, passwords. Is …

Member Avatar for Coloradojaguar
0
358
Member Avatar for MFS NCCCC

I need a python code that collects all even numbers separately, odd numbers separately and displaying into two separate totals. The range of numbers is 1-20 I am new to this language and I keep getting syntax errors, invalid statement errors etc.. So it would be great if you can …

Member Avatar for bryann
0
193
Member Avatar for reuben_1

can i have some advice for making a basic program, and can someone help me through python plz thx

Member Avatar for vegaseat
0
180
Member Avatar for takko

I am trying to read a string from a file and print it on the screen, but I always get an error at opening the file. Why is this happening? What is wrong with the code or with the file? PS: the file is in the same folder as the …

Member Avatar for untio
0
250
Member Avatar for StarTrekCafe

hi. well got my dipploma from http://wsi.tafensw.edu.au, and the site is at : http://marvinhunkin.bmtafeweb.com. now. need a accessible, screen reader, free version of a web host or free domain, with penty of. looking to develop my next project, a blindness site. with a podcast section, uploading documents, a blog, chat …

Member Avatar for Anima Templi
0
415
Member Avatar for asker54

While learning php I found this common statement $add_tel_sql = "INSERT INTO telephone (master_id, date_added, date_modified, tel_number, type) VALUES ('".$master_id."', now(), now(), '".$safe_tel_number."', '".$_POST['tel_type']."')"; What I do not understand why in the '".$master_id."' we are using the " and also the dot. why we do not only use $master_id without …

Member Avatar for asker54
0
288
Member Avatar for mangel.murti

i am developing a plugin where i need that on each post title a small icon added next to post title. my code is below. it is adding icon but i need both seperately clickable.(both icon and title is pointing to same url action). add_filter( 'the_title', 'modified_post_title'); function modified_post_title ($title) …

Member Avatar for mangel.murti
0
200
Member Avatar for r.nair3456

hi, its like this i did c++ at my school level for almost 2 years....its been 6 years since i have done any programming.....due to college studies......now i want to move to android development......for that i need to learn core java(j2se).....its been one month i have been doing j2se.....covered oops,classes,objects,inheritance,excepti... …

Member Avatar for Schol-R-LEA
0
314
Member Avatar for driazi

Hi, Could anyone help me to solve this error that occurs im my asp.net project ? Thanks ![656b42e05434cf26ea7b0320c41773d2](/attachments/large/1/656b42e05434cf26ea7b0320c41773d2.png "656b42e05434cf26ea7b0320c41773d2")

Member Avatar for JorgeM
0
154
Member Avatar for Seba Sama

Hello, I'm trying to approach .dll's. Tried some tutorials and got into 2 problems: 1. Using rundll32 from the command line is not working as expected. I write in cmd: "rundll32 mydll.dll MsgBox -32". It shows the MessageBox with text "15991798", changing every time I run it. 2. Calling a …

Member Avatar for Seba Sama
0
198
Member Avatar for hsasgh

I need the programs to these algorithms. These are the algorithms of the programs of Insertion & Deletion. I need the C++ programs. Insertion temp1 & temp2 are strings 1. temp1= substring (T, 0, ip) 2. temp2= substring (T, ip, length(T) - ip + 1) 3. concatenate (temp1, P) 4. …

Member Avatar for deceptikon
0
145
Member Avatar for jalmeida

Hi, im developing a software in vb 2012 with a access 2010 local db, but for some reason i can´t remove records from the database. the following code breaks on line 6. i cant find the problem. the dataset is transmissoes and the the table is utilizador_avancado. can anyone help, …

Member Avatar for kRod
0
428
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 hxn xfir

Using loop print the following output on console. 1 121 12321 1234321 123454321 1234321 12321 121 1

Member Avatar for JOSheaIV
0
817
Member Avatar for jazleeen

I am a beginner in php. And I want to know field level validation using php not by javascript or jquery. How to do this? My incorrect code: form method="POST" action="registrationp.php"> <input type="text" name="emailid"><?php session_start(); if(isset($_SESSION['error'])) {echo $_SESSION['error']; } ?></br> <input type="submit" name="submit_form" value="Register"></form> session_start(); if (empty($_POST['emailid'])) { $emailid ="Please …

Member Avatar for cereal
0
288
Member Avatar for Rohit Mehra

<?php session_start(); ob_start(); include 'database_connection.php'; if (isset($_POST['formsubmitted']) && $_POST['formsubmitted'] == TRUE) $error = array();//this aaray will store all error messages if (isset($_POST['email']) && empty($_POST['email'])) //if the email supplied is empty { $error[] = 'You forgot to enter your Email '; } else { if (preg_match("/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/", $_POST['email'])) { $Email = $_POST['email']; …

Member Avatar for pritaeas
0
170
Member Avatar for accra

I'm retriving a youtube link from mysql db with this code <?php //echo $embed; $yt_url=$embed; function get_youtube_id_from_url($url) { if (stristr($url,'youtu.be/')) { preg_match('/(https|http):\/\/(.*?)\/([a-zA-Z0-9_]{11})/i', $url, $final_ID);return $final_ID[3]; } else { preg_match('/(https|http):\/\/(.*?)\/(embed\/|watch\?v=|(.*?)&v=|v\/|e\/|.+\/|watch.*v=|)([a-zA-Z0-9_]{11})/i', $url, $IDD); return $IDD[5]; } } $variable= get_youtube_id_from_url($yt_url); ?> and extracting the id part of the link and placing it in …

Member Avatar for OsaMasw
0
265
Member Avatar for Santosh_5

I am trying to add new spinner below old one dynamically with click of a button. Also, I am adding button on the side of spinner dynamically. My problem is the spinners and buttons are added on top of each other. How can I add new spinner at the bottom …

Member Avatar for peter_budo
0
1K
Member Avatar for begueradj

I created a search box that accepts XSS attacks: how can perform the page of this search box to be loaded infinitely by inserting ? I am looking forward for your answer Regards

Member Avatar for chinusfashion
0
189
Member Avatar for logicslab

Dear pals, I have an online app site which need 11 JS files including jQuery & D3.js files. I need to compress it into a single file and it's easy to use . I check some but need node.js and complex stuffs. I found http://jscompress.com/ but it's not working Application …

Member Avatar for chinusfashion
0
429
Member Avatar for markii.borabon

..im new in PHP and and I want to know how to create html form that sends file(images) to phpmyadmin(database) consider that you have to choose the database first from the dropdown list of database.. then display it's table after choosen it.. please help.. here must be the sql flow.. …

Member Avatar for markii.borabon
0
423
Member Avatar for Rasool Ahmed

My problem is when I open new activity when pressing button an error accoutred "Unfortunately, ISPcheck has stopped". Here is my MainActivity.java button click event code: public void btnLogin_OnClick(View view) { startActivity(new Intent(MainActivity.this, PersonInfo.class)); } Here is button xml code in activity_main.xml: <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="تسجيل الدخول" android:id="@+id/btnLogin" android:layout_marginTop="72dp" android:textColor="#ffffff" …

Member Avatar for jonese068
0
3K
Member Avatar for daniweb2013
Member Avatar for LordoDeGrim
0
752
Member Avatar for naji.awad1

Hey guys :) Can anyone show me a tutorial for game development in C++. Btw I'm on a mac so I can't go to the DirectX tutorial. Can you please avoid www.cprogramming.com because I dont like it. Thanx anyways :)

Member Avatar for stevecolin101
0
162
Member Avatar for klemme

Hi All, I need to create a couple of webservices, where I retrieve info from the database. Found this example on php.net while searching for examples: class MyClass { public function helloWorld() { return 'Hallo Welt '. print_r(func_get_args(), true); } } try { $server = new SOAPServer( NULL, array( 'uri' …

Member Avatar for pritaeas
0
348
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

The End.