Posts
 
Reputation
Joined
Last Seen
Ranked #209
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
86% Quality Score
Upvotes Received
178
Posts with Upvotes
158
Upvoting Members
89
Downvotes Received
37
Posts with Downvotes
25
Downvoting Members
18
37 Commented Posts
20 Endorsements
Ranked #71
Ranked #121
~414.01K People Reached
Interests
Playing guitar...
PC Specs
Processor: i5CPU @3.3GHz,RAM - 4GB,OS- Windows 7 ulitmate
Favorite Tags
Member Avatar for tony75

there are two erros in this:- * spelling of **FOREIGEN KEY**.Change it to "**FOREIGN KEY**" * remove comma before REFERENCES. So the final query must be like this CREATE TABLE artphoto( photonr NUMBER(10), artnr NUMBER(10) NOT NULL, filtyp VARCHAR2(3) NOT NULL, path VARCHAR2(200) NOT NULL, CONSTRAINT artphoto_photonr_pk PRIMARY KEY(photonr), CONSTRAINT …

Member Avatar for john_111
0
34K
Member Avatar for subhra44

A better way to do this is to use loop take a variable (let it be 'a') and initialize it equal to 1. Then inside loop use this statement: [CODE] $sql1="SELECT * FROM question_master LIMIT 1 OFFSET '$a' "; 'instead of above line you can also like query as '$sql1="SELECT …

Member Avatar for akshay_12
0
5K
Member Avatar for amaz4u

there are two ways to do that:- 1) when you submit a form,send its options index and then on submitting form,read from url and set that as selected value country.options.selectedIndex = index_of_selected_country; and so on. Although this is not the recommended solution. 2) The best way to achieve this is …

Member Avatar for diafol
0
3K
Member Avatar for anand01

[CODE] <%@ page language="JAVA" contentType="text/html" %>//directive to specify that language used is java and specifying the content type <%@ page import="java.sql.*" %>//to import sql package <html> <head> <title>Database</title> </head> <body> <% String driverClass ="com.mysql.jdbc.Driver"; String connectionString="jdbc:mysql://localhost:3306/login" ; String username="root"; String password="password"; String query="INSERT into table_name values(?)" ; try{ Class.forName(driverClass) ;//to …

Member Avatar for Sushmitha_1
0
9K
Member Avatar for asifalizaman

Here is the difference quoted from http://www.java.com/en/download/faq/java_javascript.xml > How is JavaScript different from Java? > The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform. > JavaScript, does not create applets or stand-alone applications. In its most common form today, JavaScript resides inside HTML documents, …

Member Avatar for _1_18
0
776
Member Avatar for calebcook

As from [this](http://stackoverflow.com/questions/10143093/origin-is-not-allowed-by-access-control-allow-origin) you can solve this by adding `<?php header('Access-Control-Allow-Origin: *'); ?>` in your header.Please check and let us know if this solved your problem.

Member Avatar for Fyan Estu
0
19K
Member Avatar for donoskaro

Take a look here.It is pure css dropdown menu http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/

Member Avatar for creiglee
0
406
Member Avatar for vegaseat
Member Avatar for Drugsxxx

you can use a trick something like this:- <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 16 16"> <g> <animateTransform attributeName="transform" type="rotate" values="0 8 8; 45 8 8; 90 8 8; 135 8 8; 180 8 8; 225 8 8; 270 …

Member Avatar for jaumetet
0
6K
Member Avatar for abelLazm
Member Avatar for awesomelemonade
Member Avatar for potatopie

Check this http://www.daniweb.com/web-development/php/threads/448925/error-sending-email-with-phpmailer#post1940914

Member Avatar for Pradeep_9
0
3K
Member Avatar for razor2890

You can call javascript method on onchange() event of select and you can work on your logic to redirect.Something like this:- javascript method function redirect_url(url ) { alert(url); } select tag <select size="1" name="typ" onchange="redirect_url(this.value)"> <option value="C">Coffe</option> <option value="T">Tea</option> &nbsp; </select>

Member Avatar for trhtrh
0
6K
Member Avatar for uselessninja

So to insert value to mysql there are following steps 1. make connectio to mysql using $con=mysql_connect("[server ip/address]","[user]","[password]") eg:- [CODE]$con=mysql_connect("localhost","root",""); [/CODE] 2. select the database $db=mysql_select_db("database_name",$con); eg:- [CODE]$db=mysql_select_db("employee",$con); [/CODE] 3. insert the data into database using mysql query $res=mysql_query("Insert into abc values('field1'...); eg: [CODE]$query=mysql_query("Insert into abc values('iim','manager')");[/CODE] Hopefully it's clear... …

Member Avatar for diafol
0
307
Member Avatar for projectbpain44

Check these two solutions.They might be helpful http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-nt-2000-xp/threads/73876/help-laptop-screen-keeps-turning-black-but-not-off http://www.computing.net/answers/hardware/laptop-screen-shuts-off-but-computer-is-still-running/86209.html

Member Avatar for Mya:)
0
316
Member Avatar for svsathyavishnu

you can use uploadify script. Its simple and easy to use. http://www.uploadify.com , download script from here.

Member Avatar for IIM
0
78
Member Avatar for jalpesh_007

Yes it is possible to do this.For example take a look at this example that i made to show next button,similarly you can create previous button.The concept is that you are using array to save to video location with name and on next click ,change the source of video and …

Member Avatar for swaranan.barman
0
11K
Member Avatar for apoorvashah28

Thats because of **'hi what's up'**. It contains single quotes, **'**.You must escape **'** or use double quotes. like using double quotes instead of single quote or vice versa if there is any one of them only in your data INSERT INTO tbl_inquiry( name, phone, email, subject, message ) VALUES …

Member Avatar for chocolatte.lavista_1
0
170
Member Avatar for DaveyMoyes

try this <?php echo ("<SCRIPT LANGUAGE='JavaScript'> window.alert('Succesfully Updated') window.location.href='http://someplace.com'; </SCRIPT>"); ?>

Member Avatar for anitha407
0
6K
Member Avatar for Dani

dani can you increase duration of competition by 2 weeks or so.I m a bit involved in my app for now.It will take a week or two after that i will start working for this competition.Or else riahc3 ,diafol and pritaeas will take those rewards. Let me take third. :'(

Member Avatar for Mike_danvers
4
3K
Member Avatar for ysfzby

You can start by reading syntax from php manual Php manual for all syntax and methods http://php.net/manual/en/index.php For php tutorials,you can refer http://php.net/manual/en/tutorial.php Also [phpacademy](https://phpacademy.org/) if you prefer watching videos.

Member Avatar for Alberto Bucur
0
488
Member Avatar for Indians

What'sthe problem in that, before constructing message body for mail fetch data from database append it in message and send mail.

Member Avatar for diafol
0
325
Member Avatar for tony75

In your Action page just print Value using $_POST('hack_language') <?php echo $_POST('hack_language'); ?>

Member Avatar for tony75
0
332
Member Avatar for Indians

Do check using if- else statement. First check for both room and meal, otherwise check for room else meal. Give alert message in each, problem solved

Member Avatar for diafol
0
8K
Member Avatar for Py New BB

please search for cron jobs in python.Cron jobs are task to be performed at specified time.That will solve your problem.Refer [this](http://stackoverflow.com/questions/11774925/how-to-run-a-python-file-using-cron-jobs)

Member Avatar for snippsat
0
162
Member Avatar for IIM

I tried using Daniweb OAuth for android application but didn't able to understand as it requires redirect url but in my case it is a standalone desktop application interacting with dani webapi's. Do i have to create a webapp and then my application instead of contacting daniweb,contact my website and …

0
87
Member Avatar for raidenx44

you can do this by storing the data in database and everytime instead of loading data from array load from database.This will solve your problem,as when you add any data,it will be added in database and on retrieving data,you will also get newly added row.

Member Avatar for raidenx44
0
143
Member Avatar for arifkutty

Yes @diafol is correct,you can only iterate the result once using mysqli_fetch_array(),however if for some reason you still want to call the query again,then before calling it another time set the pointer back to the beginning using [mysqli_data_seek](http://php.net/manual/en/mysqli-result.data-seek.php)() method . So just reset the result pointer to the beginning <?php …

Member Avatar for arifkutty
0
208
Member Avatar for kyleo92

Error is in line 139 and 141 Second paramter must be separated by **&** and not ?. Just replace that and your problem will be solved line 139 must be echo "<a href='?selID={$_GET['selID']}&page=$prev'>Prevous Page</a> | "; and line 141 must be echo "<a href='?selID={$_GET['selID']}&page=$next'>Next Page</a>";

Member Avatar for kyleo92
0
288
Member Avatar for <M/>

i have not used any of them but as per what i can read from there wiki page > **CodeIgniter is loosely based on the popular Model-View-Controller development pattern. While view and controller classes are a necessary part of development under CodeIgniter, models are optional.[3]** It is advicable to separate …

Member Avatar for ashutosh08
0
207