- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 178
- Posts with Upvotes
- 158
- Upvoting Members
- 89
- Downvotes Received
- 37
- Posts with Downvotes
- 25
- Downvoting Members
- 18
- Interests
- Playing guitar...
- PC Specs
- Processor: i5CPU @3.3GHz,RAM - 4GB,OS- Windows 7 ulitmate
Hi Please why I got this error(SQL Error: ORA-00907: missing right parenthesis) whats wrong in my code? CREATE TABLE artphoto( photonr NUMBER(10), artnr NUMBER(10) NOT NULL, filtyp VARCHAR2(5) NOT NULL, path VARCHAR2(100) NOT NULL, CONSTRAINT artphoto_photonr_pk PRIMARY KEY(photonr), CONSTRAINT artphoto_artnr_fk FOREIGEN KEY(artnr), REFERENCES art(artnr), CONSTRAINT artphoto_filtyp_ck CHECK(filtyp in ('gif','jpg')) ); … |
|
Can anyone tell me how to retrieve records from database one at a time.. I am attaching a sample code here: [CODE]include('connection.php'); $sql1="SELECT * FROM question_master"; $result=mysql_query($sql1); while($row = mysql_fetch_array($result)) { echo $row['Question']; }[/CODE] Let me explain the code.. There is a table named "question_master" (containing some questions) in database … |
|
i am able to populate data in chain select drop down list but the problem is when page is refreshing selected data is lost how to fix that .. here is the code.. <?php require_once 'include/config.php'; require_once 'include/opendb.php'; ?> <?php if(isset($_POST['model'])){ //This is for the third and final drop down … |
|
hi all , Am doing event management project. In jsp page am using javascript date picker. Then i passed that to servlet page by the following code. DateFormat formatter ; formatter = new SimpleDateFormat("dd-MM-yyyy"); Date date=formatter.parse(request.getParameter("date")); now I want to insert date in mysql database , How can I achieve … |
|
hi!guys pay some attention there thanks can any one tell be what is the difference b/t java and java script.. According to my point of view java is programing language that used for the application development..but i have a little knowledge about java script i think it is client side … |
|
I am using the [jQuery File Upload plugin by Blueimp](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads#cross-site-xmlhttprequest-file-uploads) to upload images to a server. The problem is, the sending server is `admin.example.com`, and the receiving server where the images are stored is on `www.example.com`. Same domain, different subdomain. I followed the [instructions here on setting up cross-domain uploads](http://blueimp.github.io/jQuery-File-Upload/), … |
|
Hello Guys, I have tried to make a Pure CSS Menu with Sub-Menus but I am stuck with one small (or big) problem. After I hover over my Link which has a Sub-Menu assigned to it, the Sub-Menu appears but if I try to go on it, it disappears. I … |
|
The strange title comes from a skit by Benny Hill, where he tells his wife all the facts she shouldn't know, but she always answers "I know! I know!" Anyway, this thread is suppose to be a collection of strange facts. Let's have fun! Here are a few facts to … |
|
Hi I was wondering how to do "for" loop in svg, i need it to do something like this: 500 rectangles i rows, simple black rectangels. I did this with Canvas but i dont know how to make it with svg. Could you help me with this?? |
|
I found this game on another forum and found it really very interesting lets start it here :) hope everyone will enjoy it Make a wish, and let the next poster give you some bizarre result based upon your wish. Example: I wish I had a million dollars. Reply: "You … |
|
here is how it goes, I played it on tnbforum.com ask a stupid question, get a stupid answer for example, why do dinosaurs lay eggs cause they are permanent why don't you lay eggs ...and so on I'll start why is the sky blue? |
|
Here is my code: require_once("PHPMailer/class.phpmailer.php"); $mail = new PHPMailer(); // set authentication $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = "tls"; $mail->Host = "smtp.gmail.com"; $mail->Post = 587; $mail->Username = "myemail@gmail"; $mail->Password = "myemailpassword"; // set From: $mail->SetFrom("myemail@gmail.com", "First Last"); // set To: $mail->AddAddress("adifferentemail@yahoo.com", "First Last"); // set Subject: $mail->Subject = "Subject"; // … |
|
I have the following field in a jsp page.. <select size="1" name="typ"> <option value="C">Coffe</option> <option value="T">Tea</option> </select> Now when the user selects Coffeand and clicks submit, I want the page to go to Coffe.jsp and when Tea is selected , i want it to go to Tea.jsp I tried … |
|
how to insert data into mysql database using a textbox in php? |
|
I have a toshiba and recently my computer screens turns completely off when it goes to the login screen but i can still here the sounds and everything the screens just turns off but the laptop is still on, but the weirdest thing is when i shut it down by … |
|
How to create a apache upload form. . |
|
Dear all, I am learning html5 recently and stuck with one problem. Is it possible to add 4 different videos on same location with different extension of oog and mp4 inside a single <video> tag? If it is, then i have 4 video files that should be play with using … |
|
INSERT into tbl_inquiry (name,phone,email,subject,message) values ('apoorva','000012345','email@email.com','subject','hi what's up') |
|
Hi everyone, thanks for reading and replying to this dummy question. I have a script that open a javascript alert box - what I would like to do is after clicking the "OK" button is to direct the user to a new page. the alert is working, just when I … |
|
It's time yet again for a DaniWeb Developer Competition!! This time the goal is to utilize [our new API](http://www.daniweb.com/api/home) launched last month. There's a lot that you can do with our API. Essentially it allows your application (web, desktop, mobile, etc) to tap into DaniWeb's backend. Your own application can … |
|
Hi Friends; I have experience in PHP programming language started to be proficient with the more recent and would like o make a site like this http://www.yorungetur.com In my experience, the best way to learn it in order to win, and how can I do? |
|
how to send an email from localhost xampp?? anyone give me a proper procedure... i'm confused. |
|
Hi How can I pass value of my radio buttons to my form.php code? I will be very thankfull for your answer. <form action="form1.php" method="post"> First name: <input type="text" name="fname"><br><br> Last name: <input type="text" name="lname"><br><br> <h3>What is the best programming language to learn for hacking</h3> Python <input type="radio" name="rb_python" value="Python"><br> … |
|
<?php include("config.php"); if (isset($_POST['submit_val'])) { $cmeal = mysql_real_escape_string($_POST['meal']); $meal = "INSERT INTO ebmealplans( MealPlanName, CreatedOn ) VALUES ( '{$cmeal}', NOW() )"; if(!mysql_query($meal, $link)) { die("Error : " .mysql_error()); } $croom = mysql_real_escape_string($_POST['room']); $ref_key = mysql_insert_id(); $room = "INSERT INTO ebroomtypes( RoomTypeName, CreatedOn ) VALUES ( '{$croom}', NOW() )"; if(!mysql_query($room, $link)) … |
|
Hello all, by using Python, i want to pickup the news titles on http://www.boston.com/yourtown/ and save them into a .txt file. i have 2 questions: 1. how can i have the codes run every 2 hours? 2. how can i have the outputs write into a .txt file? thanks. from … |
|
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 … |
|
Public Class Add_Material_Form Public Sub ComboBoxMaterialClass() Dim MatClassnum As Integer Dim MaterialClass() As String = {"Book", "Dissertation", "Journal", "Theses"} For MatClassnum = 0 To 3 MaterialClass(MatClassnum) = cmbMaterialClass.Items.Add(MaterialClass(MatClassnum)) Next cmbMaterialClass.Text = "Select Material Class" End Sub Private Sub Add_Material_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ComboBoxMaterialClass() End … |
|
<?php $dbc=mysqli_connect('localhost','root','','sam_telephone'); $query="SELECT * FROM master_name"; $result= mysqli_query($dbc,$query); $display=mysqli_fetch_array($result); echo $display['f_name']; /// its show me the result which is fine // but when i apply while loop it does not show any thing. while($y = mysqli_fetch_array($result)){ echo $y['f_name']; } // $y['f_name'] should give me a result becuase it showing me … |
|
I am attemping to paginate for a public salaries database I am building for my newspaper. I have the code figuring out that it should only display X rows, however, each page displays the same rows. I also have noticed that clicking the links I've created for Previous/Next Page only … |
|
So, i am going to be using a php framework to create a blog and i am curious to know what you guys think is the best framework. I, so far, am most satisfied with codeigniter (mostly) and zend. What do you guys think is the best and tell me … |