199,114 Archived Topics
Remove Filter ![]() | |
*How can one make a program autorun(that is make it begin on the start of the computer like a password program) *What is the best way to start learning windows programming(graphical user interface) | |
<root> <question>What is php ?</question> <ansIndex>0</ansIndex> <ans> <0>Server SIde Lang.</0> <1>client side lang</1> <2>none</2> <3>both</3> </ans> </root> //This is my xml File. // Bt I want When <ansIndex> is 0 then set attribute in <0 true>,<ansIndex> is 1 then <1 true> //how i can do this? //my Php code is … | |
Hell,, I am trying to send images to he databse but not getting any response the images are not sending in the database can any one help me out function add_watch() { global $connection; $prodimg= $_FILES["prodimg"]['name']; $prodtype=$_FILES["prodimg"]['type']; $prodtemp=$_FILES["prodimg"]['tmp_name']; $target_path = 'Products/'.$prodimg; $id = $_POST["u_id"]; $brand = $_POST["brand"]; $model = $_POST["model"]; … ![]() | |
stream writer is not working in windows 8.1 worked partially how can write console output in a text file without stream writer .? | |
<root> <item0><courseId>133</courseId></item0> <item1><question>What is php?</question></item1> <item2><ansIndex>1</ansIndex></item2> <item3><ans>Sever Side Lang.</ans></item3> <item4><ans>Web Lang.</ans></item4> <item5><ans>NOne</ans></item5> <item6><ans>Both</ans></item6> </root> My Xml Function Give This Type Of Output..Bt i Want <root> <courseId>133</courseId> <question>What is php?</question> <ansIndex>1</ansIndex> <ans>Sever Side Lang.</ans> <ans>Web Lang.</ans> <ans>NOne</ans> <ans>Both</ans> </root> This is my Xml Function .. $array = json_decode($_GET['data'],true); function array_to_xml($array, &$xml_user_info) … | |
How do you parse repeating XML sub row values in VB.net (2008) using XDocument, and Dictionary. In the code below I am able to read everything down to first row of userGroup.. Hide Copy Code <userGroup id="XX1" title="MAIN GROUP" orgCode="111" type="NORMAL" fullPath="/AAA/XX1/NANA"/> I get all the values for the FIRST … | |
hi. Experts I'm developing a monitoring student in and out of residential college using RFID My problem is i can scan the RFID tag but i did not know how to save it into database access. here is the code i found on internet to connect detect rfid tag no … | |
Below is my database structure: PostUUID subid pricing Name Poscode abc1 1 100 userA 56000 abc2 2 100 userA 56000 abc3 1 100 userB 56000 abc4 2 100 userB 56000 abc5 1 100 userC 56000 abc6 2 100 userC 56000 Now I want to perform search on this table called … | |
Can SQL 2005 Run on Windows Server 2012? | |
![]() | i does not know about store the image in database. what is the datatype of picture in oracle? |
{"courseId":"116","question":"asdasd","ansIndex":"1","ans0":"sadsa","ans1":"dsad","ans2":"sadasd","ans3":"asdasd"} This is my Json String......How to Convert In to Xml File ![]() | |
I found this [jQuery Plugin](http://jsfiddle.net/ZdCPs/4/) online. The plugin is exactly what I need and I want to add it to my page but my table is created by obtaining the elements from a db. I tried adding it to the page as the jsFiddle sample but pagination just does not … ![]() | |
Assalam o alikum my name is Al-Haya Noor and i am using very first time the forum. is there any one who guide me? i have a problem while doing my project. in Embedded-C and the problem is Consider the following sequence of values: 00000000 00000000 00000001 00000000 00000000 00000100 … | |
Hi Daniweb, I'm making a shell-ish console for my Operating Systems class. Trying to get the shell to Terminate a process given a process name. Ever since I made the following addition to my code, this error is coming: `Program received signal SIGSEGV, Segmentation fault.In __gnu_cxx::__exchange_and_add(int volatile*, int) () ()` … | |
<?php mysql_connect("localhost","root",""); mysql_select_db("test"); $data= mysql_query("select * from tbl_files where sl.no=1"); $rec= mysql_fetch_row ($data) header("content-type:$rec[2]") echo $rec[1]; ?> # error # Parse error: syntax error, unexpected 'header' (T_STRING) in C:\xampp\htdocs\readfromdb.php on line 6 ![]() | |
i have this code uptil yet in which i am adding records in a text file [array of structure] and displaying the text file what i want to do is to implement delete previous record functionality and also to edit the previous records could anyone please guide me as to … | |
what I'm basically trying to do is: x = struct( size=4, order='var0', # <<< struct.__call__( size, order, **vars ) var0 = bu32 # { 'var0': bu32, } ) data = x() # read data from imported file print data.var0 # should return a bu32 int if data.__class__ == x: pass … | |
I am looking at printing to an Epson POS printer from a PHP Web application. Due to design of the application, and deployment, printing should be done when a print icon is clicked. User would be able to select Different Printers based on choise REFERENCE POINT: http://stackoverflow.com/questions/25973046/printing-to-pos-printer-from-php I don't know … ![]() | |
I am brand new to Visual Studio so please forgive my current lack of knowledge but I've tried searching everywhere for this and am relatively surprised that I couldn't find something about this elsewhere. I am using a currently using an Openfiledialogue with multi-file selection allowed. It then adds the … | |
i am doing this gpa java program where I have to implement two method, one called calgpa and the next calqualitypoints, and i have also have to put in two java arrays one for the numbers of courses and the other for whats graded the problem my program is giving … | |
Hi, I'm new to Python - and new on here.... I've read lots of tutorials on Python and am currently in an intro to programming class using python, but I can't figure this out. I've searched stack overflow, dani web, java2s, github and many others but can't understand what I'm … | |
Hi im trying to do this projexct for class. Here is the code Public Class Form1 Dim index As Integer = 0 Structure Gradebook Dim ID As Integer Dim Exam1 As Integer Dim Exam2 As Integer Dim Exam3 As Integer Dim Avgg As Integer Dim LG As Char End Structure … | |
So im extremely new to python. Im teaching it to myself for a school project and i heard that calculators are a good place to start so that's exactly what im doing. I have only been using it for about a day now so like i said im pretty newb. … | |
I have used function write() in a loop to write 2 names in binary mode to a file. Now, when I try to read those 2 names I use this logic : 1) find size of file in bytes; 2) create buffer with that size; 1) read into buffer until … | |
Hi It's been a while i'm learing C++ but still i have some issue with `Move semantics` and some other stuff. I wrote this class but i don't know why the `Copy constructor` is getting called and the output is a little strange to me, shouldn't the `Move Constructor` gets … | |
Array ( [0] => Array ( [sn] => 1 [mob_no] => 9602858989 [date] => 06-May-2015 [time] => 12:02:33 PM ) [1] => Array ( [sn] => 2 [mob_no] => 7795055128 [date] => 06-May-2015 [time] => 12:29:44 PM ) ) how to insert these array values in seperate database table fields? ![]() | |
Again, calculate the minimum number of bills or coins required for a given amount of money (change). This time we will use a Go map instead of a csv string converted to a structure. | |
Hello ALl, I have found this project online which I would like to do. The link for the project is http://1000projects.org/network-intrusion-detection-system.html#comment-249119. If I am correct, this application if built properly is meant to look at all the packets and store them into SQL server?. I have got many problems before … | |
Hi, Basically I have a graph that is bound from a DataTable which source is from a DataGridView. I have zoomable functions on the graph and I need it use X Axis SelectionStart and SelectionEnd in order to calculate the block of data that is selected. So I have some … | |
hi , I am trying to first ask the user how many numbers he has ( I have not coded this part yet but assumed number 5 ), then enter the first number , hit enter , enter another number in the same entery widget up until the numbers are … | |
Good day to you all people. I personally like to use Visual Studio and Dev C++ to develop my c++ apps. Recently, I was introduced to a new environment, Textpad as the editor and Cygwin as the compiler. I found interesting that in Visul Studio and Dev C++ you are … | |
what is the difference in exit(0),exit(1),exit(2) ? how it differs from Return statement? | |
Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a web form wherein i m using a label with the name "lyrics" . I want to enter lyrics in html … | |
This is my link class fill-up form: private void cmd_updateActionPerformed(java.awt.event.ActionEvent evt) { UserClass UC = new UserClass(); String password = new String(PW.getPassword()); String confirmPassword = new String(RPW.getPassword()); try { if(!UN.getText().trim().equals("")&&!RPW.getText().trim().equals("")) { DefaultTableModel model = (DefaultTableModel) UC.table_user.getModel(); String value1 = UN.getText(); String value2 = PW.getPassword().toString(); model.setValueAt(value1, UC.table_user.getSelectedRow(), 0); model.setValueAt(value2, UC.table_user.getSelectedRow(), 1); … | |
0 down vote favorite I want to make my click procedure read five names on a list called names.txt file and store them in a five element one dimensional array and then arrage them in descending order what am i missing from this code that is keeping the file from … | |
Hello, could you help me to make the submit button work! Thank you so much! <?php class XooWooCommerce { /** * Edited by HTC */ function show_my_schedule() { global $wpdb, $current_user, $xoouserultra; $user_id = get_current_user_id(); $sql = 'SELECT `id`, `member` FROM ab_staff WHERE `wp_user_id` = "' . (int)$user_id. '"'; $msgs … | |
Hey, i dont know how this is called but i have ideas and if it possilbe that someone can help Help me about this: i have file index.php and 2 folders called: blue, red. in these 2 folders therse a pages that content the same backgroundcolor as the foloders name. … | |
I have created a sp little bit confuse about it. how to count result set if data availabe then show it and if not then retun ResultStatus is zero. did not work much with sp. thanks for any help suggestions. CREATE DEFINER=`root`@`localhost` PROCEDURE `usp_GetProduct`(IN `iProductCategoryId` INT) BEGIN DECLARE ResultStatus INT … | |
Hi all, I have this function, which should scroll animated to an anchor. Does anyone know how I can activate this only after a form has been submitted? I want to animate the scroll down to either id="error" or id="succes" - depending on the form was submitted with or withour … | |
Good day people. They say the only way you can be a good programmer is if you learn it the hard way, by coding a lot and working on the analytical skills. I believe that all of us in this community have faced some problems in c++ and then were … | |
Hello, I was wondering if any one help me ouut guide me or let me know how do i filter records using php like it is done in property listings product listings etc I am stuck up can anypne help me out with that. Thank You <form action="" method="POST"> <div … ![]() | |
Hello, I made a search option using php every thing is working ine but when i enter 123 in search it does not pull up my any records is it a problem with my code can anyone help me out if(isset($_POST['search_now'])){ if(isset($_GET['go'])){ if(preg_match("/^[ a-zA-Z]+/", $_POST['search'])){ $name=$_POST['search']; $sql ="SELECT * FROM … | |
alright, so here's what I got: # -*- coding: utf-8 -*- W = 25 l = [[u'░' for c in range(W)] for r in range(5)] _Y = 2 for X in range(W): Y = _Y+((X&3)-(X&2))-(2*((X&3)==3)) # <-- this could be better l[Y][X] = u'█' for r in l: print ''.join(r) … | |
I need to reduce the length of this code in Python3 as much as possible (even if it will be less readable): a,b,x,y=[int(i) for i in input().split()] while 1: r='' if y<b:r='S';y+=1 if y>b:r='N';y-=1 if x<a:r+='E';x+=1 if x>a:r+='W';x-=1 print(r) It's a map: you are on (x,y) and you need to … | |
HI i want to know how i can get last user id from my database ? | |
Hey guys, I'm working on a chat program where a UDP console-based chat program's client sends a message to the server and subsequently the server sends it to all other clients on the network. As of this moment the program is able to: 1. Client send message to server 2. … | |
Hello, I need the path (string) of an embedded file in a Console application. I tried "Properties.Resource.file", but I got its content, not the path. Any help is appreciated. | |
Can all of u help me? I can not solve this: <DOCTYPE html> <html<!> <head> </head> <body> <h3>PHP Conditional Operator</h3> <?php $a=100; $b=200; $c=300; $d=500; $e=600; ............................................. how can I do it in order to find the maximize and minimize of this. Reguard!!! Fongsiev | |
Array ( [0] => 116 [1] => asdasd [2] => 1 [3] => asdsadas [4] => dasdasd [5] => sadasdsad [6] => asdasdasd ) i want to convert this aaray in to xml ![]() |
The End.