• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to convert php array to json array

    http://php.net/manual/en/function.json-encode.php
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in health

    This happened to my uncle not too long ago. He chose to die. I must say, it was very impressive to hear someone say that. And then, all respect to …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Not sure how to approach what I want to do

    Ok, you can go that way too. <select name="availablePets" id="availablePets" size=10" onchange="getPetDetails()"> <script type="text/javascript"> function getPetDetails() { // get the selected pet var selectedOption = $('#availablePets').val(); $.ajax({ url: 'your.php', data: …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in creating a blog type website

    > I'm assuming i'll need a separate page for writing and uploading posts and then the page that users will view? Correct. It isn't very hard to get a basic …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Not sure how to approach what I want to do

    $('select').on('change', function () {}); Basically, just the event name differs.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Not sure how to approach what I want to do

    > I gather that I will need to probably use jquery to do a ajax post to trigger the PHP? Correct. What kind of list are you using, an `li` …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Generate new activation key everytime

    Technically the same hash can still be generated for different emails (`$actkey` is not 100% guaranteed unique, the email itself probably is), and the same hash for a different random, …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Generate new activation key everytime

    Use a `do .. while` loop to keep trying until it succeeds. Make sure to add an escape (e.g. at 100 tries) to break the loop to avoid a hang.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Generate new activation key everytime

    Does it really matter? Usually the activation key is used once in conjunction with the email address, a combination which is probably unique already. Apart from, my personal solution would …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Creating and Using Variables in SQL (TOAD)

    > Can I create a variable in TOAD/SQL to prompt for a date > I saw this but didn't understand what any of that meant. So I'm back to square …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I might drive you around one day!

    Congrats dr.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello world

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Creating and Using Variables in SQL (TOAD)

    Is this what you mean: http://www.toadworld.com/products/toad-for-oracle/f/10/t/10764.aspx
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Jquery gallery

    > I wonder why none of these works well Probably because you've only defined `data-category` and none of the others (e.g. `data-branding`).
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in AJAX Controls with wrong reference in designer

    Does [this fix](http://stackoverflow.com/questions/3503155/asp-net-updatepanel-library-reference-errors) help perhaps?
  • Member Avatar for pritaeas
    pritaeas

    Marked Solved Status for Audio mix/fade

    Hi. We're looking into building an easy to use audio player to use at parties. BPM Studio works great, but most people don't know it and have trouble using it. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Audio mix/fade

    Thanks for those tools anyway, very good to know. We have found a way with NAudio, so sticking with that for the moment.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I am newbie in this giant forum

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Edited NP vs NP-Complete vs NP-Hard — what does it all mean?

    What are the differences between NP vs NP-Complete vs NP-Hard ? I am aware of many resources all over the web. I'd like to read your explanations to undrestand better
  • Member Avatar for pritaeas
    pritaeas

    Edited fa = eval(Evaluar.funcion, {"__builtins__":None}, Evaluar.dicc_seguro) Fi

    #!/usr/bin/python import Evaluar from pylab import * from numpy import * def biseccion(a, b, TOL, N): Evaluar.dicc_seguro['x']=a fa = eval(Evaluar.funcion, {"__builtins__":None}, Evaluar.dicc_seguro) vectorx = zeros(N, Float64) vectory = zeros(N, Float64) …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in php variables in different format

    > I own the code but the developer intentionally obfuscated the code. Looks like he disagrees...
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in php variables in different format

    That is obfuscated code, somehow I doubt it's yours. If it is, just start renaming.
  • Member Avatar for pritaeas
    pritaeas

    Edited Beware of the bunny

    Just came across this funny description about runaway code: http://www.nczonline.net/blog/2015/05/14/the-bunny-theory-of-code/ I'm guilty in enabling such bad habits at times (copying without questioning), who else? Just be careful it doesn't turn …
  • Member Avatar for pritaeas
    pritaeas

    Created Beware of the bunny

    Just came across this funny description about runaway code: http://www.nczonline.net/blog/2015/05/14/the-bunny-theory-of-code/ I'm guilty in enabling such bad habits at times (copying without questioning), who else? Just be careful it doesn't turn …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Audio mix/fade

    Came across that today too, looks good for personal use, but still too advanced to be used by anybody.
  • Member Avatar for pritaeas
    pritaeas

    Created E-books

    https://www.packtpub.com/packt/offers/free-learning Packt is giving away a free e-book on a daily basis. Visit daily and add to your account is all you have to do.
  • Member Avatar for pritaeas
    pritaeas

    Edited Window 8.1

    I use windows 8.1 with MS word 2010.Every time I open a word documet it copies itself with the title's first 2 words altered to a dollor sign($) and ~. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in FetchAll vs while loop

    Do you need them all on a single page?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help

    Use a search engine, plenty of contests available.
  • Member Avatar for pritaeas
    pritaeas

    Edited Getting Started With C# - The List

    There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in FetchAll vs while loop

    Both retrieve all data from your query. The better optimized your query, the less traffic you have.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Audio mix/fade

    > Do you have language/platform restrictions? C# is one. I am not the main coder. Just at the sideline looking into issues. Had a quick glance at PortAudio, but I …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in getting css codes of a web page with php

    Am sure the next thing is "I need the images and downloads in all links too". Why not use a tool like `wget`, you can call it if you have …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Mysqli error

    You are still missing the single quotes around your dates.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Validation Applying in mvc

    Hmz, looks okay as far as I can tell. Unfortunately I cannot test your code right now. A workaround can be to use `ModelState.AddModelError()`
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in error detected after uploading my ASP.NET site to a host

    <%@ page language="C#" autoeventwireup="true" inherits="welcome, App_Web_tuwlsmxq" %> Do you have the `welcome, App_Web_tuwlsmxq` in your own code? `Inherits` should contain the class name of your page.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Html

    They mean nothing, it's an ASP feature to write code in a HTML page.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Mysqli error

    You are missing single quotes around your dates.
  • Member Avatar for pritaeas
    pritaeas

    Edited Audio mix/fade

    Hi. We're looking into building an easy to use audio player to use at parties. BPM Studio works great, but most people don't know it and have trouble using it. …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Audio mix/fade

    Hi. We're looking into building an easy to use audio player to use at parties. BPM Studio works great, but most people don't know it and have trouble using it. …
  • Member Avatar for pritaeas
    pritaeas

    Created Audio mix/fade

    Hi. We're looking into building an easy to use audio player to use at parties. BPM Studio works great, but most people don't know it and have trouble using it. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in move_uploaded_file Problem

    > It should work out fine, right? No. On the webserver it should also be an absolute path, but that depends on your host. On mine it's something like: /home3/prit/public_html
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in move_uploaded_file Problem

    I think you need to prepend `$destino` with `/wamp/www/`
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to display button using bootstrap css?

    https://developer.mozilla.org/en-US/docs/Web/CSS/min-width
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in move_uploaded_file Problem

    > Sorry, is the same error Show it anyway please.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in If Else statement

    Execute a query that searches for your ID (I don't know which table you want to search), and if it returns a record, then it exists.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get multiple but not all rows of MySQL DB in array

    The fetch functions return one row of the result set, which is returned by a query you execute against that big table. Make the right query so the database server …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in move_uploaded_file Problem

    > It doesn't work What doesn't work? Same error? Different one? Doesn't work is too vague.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Mayweather v Pacquiao

    > No other fighter really does this with such mastery IMO Klitschko does too (although I don't remember which one it was, I think Wladimir), last match I saw of …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Timer method

    > Assuming this is the type being passed to the stored procedure? Correct.

The End.