142 Topics
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"> … | |
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 … | |
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">×</a></th> … | |
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 ? | |
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, … | |
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 = … | |
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, … | |
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 … ![]() | |
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 … | |
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 … | |
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'])) … ![]() | |
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. … | |
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 :) | |
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 … | |
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."', … | |
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... ![]() | |
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 > … | |
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 ? | |
Hello i im confuzed with this problem, i have converted the php code into the right format `MySQLi` and i get this wierd error `Notice: Array to string conversion in C:\xampp\htdocs\Training\core.php on line 25` So i dont know where is the problem in the `login.php` or `core.php` look at the … | |
Hello i need little help overhere im confuzed getting user data from mysql database i want to update the `payCheck` column in the database but that column is located in the `receiver` or `where (in the code)` field i have this code please someone help me... <?php require 'connect.php'; require … | |
Can anyone tell me what im doing wrong here ? I just want to detect the last word of the sentence and if not found to show "Not found." here is the code: String[] items = { "Iphone", "Computer", "Car" }; String field = Field.getText(); String text = "I want … | |
Hello im really confuzed in the HTML and CSS language i have maked a footer and some div elements in the body so when i scroll up the footer doesnt is alwaus visible when i scroll down the button is hovering the footer and also the other div element i … | |
Hello im not too sure how is this called but i will try to explain.. I want to make the form to get updated on every "Status Update" so for ex. like Facebook when you are posting a new status it gets updated the "body" of the page with new … | |
I want to make new string to show under the first ("Verificiranje na akauntot !") text but i dont know what to do in the "jLabel3MouseClicked" class, please help me how do i paint the graphic after i press the label ? here is some code: @Override public void paint(final … | |
Hello i have a little problem with moving ball around screen, also i'm confused why i cannot put this variables `double x = 0, y = 16, muvx = 0, muvy = 0;` at the public class MainActivity to be local variables and also i don't know how to set … | |
Hello i have a little problem over here im trying to make a mouse listener and on mouse click the ball to come to the mouse pointer... i have maked a small "game" which is not bunch of confusing code... i have maked the ball to be controlled by the … | |
Hey everyone i have a little problem with the navigation bar, i have created the design of the menu but i want to be in one file (menu.html) and to show on all pages in the website... here is my code for `menu.html` <html> <body> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <style> form.position-and-style … | |
Hello i need to save score on application close and when will start up to show the last score is entered... i have not idea how do i start i have searched on google but nothing found which can help me, please show me some ways/codes of doing it. Thanks … | |
Hello im trying to connect database with my java program for register/login but im not doing well, i have online database on godaddy and i cannot connect with the java program i tryed with using the `URLEncoder` and it works for registering but for loging in i cannot make it … | |
Hello guys i have question how is the right way to write the mysqli_connect ? $con=mysqli_connect("username","host","password","db_name"); Please tell me if im wrong and how to fix it. Thanks ! :) | |
Hello everyone im trying to make a website for movies so its pretty simple with movie boxes but the poblem is i dont want to do it like every single movie i add i need to write a new code in `index.html` so is there a way to skip this … | |
Hello everybody i have a little problem with making a java command for program i have some code but i do not know how to continue i stuck in one place BTW the command i want to make is > /sendcash [username] [money] // how it looks like I have … | |
Hello i have a little problem with writing the words in the database, after some space between the words the database can't remember it, thats why because the link eg. ( /some_file.php?search=something%20wierd ) that "%20" its the space between the words but from my mobile application when ill type space … | |
Hello i choose this title cause i dont know how it calls with the real name but i will try to explain... Im asking does its possible to put a video on a website which will get the data from my computer so to get rid of uploading the video … | |
Hello, im trying to get the answers from the secound array but it takes just the last question and answer hers is the code: search.setOnClickListener(new View.OnClickListener() { String[] questions = { "http", "arp", "asd" }; String[] answers = { "HyperText Transfer Protocol", "Advanced Research Project", "asdasdasdasdasdasdasdasd." }; @Override public void … | |
i can not understand why is showing "Wrong Username or password" even i dont click the button always is there and dissapearing after user enter true username and password. if($count == 1) { session_register("myusername"); session_register("mypassword"); session_start(); if(session_is_registered(myusername)){ echo "<a id='user_login_info'><br>Welcome <font color='#00FF00'>$user</font></a>"; echo "<a id='user_login_info'><br>Username and Password Accepted</a>"; } } … | |
Hello everyone, i want to make a status bar which will have there Login and Status of the user but i want that to be in one class and when im working in other classes just to copy the name of the "statusbar" in the other classes. I dont know … | |
Hello i will ask directly with out explaining, how can i close this echo ??? <?php echo "<div class='date'> date("Y/m/d"); </div>"; ?> It gives me some error like `Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5834708/public_html/index.html on line 149` Thanks :) | |
Hello everyone, im trying to make a registration system with PHP and MySQL but im not going well i just created table and i have writed the code well but there is something wrong the inputs don't send that data into database i have tryed much different ways of doing … ![]() | |
Hello since cereal helped me out with the price and counting in PHP i need just one more thing, to get the names of the products i have tryed different ways to do it by my self but i just cant cause im begginer with PHP language, i have this … ![]() | |
Hello, i'm new in PHP so i dont know much about it so ill need a little help with this "eazy" problem. I need to calculate the total price of the items on every "checkbox" check. here is my code: <?php $mikrobranova = 3999; $smasina = 4999; $amasina = 9999; … | |
why my app is crushing after passing the seconds ? new Timer().schedule(new TimerTask() { @Override public void run() { Health -= 1; if(Health <= 20) { if (!canSeeWarnDialog) { final AlertDialog alertDialog2 = new AlertDialog.Builder(MainActivity.this).create(); alertDialog2.setTitle("Im hungry"); alertDialog2.setMessage("The dog health is going low " + "\ngive him some food"); alertDialog2.setButton("Got … |
The End.