i get an error now
array(1) { ["vote_3"]=> string(0) "" } Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in C:\xampp\htdocs\example\includes\featured.php:12 Stack trace: #0 C:\xampp\htdocs\example\index.php(31): include() #1 {main} thrown in C:\xampp\htdocs\example\includes\featured.php on line 12

hahaha i wrote that just for fun :D but i wont lie, its for spamming goals and learnign purposes.. i just wanna test it out how it will handle the work

EDIT I saw that post on some forum so i though i will write it here too i laughted so much :D

Reverend Jim commented: Yeah. Despicable. +0

To spam the sh*t out of blogs/social networks with CPA offers because i need some bucks to buy internet stuff..

Reverend Jim commented: That's actually pretty despicable. -3

nope i dont have any code, am searching for one or fully working program for that requirement...

bump.

Someone ?

I have two questions does its possible to encrypt get parameter same like the passwords are? If NO whats the best method to do it i have simple parameter articleID=1, i want to encrypt the number which user is not able to see it or hack it so should look something like this articleID=jt8asd9HG43u52Jh1jk94X

Hello guys i want to make inputbox which will autocomplete the started word so you know what i mean like google, facebook who have autocomplete but i have a little problem i have searched and found some plugins and tutorials but actually none of them work i dont know why, maybe its because my old code i would like someone take a look at my code and tell me if is there some bad code which stops the autocomplete.

<script type="text/javascript">
        $(document).ready(function(){
            $('input.typeahead').typeahead({
                name: 'accounts',
                local: ['Audi', 'BMW', 'Bugatti', 'Ferrari', 'Ford', 'Lamborghini', 'Mercedes Benz', 'Porsche', 'Rolls-Royce', 'Volkswagen']
            });
        });  
    </script>
    <style type="text/css">
        .bs-example{
            font-family: sans-serif;
            position: relative;
            margin: 100px;
        }
        .typeahead, .tt-query, .tt-hint {
            border: 2px solid #CCCCCC;
            border-radius: 8px;
            font-size: 24px;
            height: 30px;
            line-height: 30px;
            outline: medium none;
            padding: 8px 12px;
            width: 396px;
        }
        .typeahead {
            background-color: #FFFFFF;
        }
        .typeahead:focus {
            border: 2px solid #0097CF;
        }
        .tt-query {
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
        }
        .tt-hint {
            color: #999999;
        }
        .tt-dropdown-menu {
            background-color: #FFFFFF;
            border: 1px solid rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            margin-top: 12px;
            padding: 8px 0;
            width: 422px;
        }
        .tt-suggestion {
            font-size: 24px;
            line-height: 24px;
            padding: 3px 20px;
        }
        .tt-suggestion.tt-is-under-cursor {
            background-color: #0097CF;
            color: #FFFFFF;
        }
        .tt-suggestion p {
            margin: 0;
        }
    </style>

<!-- ADD TICKET BOX -->
    <div class="modal fade" id="addTicket">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">Add Ticket</h4>
                </div>
                <div class="modal-body">
                    <div class="container-fluid">
                        <div class="form-group">
                            <div class="col-xs-3">
                                <p><input ...

Just and example

public Account(String username) throws FileNotFoundException, IOException {
        this.username = username;

        File folder = new File("C:\\"+username);
        File file = new File(folder, username + ".txt");

        FileReader freader = new FileReader(file);
        try (BufferedReader breader = new BufferedReader(freader)) {
            String line;
            String[] parts;
            String key, value;
            while ((line = breader.readLine()) != null) {
                parts = line.split("=");
                key = parts[0].trim();
                value = parts[1].trim();
                switch (key) {
                    case "Name":
                        name = value;
                        break;
                    case "Password":
                        password = value;
                        break;
                    case "Security Code":
                        securityCode = value;
                        break;
                    case "Card ID":
                        cardID = value;
                        break;
                    case "Admin":
                        admin = Integer.parseInt(value);
                        break;
                    case "Bank Rob":
                        bankrob = Integer.parseInt(value);
                        break;
                    case "Credit":
                        credit = Integer.parseInt(value);
                        break;
                }
            }
        }
    }

Name = Stefan
Age = 20
etc..

JamesCherrill commented: Does not answer the OP's question +0

Im using this on my game quiz.. hope it will help you too:

String[] questions = {
    "What year is launched Facebook ?", // 0
    "What year is born Michael Jackson ?",// 1
    "Which are the owner's of Google ?"
};
String[] answers = {
    "2004", // 0
    "1958", // 1
    "larry page and sergey brin"
};

int questionNumber;

final void setQuestion(int nr) {
    questionNumber = nr;
    question.setText(questions[questionNumber]);
}

void chooseNewQuestion() {
    Random rand = new Random();
    int nr;
    do {
        nr = rand.nextInt(questions.length);
    } while (nr == questionNumber);
        setQuestion(nr);
    }

/*void changeQueston() {
This is for timer if you want to change the question if is not answered in certain time But you have to build the timer by your self...

    question.setText(questions[questionNumber]);
    if (TimerTime >= 3) {
        setQuestion(WIDTH);
    }
}*/

and put theese into public qsez1()

public qsez1() {
    initComponents();
    //changeQueston(); 
    getContentPane().setBackground(new Color(255,51,51));
    setQuestion(0);
    setResizable(false);
}
JamesCherrill commented: Completely fails to address the OP's question -3

nope it gives me error Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT Username, 'VladoRafa', Date, ticket_id, match1, match2, match3, match4, m' at line 2 in

It doesn't work i tryed different ways of that but neither works.. so im asking everyone who can help me with this problem does i can contact with she/him on Skype ? Facebook ? so i can get a better response from the helper. Thank you very much.
My skype is: stefanrafaa
and facebook: Facebook