181 Posted Topics

Member Avatar for Stefce

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, …

Member Avatar for rproffitt
-1
743
Member Avatar for Stefce

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 …

Member Avatar for Stefce
-1
2K
Member Avatar for Stefce

I have wierd problem the navigation is working good everywhere but on `home.php` file it doesnt work when i press the MORE button to open the dropdown here is my code, what can cause this problem ? sidebar.css body,html{ height: 100%; } /* remove outer padding */ .main .row{ padding: …

0
149
Member Avatar for Stefce

Here is the error it gives me Warning: mysqli::query(): Couldn't fetch mysqli in C:\xampp\htdocs\bootstrap\tickets_info.php on line 27 db problem. Warning: main(): Couldn't fetch mysqli in C:\xampp\htdocs\bootstrap\tickets_info.php on line 31 Fatal error: Wrong SQL: SELECT `Uplata`, `Dobivka`, `Date`, `sharedTime`, `match1`, `match2`, `match3`, `match4`, `match5`, `match6`, `match7`, `match8`, `match9`, `match10`, `match11`, `match12`, …

Member Avatar for Stefce
0
474
Member Avatar for modernfrt

I think this should help you [JDBC Connection](http://www.tutorialspoint.com/jdbc/jdbc-sample-code.htm) and also you have another way of doing this, you can use URLConnection, i like more this way i dont know why :)

Member Avatar for stultuske
0
6K
Member Avatar for Stefce

I have host on 000webhost when i will try to connect it gives me this error i cannot figure out whats the problem ? `Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/1130): Host '31.170.161.176' is not allowed to connect to this MySQL server in /home/a2548020/public_html/includes/connection.php on line 6` here is my connection script <?php …

Member Avatar for Stefce
0
347
Member Avatar for Stefce

Hello im building messages page, i want to make it when the sender of the ticket is pressed to show the ticket from that sender so i have two files `messages.php` and `m.php` in messages.php are the the buttons for the senders and in m.php are the tables for the …

Member Avatar for RudyM
0
228
Member Avatar for Stefce

Hello everyone, im thinking how to make car engine sound on button click... my idea is when i click the button to be the same as you click on the gas pedal the engine starts to make sound (i know its not possible that with keyboard key) BUT i think …

Member Avatar for rproffitt
0
340
Member Avatar for Stefce

Im making search button and i want when user is searched to give all tickets received by that user i have this code but its just showing the last record of that db table and if i try to search other users gives me `No ticket received from that user.` …

Member Avatar for Stefce
0
152
Member Avatar for Stefce

I'm really confuzed about this problem i have the same code on all files and is working fine but just it does problem on `home.php`. The problem is that the dropdown menu doesn't showing here is the code please take a look and tell me what wrong am doing ? …

0
168
Member Avatar for Stefce

Hello i want to make notification when new message is received, i have a row `seen` with values `0` and `1` if is 0 then its unread else is seen i got this code but when it displays the output shows the number of rows but for example i have …

Member Avatar for Stefce
0
302
Member Avatar for Stefce

Hello i want to make like button so i need to `INSERT`, `SELECT` and check does already exists the record i have this code: **likes.php** <?php require 'connect.php'; require 'core.php'; require_once 'functions.php'; $user = getUserData('users', 'UserUsername'); if(isset($_GET['type'], $_GET['id'])){ $type = $_GET['type']; $id = (int)$_GET['id']; switch($type) { case 'ticket': $sql = …

Member Avatar for ryantroop
0
286
Member Avatar for Stefce

How can i get the end of the month or the beggining of the month to create a new table for records ? i have this code but it gets the current month... <?php $user = getUserData('users', 'UserUsername'); $sql = "SELECT `ticket_id`, `Uplata`, `Dobivka`, `Date` FROM `kladilnica` WHERE `Username`='$user'"; $result …

Member Avatar for Stefce
0
312
Member Avatar for Stefce

How can i check if username and email exists i have this code but its only checking the email not the username... $sql = "SELECT `Email`, `UserUsername` FROM `users` WHERE `UserUsername`='".$user."' AND `Email`='".$email."'"; $result = $conn->query($sql); if($result->num_rows >= 1) { echo "Email or Username already exist, try something else."; } …

Member Avatar for saheedriswan
0
13K
Member Avatar for Stefce

Why i get these errors when i open the page but when i try to upload it works fine ? <?php function upload_images() { $target_dir = "uploads/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION); // Check if image file is a actual image or fake image …

Member Avatar for Stefce
0
495
Member Avatar for Stefce

Hello everybody im thinking about how AI works and actualy im really confuzed and scared at the same time, so me as low programmer i know how the computers work, first you write the program than you give him input and it gives you output based on what you insert …

Member Avatar for rproffitt
0
411
Member Avatar for Stefce

How can i change the colors of the panels with css every panel to have different color on hover, i have this code: <div class="container"> <div class="row"> <div class="col-sm-4"> <a href="#"> <div class="panel panel-default trending"> <div class="panel-body"> <center> <img src="images/trending.png" alt="Trending"> <h2>Trending</h2> </center> </div> </div> </a> </div> <div class="col-sm-4"> <div …

Member Avatar for gentlemedia
0
3K
Member Avatar for Stefce

Hello guys i want to ask how can i update my website, i want to make website for random posts updates but im confuzed in creating it. My question is how can i add new posts, do i need to create html files everytime i write new post and update …

Member Avatar for diafol
0
187
Member Avatar for jelly46

Here is an example, just add word `global` $var = "Mercedes"; function checkcar() { global $var; if("Condition") { $var = "BMW"; } }

Member Avatar for urtrivedi
0
203
Member Avatar for Stefce

How can i stick the footer at the bottom of thumbnail i cannot find anything on google here is the code HTML <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><b>Related Links</b></h3> </div> <div class="panel-body"> <ul class="equal-height-thumbnail"> <li> <figure><img src="http://www.htmllion.com/img/thumb.jpg" alt="Equal height of thumbnail"></figure> <div class="caption"> <p>Lorem ipsum dolor sit amet, consectetur …

Member Avatar for Stefce
0
552
Member Avatar for Stefce

Hello im using bootstrap and want to make the menu to be sticky i have uploaded the code so you can see it [www.upster.webuda.com](http://www.upster.webuda.com) i want to be like in the login screen at the begining im using the same code for other files but it doesn't work properly someone …

Member Avatar for Stefce
0
233
Member Avatar for Stefce

Hello everyone, first of all i like to say that the new daniweb webdesign is AMAZING i really like it and hope this site it will become number one for programming and if it does please never BAN its users like stackowerflow do but thats other theme.. :D I have …

Member Avatar for Stefce
1
443
Member Avatar for Stefce

I have a problem with installing Android Studio i followed thenewboston youtube channel for installing it and when i try to run it shows me some errors: `C:\Users\MONSTER\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus -netspeed full -netdelay none emulator: ERROR: This AVD's configuration is missing a kernel file!! emulator: ERROR: ANDROID_SDK_ROOT is undefined` i …

Member Avatar for samantha2015
0
290
Member Avatar for hwoarang69

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()) != …

Member Avatar for Stefce
0
222
Member Avatar for EarhawkPH

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", // …

Member Avatar for Stefce
0
268
Member Avatar for Stefce

Hello everyone i have a problem with my application `onMarkerClick` it works well till i click the marker second time the application crashes here is the code: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { @Override public boolean onMarkerClick(Marker marker) { builder.setTitle("Set radius in meters:"); builder.setMessage("Info: The radius is set by default on 500 meters"); …

Member Avatar for Stefce
0
388
Member Avatar for Stefce

Hello guys i have problem with my app, its all done but just need one more thing.. to run in background so it can start the alarm and send notification to the user... i saw much tutorials on internet but damn it i can't understand it is there some good …

Member Avatar for Stefce
0
186
Member Avatar for Stefce

Hello guys i have a really dumb problem i have two classes the first class is where the input value needs to be applied/readed and the second is where is inputed i do not know how to do that please someone help me This is where it is inputed the …

Member Avatar for Stefce
0
255
Member Avatar for Stefce

I want to create circle around marker but im having some troubles i have this code Circle circle = mMap.addCircle(new CircleOptions() .center(new LatLng(-33.87365, 151.20689)) .radius(10000) .strokeColor(Color.RED) .fillColor(Color.BLUE)); this code is drawing circle around Sydney but i want to create where i place the marker here is the code together with …

0
196
Member Avatar for Stefce

Hello i want to make upload button so users can upload images/gifs/videos/music but i cannot understand how i can do that i fuond a code on w3schools but it just uploads the image to folder in my computer called `/uploads` i want to store the images into database which they …

Member Avatar for jkon
0
607
Member Avatar for Stefce

Hello i have three colums which i want to make users can upload pictures/videos and automaticly to add to one of the colums but i cannot figure out how to do that... here is the HTML code i have <div class="main"> <div class="row"> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-body"> …

Member Avatar for pritaeas
0
182
Member Avatar for Stefce

I have a problem with this code and i really can't understand what is it.. i have unique ID for every ticket and it works good but i have made a button to open a `modal (#myModal)` and from there to send the ticket to some username but the problem …

Member Avatar for jkon
0
1K
Member Avatar for Stefce

Hello everyone i started learning bootstrap for a while and i want to make close button for div boxes i have this code but the X button doesn't work: <div class="panel panel-default"> <table class="table table-hover"> <thead> <tr style="background-color: lavender;"> <th><button type="button" class="btn btn-primary btn-xs">Share</button></th> <th><a href="#" class="close" data-dismiss="panel" aria-label="close" id="hide">&times;</a></th> …

Member Avatar for Lau_1
0
924
Member Avatar for Stefce

Hello everyone i really need some help about my website structure.. i have almost the full website but the structure is too bad and i cannot continue working... is there some good man/women to help me about it ?

Member Avatar for pacav69
0
418
Member Avatar for Stefce

i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, match7, match8, match9, match10, match11, match12, match13, match14, match15, match16, tip1, tip2, tip3, tip4, tip5, tip6, tip7, tip8, tip9, tip10, …

Member Avatar for pritaeas
0
212
Member Avatar for Stefce

I have this code for checking the username and ticket availability but something doesnt work well if someone can tell me whats the problem, this error shows me if i enter the right info `Invalid Ticket or Receiver` here is the code: <?php if(isset($_POST['sendTicket'])) { $ticketID = $_POST['ticketID']; $ticketReceiver = …

Member Avatar for cereal
0
443
Member Avatar for Stefce

Why i get this error `Notice: Trying to get property of non-object in C:\xampp\htdocs\asdf\navigation.php on line 214` i have this code: <?php if(isset($_POST['sendTicket'])) { $ticketID = $_POST['ticketID']; $ticketReceiver = $_POST['ticketReceiver']; $ticket_id = getUserData('kladilnica', 'ticket_id'); $sender = getUserData('users', 'Username'); if(!empty($ticketID) && !empty($ticketReceiver)) { $sql = "INSERT INTO ticket (senderName, receiverName, Date, …

Member Avatar for Stefce
0
550
Member Avatar for Stefce

Hello i cant understand how i can send database info to user for example i want to send my note which contain (date, text, title and other info) and this info is under ID for ex. (123456) please someone explain me how i can do that or help me thank …

Member Avatar for diafol
0
332
Member Avatar for Stefce

Hello everyone im working on like button which im a little confuzed with my problem i have this sql and im only able to like the tickets which are in my account $sql = "UPDATE `kladilnica` SET Liked = Liked+1 WHERE ticket_id = '".$like."' AND Username = '".$user."'"; but without …

Member Avatar for JorgeM
0
281
Member Avatar for Stefce

Hello i want to make to show adds but on every 10th ticket i have tried with for loop but its adding too much adds here is the code: if($is_active == 1 && $is_shared == 1) { for($i=0; $i <= 1; $i++) { echo "<table id='t01' style='margin: 5px;'><tr><th colspan='2'>Publisher: $publisher …

Member Avatar for Stefce
0
236
Member Avatar for rosario1990

I'm pretty sure that there is no software for likes because that is illegal by facebook terms and if there is the page will be delited immediately.

Member Avatar for sunil78
0
250
Member Avatar for Stefce

Hello everyone i have a little problem over here im making share button so i want to update the database on the column 'isShared' with value `1` so here is my code but it doesnt work, all the time is showing me `Already shared ticket!` Here is the code: if(isset($_POST['share'])) …

Member Avatar for diafol
0
298
Member Avatar for Stefce

Hello guys i have a big problem over here and and wierd i think, when im trying to add some info into database it works well i have 32 input fields (16 for matches and 16 for match tips) and when i will enter in each some info for ex. …

Member Avatar for Stefce
0
310
Member Avatar for LucianoLL

I play Counter Strike 1.6 sometimes when its way too much boring and there is not more "work" for me :P

Member Avatar for pixelsoul
0
145
Member Avatar for Stefce

Hello everyone i want to make a random number generator and also to check the numbers, and if that number exist in the database than to generate other number... thank you :)

Member Avatar for harishprakash
0
391
Member Avatar for Stefce

Hello everyone have a nice day or night where ever you are so i hope i will have a great night if i fix this problem i have right here :D i have a array list with some match tips and i have a 16 input fields so i want …

Member Avatar for Stefce
0
215
Member Avatar for Stefce

I have a little problem over here this code doesn't work well what is the problem if anyone know ? $getUsername = getUserData('Username'); $sql = "INSERT INTO `kladilnica` VALUES ('', '".$getUsername."', '".$betAmouth."', '".$gain."', '".$date."', '".$match1."', '".$match2."', '".$match3."', '".$match4."', '".$match5."', '".$match6."', '".$match7."', '".$match8."', '".$match9."', '".$match10."', '".$match11."', '".$match12."', '".$match13."', '".$match14."', '".$match15."', '".$match16."', …

Member Avatar for broj1
0
222
Member Avatar for Stefce

Hello is there a way of checking the input field have a value but with out clicking a button, for ex. if i write any letter inside the field to give me result for example `hello` or something else...

Member Avatar for diafol
0
261
Member Avatar for Stefce

Hello i have this code and something isn't working but i dont know what, the code it does not updating the database at all and i don't get any errors. <?php if(isset($_POST['howMuch']) && isset($_POST['where'])) { $howMuch = $_POST['howMuch']; $where = $_POST['where']; if(!empty($howMuch) && !empty($where)) { $user_mBalance = getUserData('payCheck'); if($howMuch > …

Member Avatar for broj1
0
460
Member Avatar for Stefce

I uploaded the files into my hosting server and im getting this error when i want to open my site what is the problem ? Im using `index.php` but i think that should not be the problem ?

Member Avatar for Stefce
0
207

The End.