199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for palo.moshoeshoe

this is my php code,it works properly before inserting,can it be the fact that i have attatched a photo to my form? the other problem is,i dont know what type is photo for my xampp database,i left it a VARCHAR, the error i get is: Parse error: syntax error, unexpected …

Member Avatar for João_5
0
503
Member Avatar for prabir.majumder.9256

Can someone give me some information about Web Development such as .............

Member Avatar for diafol
0
45
Member Avatar for david.faizulaev

Hello, My question is a bit theoreric at the moment. I have a XML file that contains some data, i would like to know if it is possible to write a PHP page that reads the XML file, and if he recognizes a spesific string in the XML file, he …

Member Avatar for diafol
0
302
Member Avatar for pkarovsky

I'm new to this website. I have a question about how PHP formats a table but don't know where to post it. I inherited a website that has a database in Google and files written in PHP and HTML. The info from the database is posted into a table but …

Member Avatar for diafol
0
250
Member Avatar for schroaus

I have looked around on the internet a little bit, but I am unable to find a function or equation for inverse/arcsine. I was able to find Inverse Cosine, but inverse sin doesn't seem to exist. Does anyone know how to use inverse sine in delphi?

Member Avatar for pritaeas
0
377
Member Avatar for smdjilani

i have assigned a value directly to a pointer like *ptr=12; and i have used it,no error came.if we assign like this where the pointer points to?explain me?

Member Avatar for Ancient Dragon
0
171
Member Avatar for jalal hashmi

#include <iostream> #include <conio.h> using namespace std; void showSeats (void); char firstClass[2][6]; char busClass [5][6]; char ecoClass [6][6]; int main() { char seatType; int seatNum; char seatChar; // make all the seats available for(int i =0; i<6; i++) { for(int j =0;j<6;j++) { if(i<2) firstClass[i][j]='*'; if(i<5) busClass[i][j] = '*'; ecoClass …

Member Avatar for Ancient Dragon
0
207
Member Avatar for laura301019

I have the following web crawler code and would like to add a limit as to the depth of the search but unsure how to implement this. import urllib2 def getAllNewLinksOnPage(page,prevLinks): response = urllib2.urlopen(page) html = response.read() links,pos,allFound=[],0,False while not allFound: aTag=html.find("<a href=",pos) if aTag>-1: href=html.find('"',aTag+1) endHref=html.find('"',href+1) url=html[href+1:endHref] if url[:7]=="http://": …

Member Avatar for Gribouillis
0
450
Member Avatar for frlg

# include <iostream> # include <fstream> # include <string> using namespace std; struct primera # include <iostream> # include <fstream> # include <string> using namespace std; struct primera { int ID; char nombre [50]; char fecha_de_alta [10]; char fecha_de_caducidad [10]; int cantidad_en_existencia; char marca_presentacion [50]; float costo_para_mi; float bonificacion; float …

Member Avatar for tinstaafl
0
122
Member Avatar for JohnOSull4021

Hey guys, so I'm making a board game in java similar to X's and O's on a 4x4 grid but there's different types of pieces etc., but what must be done is you must pick a piece to give to your opponant for them to place on the board and …

Member Avatar for JohnOSull4021
0
144
Member Avatar for liza_1

i need help for my project.. we are tasked to create a website yet i don't have codes for the LOG IN button can please give me ?

Member Avatar for EvolutionFallen
0
214
Member Avatar for annyangel

hlo, i have a code... plz tell through this how to show table data from mysql? tell me the sql query or code and the location where i will insert that customers.php <?php class Customers { private $name; private $id; private $desc; private $con; public function __construct($name,$desc) { $this -> …

Member Avatar for Lsmjudoka
0
215
Member Avatar for kerek2

Hi All's, Really need your help, i'm trying to update existing data in MDB database by date.today but cannot update . Here my coding Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source= PTGDB.mdb") Dim cmd As OleDbCommand = New OleDbCommand("SELECT …

Member Avatar for kerek2
0
386
Member Avatar for ambert123
Member Avatar for Ibitoye
Member Avatar for krystosan

Why is this stacking ontop of each other, as far as the index should get each of them to next row. data1 = {'PHOTOSHOP': '6.5', 'NUKE': '7.0v9', 'MAYA': '2014', 'TESTING': '1.28', 'KATANA': '1.7', 'MARI': '4.0'} data2 = {'PHOTOSHOP': '10.5', 'NUKE': '6.3v6', 'MAYA': '2012', 'TESTING': '1.28', 'KATANA': '1.0', 'MARI': '1.0'} class …

Member Avatar for krystosan
0
193
Member Avatar for jon_stahl

Seeing that there are no posts in this forum, I will kick it off with a list of programming tutorial sites and communities that have helped me learn along the way: [url]www.php.net[/url] <--all you need for php! [url]www.tutorialfind.com[/url] [url]www.techtutorials.com[/url] [url]www.tutorialized.com[/url] [url]www.free2code.net[/url] [url]www.programmersheaven.com[/url] [url]www.planetsourcecode.net[/url] [url]www.allsyntax.com[/url] [url]www.arson-network.com[/url] [url]www.tpu.org[/url] [url]www.experts-exchange.com[/url]

Member Avatar for alexstone
0
454
Member Avatar for cambalinho

the csbi.wAttributes are combinations of '|' operators,... DWORD textcolor = csbi.wAttributes & 0xff0f; DWORD backcolor = (csbi.wAttributes & 0xfff0) >> 4; i understand the 0xff0f is a hexadecimal value(i don't know in decimal), but why these number and not other? can anyone explain to me these 2 calculations? (they are …

Member Avatar for cambalinho
0
176
Member Avatar for kindo

I wanna get definition and meaning from another website, the website doesn't have an API....when I curl it, I get the whole page instead of just a few lines. This is my code: <TD align=center> <form action="http://www.nigeriandictionary.com/all_word.php?lang_id=68&word=love" method="get"> <input type="hidden" name="word_search" value="true"> <table border="0" align="center" cellpadding="5" cellspacing="0" class="special" bgcolor=#fdfdfd width=100%> …

Member Avatar for pritaeas
0
317
Member Avatar for prettyboy

dear all, i'm doing a project which involve shape (arc, circles and rectangles) i'm a newbie on VB6, done the easy shapes but problem on drawing the arc on the form to form a half-moon shape. any help or link on this will be great and appreciated. thnx in advance

Member Avatar for Bruce52
0
1K
Member Avatar for hunt3r

I have googled all around and can't seem to find a proper library that performs OCR functionalities ported for Windows Phone. I have tried my luck with EMGU CV on the phone but it did not execute due to runtime conflict. Project Hawaii works fine so far but I would …

Member Avatar for Amer.Basel
0
212
Member Avatar for ysaburou

Good morning! I have these VideoChatRTP class I got [here](Good morning! I have these VideoChatRTP class I got here (I just added the main) and an EncodingUtilClass class from here.) (I just added the main) and an EncodingUtilClass class from [here](http://www.java2s.com/Open-Source/Java/6.0-JDK-Modules/java-3d/com/db/media/rtp/EncodingUtil.java.htm). VideoChatRTP.java import javax.media.rtp.*; import javax.media.*; import javax.media.protocol.*; import java.awt.Image; …

0
207
Member Avatar for ysaburou

Good morning! I have these VideoChatRTP class I got [here](http://www.java2s.com/Open-Source/Java/6.0-JDK-Modules/java-3d/com/db/media/rtp/VideoChatRTP.java.htm) (I just added the main and made player static) and an EncodingUtilClass class from [here](http://www.java2s.com/Open-Source/Java/6.0-JDK-Modules/java-3d/com/db/media/rtp/EncodingUtil.java.htm). VideoChatRTP.java import javax.media.rtp.*; import javax.media.*; import javax.media.protocol.*; import java.awt.Image; import java.io.*; import java.net.*; import com.sun.media.ui.*; /** * A RTP over UDP player which will receive …

0
148
Member Avatar for akil77

i'm akill studying computer science and engineering in india.my question is which book is good for studying data structure with c programming?

Member Avatar for deceptikon
0
207
Member Avatar for narasimha9

Script i am using shown below.Date picker is showing on screen but it is applying to all input fields.( WHat should i change to get only for a particular input field. I tried with id rangeA but still it is applying to all fields. <script type="text/javascript"> $(function() { $('input').daterangepicker({arrows:true}); }); …

Member Avatar for narasimha9
0
240
Member Avatar for cambalinho

i have these code for clear the screen: //clear the Console void Clear(int BackColor=0) { // home for the cursor COORD coordScreen = {0, 0}; DWORD cCharsWritten; CONSOLE_SCREEN_BUFFER_INFO csbi; DWORD dwConSize; // Get the number of character cells in the current buffer if(!GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi)) return; dwConSize = csbi.dwSize.X * csbi.dwSize.Y; …

Member Avatar for cambalinho
0
220
Member Avatar for jamojo

Hello Everyone, I am trying to compute the subscription next due date. For example, these are the subscription dates: 1/28/13 1/29/13 1/30/13 1/31/13 When I used the php function strtotime( "+1 month", <date> ) the next month due date will be: 1/28/13 due date is 2/28/13 1/29/13 due date is …

Member Avatar for jamojo
0
2K
Member Avatar for cambalinho

the prototype function is: BOOL WINAPI WriteConsoleOutputAttribute( _In_ HANDLE hConsoleOutput, _In_ const WORD *lpAttribute, _In_ DWORD nLength, _In_ COORD dwWriteCoord, _Out_ LPDWORD lpNumberOfAttrsWritten ); i'm trying use it for the 1st time... what means: "lpNumberOfAttrsWritten [out] A pointer to a variable that receives the number of attributes actually written to …

Member Avatar for cambalinho
0
2K
Member Avatar for santakdalai90

I am trying to search for a shell script if it is running and then assigning the count to a variable. Let the script be ScriptXYZ.sh. I wrote: proc_count=$(/bin/ps -ef | grep ScriptXYZ.sh | grep -v grep | wc -l) The problem that I am facing is that even when …

Member Avatar for santakdalai90
0
456
Member Avatar for PulsarScript

Thats the code i have so far: int _tmain(int argc, _TCHAR* argv[]) { for ( int i = 1; i <= 9; i++) { for ( int j = 1; j <= 15; j++) { cout << "*"; } cout << endl; } return 0; } but can't figure out …

Member Avatar for darkfire3133
0
193
Member Avatar for ddnpresident

import java.util.Scanner; import java.util.Arrays; public class project { private static Scanner keyboard = new Scanner(System.in); public static void main() { double row [][]; int positionInRow, numberInRow, rowSize, index, numberOfRows,weight; int maxWeight = 100; System.out.println("Welcome to the Band of the Hour"); System.out.println("-------------------------------"); System.out.print("Please enter number of rows : "); numberOfRows = …

Member Avatar for kal_crazy
0
326
Member Avatar for aboubakarsalim.khamis

Write an algorithm and draw a flowchart to print the square of all numbers from LOW to HIGH. Test with LOW=1 and HIGH=10.

Member Avatar for CodingCabbage
0
208
Member Avatar for Michael_18

I'm trying to display some records which meet some certain criteria. That works fine, but I also want to retrieve the total amount of orders. These are all located in the field 'Amount' from the Orders table. So if record 1 has got '22' in it's amount field, and record …

Member Avatar for balaji9124
0
318
Member Avatar for laghaterohan

hello, I add rows to the Gridview through the following code : The below code is working fine. However,i am now placing a button REMOVE besides this grid. Whenever a user selects a particular row ( no use of checkbox for selection) The user will click on the row he …

Member Avatar for Mortimertefo
0
572
Member Avatar for HelpWanted2115

Ok, hi guys.... I have some IT homework due tomorrow and I honestly don't know what to do. I've made multiple attempts and it's just not working out for me. So I'm asking for help ASAP PLEASE. The questions states: Write a program to read in the names of a …

Member Avatar for CodingCabbage
0
171
Member Avatar for kbear23

I'm trying to convert int x and y arrays to string using a sample code found online. string Square::int2string (int x[]) { string returnstring = ""; for (int i=0; i < 4; i++) { returnstring += itoa(x[i]); return returnstring; } } but hit with the following error. Square.cpp:30:8: error: prototype …

Member Avatar for kiran.ghodke.395
0
4K
Member Avatar for GeekPlease

Good day folks, I am working on a project now and I'm wondering how to detect if a div is visible in the screen while the user is scrolling on the page. Hope someone will be able to shed some light. Thanks :D

Member Avatar for minitauros
0
216
Member Avatar for Yani18

lright, I have a combobox with a list of Food names, and the user can also add food names. How would I make this print or go to a print preview page

Member Avatar for Mr.M
0
89
Member Avatar for imperator

Hi. I have created a VB.net youtube video uploader app using Google API, which works fine. However, if I want use a proxy to upload the video, I get an error: "Invalid credentials". The proxy I am using is a public one and doesn't require any authentication, so I don't …

Member Avatar for Mr.M
0
314
Member Avatar for BE_Aus

I do apologise for the simplicity of this post, but I am seeking help in something I have not encountered before. While I have my splash screen and program humming perfectly, I am trying to run a date check while starting and exit the program if it is too old. …

Member Avatar for DM Galaxy
0
178
Member Avatar for davy_yg

Hello, I am trying to create admin login page. This is what I try so far: controllers/admin/clogin.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login controller class */ class Clogin extends CI_Controller{ function __construct(){ parent::__construct(); } public function index(){ // Load …

Member Avatar for davy_yg
0
336
Member Avatar for accra

am trying to export data from mysql db to excel format, but the excel file i get is damaged. i get two varibles by $_GET, and run a search, and then creates the excel file based on the results... `$p_na = $_GET['p_na']; $svreg = $_GET['svreg']; include_once("classes/PHPExcel.php"); $result = mysql_query("SELECT * …

Member Avatar for furqan219
0
2K
Member Avatar for skyyadav

#include <string> #include <iostream> #ifndef NAME_H #define NAME_H class Name { private: std::string first_,last_ ; public: explicit Name(const std::string & first = "john", const std::string & last = "doc"):first_(first),last_(last) { if(!isvalidlast(last_) || isvalidfirst(first_)) throw "Name :: Name(const string &,const string &):invalid Name"; } static bool isvalidlast(const std::string & last){} static …

Member Avatar for skyyadav
0
182
Member Avatar for mathewmoozh

can anyone help me in configuring the sqlite with php. I have tried changing the php.ini and enabling the extension from the extensions list. I am using the wamp for development. Please fix my error. Thanks in advance

Member Avatar for mathewmoozh
0
144
Member Avatar for boher

In my project, at some point I tend to load all rows in my DataSet and add them to my FlowLayoutPanel in order of their "Time" Item. This is what I'm trying to do but I need the controls to be added first if their "Time" value are the oldest …

Member Avatar for chuchaykaw18
0
270
Member Avatar for saintrenz

I have query that updates the database but the problem was the datagrid is not updating.. i have to restart the program in order for the datagridview to take effect Imports System.Data.OleDb Public Class frmUsers Dim cnn3 = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Renz\Documents\Visual Studio 2012\FINAL\Database\AuditDB.mdb;") Dim sql2 As String Dim ds1 As …

Member Avatar for chuchaykaw18
0
151
Member Avatar for antonio.neal.39

not working. I am using python 3.3.2. please and thank you. import urllib u = urllib.request('http://www.ctabustracker.com/bustime/map/getBusesForRoute.jsp?route=22') info = u.read() f = open('rt22.xml', 'wb') f.write(info) f.close()

Member Avatar for HiHe
0
222
Member Avatar for eric_arambula

I am new programming in Python. I am trying to create a function that simply takes the lowest payment (which starts at 10) and it simply returns the remaining balance (after 12 months of payments). 2. Outside the function I am using a loop that calls the function and checks …

Member Avatar for phoenix.enero
0
302
Member Avatar for lewashby

When I run: ---`mysql> SET PASSWORD FOR 'garrett'@'localhost' = PASSWORD('abc123');` I get: ---`ERROR 1133 (42000): Can't find any matching row in the user table` Also, when I run: ---`mysql> UPDATE mysql.user SET Password=PASSWORD('abc123') WHERE User='garrett' AND Host='localhost';` I get: ---`Query OK, 0 rows affected (0.00 sec)` ---`Rows matched: 0 Changed: …

Member Avatar for lewashby
0
430
Member Avatar for decade

Hi everyone, I'm new in vb.Net programming and i just want to ask how to validate a "Double" data type. for example. Dim number as Double number = textbox1.text If the value of "number" variable is in "Double" data type like 1.23 or 0.12 it returns a correct value and …

Member Avatar for decade
0
3K

The End.