30 Posted Topics
Hey guys, I am having problem for some time, and can't figure it out by myself I have code like this html page with select options which execute javascript function ajaxKupac and send request to page ajaxKupac.php and response is put inside div with id opcije then inside that content … | |
Hello, I am having problem with my ports, yesterday I opened port 80 and setup local area connection propeties for ipv4 to use static ip 192.168.1.4, I used ipconifg in cmd to check it first. I am using WAMP server on my pc with windows 7 64-bit. It worked ok. … | |
Hello, I have page with several sections, in each section form with submit button which will load table and execute mysql queries. I need help to make long tables in more pages, or at least make scroll so user don't have to take long time to go from part to … | |
Hello, I need help real fast for my exam matric 3x5 which will multiply with Pi Thanks in advance | |
Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some … | |
Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some … | |
I need array with 10 words, then I need to sort that from a to z and display each in different color can anyone help with that? thanks in advance | |
I need to make echo for each next situation if points typed is <0 echo can't be negative number if points typed is 0 echo clean 0 if points typed is > 50 echo you passed test if points typed is 100 echo you finished with best result and all … | |
I have error with this line while($row = mysql_fetch_array($pregled)) in line 42 here is part of code that has problem, can anyone check this out? I need to fix this as soon as possible thanks in advance <p align="center"><font color="#0000FF">Pregled grupa</font></p> <p align="center">Grupa kojoj koncert pripada: <select name="grupa_select2" id="grupa_select2"> <?php … | |
Re: $sql = mysql_query ("SELECT fatherid from Sons WHERE name = 'bill' AND <> 'suzy'"); $fathers = mysql_fetch_array($sql); $selection = mysql_query("select name from Fathers where id = ".$fathers['fatherid'].""); echo "Fathers: "; while($row = mysql_fetch_array($selection)) { echo "<br>".$row['name']; echo "<br>".$row['name']; . . . } I think this will work for one part … | |
I have this error upon loading page Parse error: syntax error, unexpected T_VARIABLE in /home/a9752689/public_html/zadatak2/user.php on line 165 can you help me with it? I will post part code, if you need whole tell me 165 line is 28 here <p align="center"><font color="#0000FF">Pregled grupa</font></p> <p align="center">Grupa kojoj koncert pripada: <form … | |
How can I do this, not to show only min and max number, but all numbers like 23,45,65,78,34,21,56 I need command to sort this out from min to max and display it, then get avarage number and display it too Thanks in advance | |
I need command that will display error if var is not number I tried few examples but nothing seems to work, here is what I tried, one worked but it messed up my previous code, if its 0 display other msg, now when its 0 it displays like its string … | |
do anyone have example how this is done Define the array that is the result of the exam seven students who took the subject of Web services and have won 77, 98, 56, 87, 64, 55, 82 points. Print all of the results, the minimum and maximum number of points, … | |
Why when submit is pressed, and number of tickets is 3 or higher I am not geting displayed echo? echo "You choose $place and $tickets tickets, and you get discount 50%, total price is $totalprice"; Thanks in advance <?php $selection=$_POST['selection']; if(isset($selection) and $selection=="submit"){ $place=$_POST['place']; $tickets=$_POST['tickets']; $totalprice = $price * $tickets; … | |
I have this database and I need to display data from koncerti (koncertnaziv,karte,mesto,datum) based on what grupanaziv is sleceted before, and grupanaziv is in different table called grupe, grupa_id from koncerti has same id as id from grupe, so that is connected in that way, so I need to match … | |
hey, I need help with this code, I have made database and code for inserting data, now I need code that will display data for group, in database I have groupnaziv, and id, here is code for inserting which works great, after that I will post code that I need … | |
I need code that will after pressing submit display concerts for selected group (grupanaziv), which includes number of sold tickets for that concert, place, and date, in database they are called place=mesto, date=datum, and tickets=karte <p align="center"><font color="#0000FF">Pregled grupa</font></p> <p align="center">Grupa kojoj koncert pripada: <select name="grupa_select" id="grupa_select"> <?php while($row = … | |
<?php //Provjerava da li se korisnik vec ulogovao. Ako nije, ispisace gresku. session_start(); if (!isset($_SESSION['korisnik'])) { die('Za pristup ovoj stranici morate se prvo ulogovati.'); } if ($_SESSION['korisnik'] != 'administrator') { die('Za pristup ovoj stranici morate se prvo ulogovati kao administrator.'); } //Podaci o bazi podataka $hostname = ""; $db_username = … | |
I am unable to login even tho I provided correct username and password, this is error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a9752689/public_html/zadatak/index.php on line 79 (I am not sure what this error means, since I don't want to show any rows, I don't … | |
Hey guys, I need example of simple site that stores registration of students and for each student shows what class can he/she go depend on what college they are registered to, so its bassicly just words and everything static. The registration page and database is not problem, but checking to … | |
I need help with this two questions, its not hard for experts I guess, here it is: Determine the time of executing the following algorithm fragment: a) if (x == 0) then for i = 1 to n do a[i] = i; b) i = 1; repeat a[i] = b[i] … | |
I need dropdown menu with this options, just each of them have to show data from base where is = location [CODE]<p>Mesna zajednica <select name="mesto"> <option value="donji_grad">Donji Grad</option> <option value="karadjordjev_dud">Karadjordjev Dud</option> <option value="plavinac">Plavinac</option> <option value="seone">Seone</option> <option value="ladna_voda">Ladna Voda</option> <option value="lestar">Lestar</option> <option value="zlatno_brdo">Zlatno Brdo</option> <option value="slavija">Slavija</option> <option value="papazovac">Papazovac</option> <option value="carina">Carina</option> <option … ![]() | |
can someone explain me where is problem in this code it need to send this data to database table called anketa [CODE]<html> <head><title>Anketa</title></head> <body> <form action="insert.php" method="post"> Mesna zajednica <select name="mesto"> <option value="donji_grad">Donji Grad</option> <option value="karadjordjev_dud">Karadjordjev Dud</option> <option value="plavinac">Plavinac</option> <option value="seone">Seone</option> <option value="ladna_voda">Ladna Voda</option> <option value="lestar">Lestar</option> <option value="zlatno_brdo">Zlatno Brdo</option> <option … | |
How can I show data from table which have for example certain place, I need to make like dropdown menu with places and when I choice one I need statistic from that one, I have already made base here is page [url]www.anketa.comli.com[/url] At the end of page is dropdown that … | |
Hey I have to make statistics to call from base I have for example one line of [CODE]<p>Mesna zajednica <select name="mesto"> <option value="donji_grad">Donji Grad</option> <option value="karadjordjev_dud">Karadjordjev Dud</option> <option value="plavinac">Plavinac</option> <option value="seone">Seone</option> <option value="ladna_voda">Ladna Voda</option> <option value="lestar">Lestar</option> <option value="zlatno_brdo">Zlatno Brdo</option> <option value="slavija">Slavija</option> <option value="papazovac">Papazovac</option> <option value="carina">Carina</option> <option value="sveti_sava">Sveti Sava</option> <option value="25maj">25. … | |
Can someone explina me this error on 42 I have to make Questionnaire with database so I made it like this but won't load site. here is code [CODE]<?php include 'config.php'; $err = array(); if($_POST['doAnketa'] == 'Anketa') { foreach($_POST as $key => $value) { $data[$key] = filter($value); } if(empty($err)) { … | |
I want to make option to approve users before they can login or to ban them, here is code [CODE]<HTML><HEAD><TITLE>Fakultet informacionih tehnologija</TITLE> </HEAD> <BODY TEXT="#ffffff" BACKGROUND="fakultet/Assets/bg.jpg" LINK="#FFFF00" VLINK="#CDCD00" BGCOLOR="#000000"> <CENTER><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="700"> <CENTER> <FONT SIZE=+4 FACE="arial,helvetica"> Fakultet informacionih tehnologija <HR> </CENTER> <?php session_start(); // dBase file include "dbConfig.php"; … | |
I want this two echo's to stay in one line. One in center and another right like I did but not in new line echo "<a href=\"http://zafakultet.herobo.com\logout.php\"><font size=+1</font>Click here to logout!</a>"; echo "<p align=right>Username: " . $_SESSION["valid_user"]; I tried with <? ?> and it wont work. Thanks for help. ![]() | |
I want to make option to approve users before they can login or to ban them, here is code [CODE]MySQL Syntax (Toggle Plain Text) <HTML><HEAD><TITLE>Fakultet informacionih tehnologija</TITLE> </HEAD> <BODY TEXT="#ffffff" BACKGROUND="fakultet/Assets/bg.jpg" LINK="#FFFF00" VLINK="#CDCD00" BGCOLOR="#000000"> <CENTER><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="700"> <CENTER> <FONT SIZE=+4 FACE="arial,helvetica"> Fakultet informacionih tehnologija <HR> </CENTER> <?php session_start(); … |
The End.