No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
Re: ANOTHER GREAT BOOK IS C++ PRIMER recommended also , if you have not, check out thenewboston.com hes has programming tutorials for a lot of languages including c++ there all videos!! | |
i need help, i want to pass a value to javascript from php and it keeps giving me "null". i want to get what picture the user selected. [CODE] <?php mysql_connect('localhost','root',''); mysql_select_db("ajax"); $query="SELECT * FROM xxxx"; $result= mysql_query($query); while($row= mysql_fetch_array($result)){ $rating=$row['ID']; echo "<img src =\"" .$row['filepath']."\" /><br/><a id=".$row['ID']." value='rating' onclick='getrating();'> … ![]() | |
I want to make a rating system that uses ajax for the rating. i use php and call all of the images, then i want to use ajax to post all the votes to a php script. However, i dont know how to get the elements. I want to be … | |
Hello, i need help on writing a code that can stop a person from voting twice. such as by refreshing the page, clicking back, or clicking on the button again. can anyone help? thanks heres my voting code so far, it works but user can double vote. [ICODE]<?php $con= mysql_connect("xxxxx","xxxxx","xxxxx"); … | |
Re: get the real name with the stripslashes function then use this [CODE]$query = "INSERT INTO table(filepath) VALUES('$imagedir$realname')"[/CODE] then you can use the a loop to get the images out. [CODE]while <img src...../>[/CODE] | |
im trying to make a rating system where the user can either "like" or "dislike" a picture. but for testing im just using 2 names from a mysql database. once the user hits like, the query will add 1 to the column "name_votes", and would subtract 1 if the user … | |
i made a rating system, however each time i would click on like for the first name, it counts the vote for the second name, and when click on the like for the second name, it still counts the vote for the second name. please help. [CODE]<?php include 'connection/connection.php'; $selection … | |
how do i acces a persons webcam with php, such as the one from chatroullette ![]() | |
i just downloaded qt and i dont know how to build in qt, it keeps saying: Could not find make command: mingw32-make.exe in the build environment Error while building project case (target: Desktop) When executing build step 'Make' Could not find make command: mingw32-make.exe in the build environment Error while … | |
how can a user be able to type what ever he wants such as " i went to the park...", i tried to do it but with my string variable it only read the first word typed in, such as i in this case. please help. | |
how can i use a string in a switch statement? | |
can someone help me, each time i send my friend a program he says tht the windows goes away once he enters something. please help. | |
im having this problem when i try to add [CODE] m + 1 = k;[/CODE] it says this- *lvalue required as left operand of assignment* in my compiler, please help. dont mind the unfinished code. [CODE]#include <iostream> using namespace std; int main() { double b, m, k; string x; b … | |
how would be able to display all the names a user entered. the user entered the names through a while loop | |
how can i display all the account numbers that have been entered. it only shows the last account number entered, not any before it. heres the code- [code] #include <iostream> using namespace std; int main() { double deposit; double previous; double newtotal; double withdraw; int total; int number; int res; … | |
i made a bank program, it askas the users to put in their account number. it works with a while loop. i ask for the person to enter 1 to start or 0 to stop. i need help on how to display all the account numbers that were entered once … |
The End.