-
Began Watching unable to save data in php table
<?php $host="localhost"; // Host name $username="user"; // Mysql username $password=""; // Mysql password $db_name="pqa"; // Database name $tbl_name="improvement_plan"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", … -
Replied To a Post in unable to save data in php table
You should **really** consider abandoning the [oudated mysql](http://php.net/manual/en/mysqlinfo.api.choosing.php) in favour of mysqli or PDO. If you make use of prepared statements you won't have to insert the parameters directly into … -
Began Watching Cannot find symbol
Cannot find symbol for a basic java command? import javax.swing.J0ptionPane; public class HelloGUI { public static void main (String[] args) { J0ptionPane.showMessageDialog(null, "Hello, world!"); } } c:\Users\Nathanial\Desktop\myJavaPgms>javac HelloGUI.java HelloGUI.java:1: error: … -
Replied To a Post in Cannot find symbol
That's because you used a 0 (zero) and not an O. -
Began Watching Array List is replacing value at all the index.
Hi guys I am facing issue in an array list where i am putting a value at specified index, but it is replacing all the index value in it. I … -
Replied To a Post in Array List is replacing value at all the index.
Are you sure you are creating a **new** map each time? Keep in mind you're adding a **reference** to the map, not a snapshot of the map itself. If you … -
Gave Reputation to mike_2000_17 in Is lisp a legacy language?
Has Lisp ever really been anything more than an academic language with very little real-life applicability? I know that some software use Lisp-based syntax for their scripting language, and that … -
Began Watching Proportionally fit image into Container ?
Is it possible whether with JS or jQuery to take an image, make it fit a container proportionally if it's too big for the container, then export the results to … -
Replied To a Post in Proportionally fit image into Container ?
You could create/resize it on an HTML canvas and export the canvas to PNG using `canvas.toDataURL("image/png")`. -
Began Watching insurance database software
how do i develop a software for insurance database system -
Replied To a Post in insurance database software
You didn't get an answer in VB.NET and I doubt you'll get one in here. That's like asking how to build a car. Be more specific. -
Began Watching Is this a PHP/Javascript anomoly?
When I remove or comment out the alert statement it fails. $(document).ready(function(){ $('#div_db, #div_tables, #div_data, #div_nav').hide(); $("#div_db").load("generic_get_dbs.php"); $('#div_db').show(); alert('line 5'); }); -
Replied To a Post in Is this a PHP/Javascript anomoly?
By "fails", what do you mean? What comes to mind is the blocking nature of an `alert()`. It blocks execution while awaiting your click. Removing the alert would remove the … -
Began Watching media server, tcp and udp
If you're creating a media server how do you control if the files are pushed out via tcp or udp? Or is that a client thing? I'm currently building a … -
Replied To a Post in media server, tcp and udp
You could use RTP/RTCP over UDP for streaming. If memory serves me right VLC even has (some sort of) support for it. -
Began Watching How can i creat e text file to use as a database in python
Hi everybody. How can i creat e text file to use as a database in python? I want to save my project's data changes into hard disk. What should i … -
Replied To a Post in How can i creat e text file to use as a database in python
If you want to use it as a database, have you considered using sqlite? From what I [gather](https://docs.python.org/2/library/sqlite3.html) its usage is fairly straightforward in Python. -
Replied To a Post in HTML Form , Validate & Preview in Same Page
> using div css and php hahahaha , so much easy than using ajax Yea, silly us for telling you to use this monster: $.ajax({ url: "whatever.php", type: "POST", data: … -
Began Watching ASP.NET MVC5 Identity
I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't … -
Replied To a Post in ASP.NET MVC5 Identity
I've merely dabbled in ASP.NET, wrestling with its quirks and most notably Entity Framework and the use of existing databases. It would have been nice if during my first steps … -
Began Watching creating more than one primary key
sir i am creating a database with name ams and 3 table with name article (fileds id(auto increment),title,image,contents and category) and 2 table login with user passwd as fileds 3rd … -
Replied To a Post in creating more than one primary key
You can't have **multiple** primary keys in a table, you can have a **composite** primary key in a table. The use of multiple auto increment columns eludes me, they would … -
Began Watching How to Overcome from bounce Rate issue?
How to Overcome from bounce Rate issue? -
Replied To a Post in How to Overcome from bounce Rate issue?
Let me guess, self answer following shortly? -
Began Watching hai i get session error when i host my web site how i solve that error
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wwwjjtex/public_html/contacts.php:2) in /home/wwwjjtex/public_html/contacts.php on line 2 AND my code is margin-left: 94px; margin-top: -66px; margin-left: … -
Replied To a Post in hai i get session error when i host my web site how i solve that error
This part `session_start();` is done more than once, I see it on line 11 and 54 (might be even more, I didn't look further). It might also be done by … -
Replied To a Post in How to Auto Get <img id=""> JavaScript
But you would only need the id of the image you want to change then? Not get all the id's and override all of them with the new picture. That … -
Replied To a Post in How to Auto Get <img id=""> JavaScript
What's the intended purpose? Are you trying to set multiple images to the same src given an input? If so, the function I provided is a bit inefficient since it … -
Replied To a Post in How to Auto Get <img id=""> JavaScript
No I think your images will not exist yet when you try to collect them using `var imgs = document.getElementsByTagName("img");`. It depends on where you placed that script block in … -
Began Watching Simple web application
# Heading Here # **Design and implement a simple web application that automates few of the management aspects for the business of your liking.** ## Sub-Heading Here ## Please follow … -
Replied To a Post in Simple web application
> as this is to demonstrate and capture your understanding on the > subject matter. **Your** understanding, not **our** understanding. Read the [rules](https://www.daniweb.com/community/rules). Do work first, then get help. Free … -
Began Watching How to Auto Get <img id=""> JavaScript
On my readURL() function in my scrtipt. I would like to know what would be the best method in being able to auto get the ID from my img tag. … -
Replied To a Post in How to Auto Get <img id=""> JavaScript
You're already using jQuery, have a look at the [selectors](http://api.jquery.com/category/selectors/) it provides. You could use `$(img)` to get all **img** elements. If you only want specific images you could give … -
Replied To a Post in Footer not being going to the bottom
It specifies which sides (both) of the element may not be adjacent to previous floats. Those coffee/phone boxes are floats. -
Began Watching Footer not being going to the bottom
I don't understand what the problem is at all... I can point you to the url [link removed] but I just need people to tell me what html and css … -
Replied To a Post in Footer not being going to the bottom
 Add `clear:both;` to the footer's css. > We can make a website for you in a breeze! Oh the irony. -
Replied To a Post in Just want a little feedback
Ditto, and well done indeed. -
Replied To a Post in Just want a little feedback
Yes he did. I just like his boldness in tractatus, claiming he had solved all philosophical problems. This is how it is, period, no need to waste more time on … -
Replied To a Post in date_diff error
If you know the environment you will be using has PHP 5.3 or greater you can leave out that custom implementation altogether. Assuming `$lastlogin['lastlogin']` is a correct [Date format string](http://php.net/manual/en/datetime.formats.date.php) … -
Began Watching date_diff error
hya all i am getting the error in pic included in this post and i dont know what i could be i have found the following bit of code included … -
Replied To a Post in date_diff error
`if(! function_exists(date_diff) ) ` Basically, your **date_diff** function gets defined **only** if it doesn't yet exist. That way you'll ensure the presence of a **date_diff** function across different (older) PHP … -
Replied To a Post in Just want a little feedback
The way you describe its usage would suggest that a reader seeing **&** expects something uncommon to happen in the right hand part. Whereas I always believed that seeing **&&** … -
Began Watching MySQL server
DELETE * FROM image_upload WHERE image_id=51You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near … -
Replied To a Post in MySQL server
> For the single-table syntax, the DELETE statement deletes **rows** from tbl_name and returns a count of the number of deleted **rows**. What would be the use of a `*`? … -
Began Watching on focus event
This is my Index.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we … -
Replied To a Post in on focus event
`document.getElementById('<%= rpwd%>').focus();` Why not just put "repeatpassword" there like you did on other occasions. Also, you don't need a `<script>` block for every function. If you want to generate that … -
Gave Reputation to muhammad_74 in Need professionals help...!
Those are silly books...! -
Began Watching Need professionals help...!
Hi,programmers Need pdf book to learn java as 14 year old student...! My 5 months holidays are coming and i want an easy pdf book for learning java.Just give me … -
Replied To a Post in Need professionals help...!
That site has books that can be: 1. Downloaded 2. Bought on paper 3. Read online Did you even take the time to look at them? People can learn programming … -
Replied To a Post in Just want a little feedback
> but I could not figure out how to test the value of the user input along with the isValid(String test) method Why not use two? A number and a …
The End.