• Member Avatar for phorce
    phorce

    Began Watching Why won't my code compile? Please help

    Hi All, I've just joined your community hoping to get help with Visual C++ and Visual Studio 2008. I'm not much of a developer and different people were putting this …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Why won't my code compile? Please help

    Hey, No-one would give you their email and you sending them across any source code. You haven't answered the right questions; or, given any indication in your post. Why doesn't …
  • Member Avatar for phorce
    phorce

    Began Watching Convertion

    Hi really need help. I'm new to programming and my teacher just gave a problem program "Conversion from any base to base 10" . So search in google and find …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Convertion

    You have just copied the code from somewhere in a hope that it will work? This is a very bad way to solve a problem, and, this has obviously been …
  • Member Avatar for phorce
    phorce

    Began Watching problem in maintain local position and distance

    HI, the imput of my algortihme is C1,C2,C3,C4,C5,C6,C7, Target where the aim is : -C7 will be in target Position -C1 d'ont change it's position - keep the distance and …
  • Member Avatar for phorce
    phorce

    Replied To a Post in problem in maintain local position and distance

    I have no idea what you are trying to do, or, what you are trying to convey in this post. Are you trying to calculate the velocity, or change in …
  • Member Avatar for phorce
    phorce

    Began Watching Internet traffic simulation and modelling

    Hi, please help me writing Internet traffic simulation and modelling in c++. i dont now how start . if anyone now tutorial, or link please pos here. Thanks
  • Member Avatar for phorce
    phorce

    Replied To a Post in Internet traffic simulation and modelling

    What are you actually simulating though? This would help
  • Member Avatar for phorce
    phorce

    Began Watching Birthdays

    I have another birthday anniversary today, I'm now only 39, with 32 years of experience.
  • Member Avatar for phorce
    phorce

    Replied To a Post in Birthdays

    Happy birthday :) hope all your wishes cone true; celebrate well!
  • Member Avatar for phorce
    phorce

    Began Watching AGE calculation giving difference in Days

    Hello Below is the code by which I trying to get AGE of students as on 31-March of current year in this format -> 6 years, 3 months, 14 days. …
  • Member Avatar for phorce
    phorce

    Replied To a Post in AGE calculation giving difference in Days

    Might be asking a stupid question here, but, why is this in server-side? Since, I'm pretty sure it goes off the time and date set in the server, over what …
  • Member Avatar for phorce
    phorce

    Began Watching Quotations within apostrophes.

    What is the proper format for this code? There seems to be a problem with the session variable <?php $r = mysql_query("select * from tbl_student_master where email='@$_SESSION[email]'") or die(mysql_error());
  • Member Avatar for phorce
    phorce

    Replied To a Post in Quotations within apostrophes.

    First off, please note that `mysql_*` functions are soon to be removed from the standards. To answer your question, you can do the following: <?php $email = $_SESSION['email']; $query = …
  • Member Avatar for phorce
    phorce

    Gave Reputation to userasad in please help me

    Pass hight and width to that function. rectangle(9.3,4.2); float rectangle(float h, float w) { float ans; ans=h*w; return ans; }
  • Member Avatar for phorce
    phorce

    Began Watching 30 year old newbie

    I'm a 30 year old full time worker trying to learn programming late in life. I just wanted to know what programming language is the best to start learning. And …
  • Member Avatar for phorce
    phorce

    Replied To a Post in 30 year old newbie

    It really depends on the things that you are wanting to do. Programming in general is a very broad subject. If you are into web development then it might be …
  • Member Avatar for phorce
    phorce

    Began Watching Issue to due with line breaks in urls

    Hi, Please see the following thread. http://www.daniweb.com/software-development/cpp/threads/471992/c-graeffes-square-root-method
  • Member Avatar for phorce
    phorce

    Replied To a Post in Issue to due with line breaks in urls

    I'm confused?
  • Member Avatar for phorce
    phorce

    Began Watching C++ square problem

    The part for(int i=1; i<n; i++) { x[i]=sqrt(y[i]*i); cout<<"x"<<i<<": "<<x[i]<<endl; } isn't working wll, for some elements the result is non, i thought that i because the numbers are complex, …
  • Member Avatar for phorce
    phorce

    Replied To a Post in C++ square problem

    What is it that you are trying to do? If you are trying to square each element in the vector/array then it would be `y[i]*y[I]` but I doubt that's your …
  • Member Avatar for phorce
    phorce

    Created Striding windows - Splitting vector

    Assume that I have a vector: x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] What I need to do is split this …
  • Member Avatar for phorce
    phorce

    Began Watching Striding windows - Splitting vector

    Assume that I have a vector: x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] What I need to do is split this …
  • Member Avatar for phorce
    phorce

    Began Watching username or not?

    So I'm creating an online system. Just wondering should I allow for users to have a username or just use their email address as the primary logon? What are your …
  • Member Avatar for phorce
    phorce

    Replied To a Post in username or not?

    Going with @Jorge here, let's say you had just a service where you can only sign in using your username, atleast have an option where the users can enter some …
  • Member Avatar for phorce
    phorce

    Began Watching Computer Simulation for education.. (my final year project) ^^

    Hi! I need help in deciding the topic for my final year project.. my task is to make multimedia content for education. Software that will be used is Macromedia FLASH. …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Computer Simulation for education.. (my final year project) ^^

    @Abdul - I find it really surprising that you have managed to "dig" up a post from 6 years ago
  • Member Avatar for phorce
    phorce

    Began Watching Ideas on third year project

    Hi Everyone I am a first year student but I started thinking about a third year project. I would like to know something that is programming related and less algorithms …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Ideas on third year project

    This is always a good project (http://en.wikipedia.org/wiki/P_%3D_NP_problem) .... Joke. @dean makes some valid points ;D
  • Member Avatar for phorce
    phorce

    Began Watching how to generate pin

    please can anyone help me with the code on how to generate pin.
  • Member Avatar for phorce
    phorce

    Replied To a Post in how to generate pin

    What do you mean by "Pin"?
  • Member Avatar for phorce
    phorce

    Began Watching Things to consider (std::string)

    Hi, I am currently writing a library for dynamic use, and in it I have some string functions. This particular one returns a substring of a given string from the …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Things to consider (std::string)

    To me, it appears that you are passing in too many variables. What do these do? Another thing: //check input is not empty if (String == "") { return 0; …
  • Member Avatar for phorce
    phorce

    Began Watching fast fourier transform in matlab and c

    Can any one help me , i need an algorithm of the fast fourier transform without using fft function .
  • Member Avatar for phorce
    phorce

    Replied To a Post in fast fourier transform in matlab and c

    Yeah, Matlab provides the full source code as well as the algorithms/equations used for FFT. `Open('fft')` `edit fft`
  • Member Avatar for phorce
    phorce

    Replied To a Post in Call to a member function prepare() on a non-object

    Then, what is the error?
  • Member Avatar for phorce
    phorce

    Replied To a Post in Should I get ubuntu?

    @Mike, I kind of disagree with your last post, slightly. I don't think installing Ubuntu on a Virtual box is more effective, since it will be more slower. And, usually, …
  • Member Avatar for phorce
    phorce

    Began Watching Call to a member function prepare() on a non-object

    I have been getting this error. I have no idea what it is. Any help provided would be awesome. `require "connect.php"; $query = "SELECT DVD ID, Name Of the DVD, …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Call to a member function prepare() on a non-object

    I don't think your query is valid: `$query = "SELECT DVD ID, Name Of the DVD, Quantity FROM DVD";` looks too plain english.
  • Member Avatar for phorce
    phorce

    Began Watching Complete PHP logon system

    Guys, I got a quick question, I want to know what you guys use or what resources you have for a complete secure PHP login system. Using salts, hashes and …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Complete PHP logon system

    Would it not just be as effective to write your own?
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    Urgh, I'm guessing on your submit page, you have something like this: `$eve = $_POST['events'];` If so, can you just `var_dump($eve)` where `$eve` is the variable name. I think this …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    Okay! Try this: echo "<option value=\"" . $row['eventName'] . "\">" . $row['eventName'] . "</option>"; If this doesn't work, right click on the page -> view source and post what the …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    Well.. When you print `eventName` what is being displayed? I don't get what you mean..
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    No problem, mark this thread as solved and give rep!! Good luck with this project! Also, learn the difference between `require` and `require_once` And what is the use of this: …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    I don't get what's going on here, dude. First off Sheffield, really? ;) Anyway.. Back on topic: It looks like you're mixing up `PDO` with general `mysql_*` first off, `mysql_*` …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    Are your connection details right? You should be able to access the database. If you're trying to run this script from your own server (i.e. on your machine) and connecting …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    Then your problem is this line: `echo "<option value=\"$row['eventName']\">" $row['eventName']"</option>";` Should be: echo '<option value=' . $row['eventName'] . '>' . $row['eventName'] . '</option>'; If your going to code in PHP, …
  • Member Avatar for phorce
    phorce

    Began Watching Populate HTML dropdown list using value from mysql

    I'm trying to create a dropdown list in a HTML form populated by results for a mysql query. However it is not loading and i am just given a white …
  • Member Avatar for phorce
    phorce

    Replied To a Post in Populate HTML dropdown list using value from mysql

    First off, right click. Is the HTML code being populated with "eventName" if this is a no, then you should attempt to look at the querying of the database (I'm …

The End.