• Member Avatar for Traevel
    Traevel

    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", …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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: …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Cannot find symbol

    That's because you used a 0 (zero) and not an O.
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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")`.
  • Member Avatar for Traevel
    Traevel

    Began Watching insurance database software

    how do i develop a software for insurance database system
  • Member Avatar for Traevel
    Traevel

    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.
  • Member Avatar for Traevel
    Traevel

    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'); });
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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.
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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.
  • Member Avatar for Traevel
    Traevel

    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: …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    Began Watching How to Overcome from bounce Rate issue?

    How to Overcome from bounce Rate issue?
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to Overcome from bounce Rate issue?

    Let me guess, self answer following shortly?
  • Member Avatar for Traevel
    Traevel

    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: …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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. …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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.
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Footer not being going to the bottom

    ![2015-01-12--1421092540_1051x112_scrot.png](/attachments/large/2/33808a36affa448d7d0a38479b9f1019.png "align-center") Add `clear:both;` to the footer's css. > We can make a website for you in a breeze! Oh the irony.
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Just want a little feedback

    Ditto, and well done indeed.
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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) …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 **&&** …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 `*`? …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    Gave Reputation to muhammad_74 in Need professionals help...!

    Those are silly books...!
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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 …
  • Member Avatar for Traevel
    Traevel

    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.