• Member Avatar for broj1
    broj1

    Replied To a Post in Getting User's info for every month

    In my view the concept you used is OK. I am assuming the form and the PHP code are in the same script. So user can fill in the form …
  • Member Avatar for broj1
    broj1

    Began Watching If statement problem

    Hi, I'm working on a wordpress website where every product page has its own top banner that appears on the page using php. This works fine on the products but …
  • Member Avatar for broj1
    broj1

    Replied To a Post in If statement problem

    Does the `is_category(10)` function return true? Test it this way: if(is_category(10)) { echo do_shortcode('[smartslider2 slider="14"]'); } else { echo "Error detecting the category page"; } Now, if it returns the …
  • Member Avatar for broj1
    broj1

    Replied To a Post in PHP query doesn't updating the database

    // $_SESSION['receiver_id'] = 'receiver_id'; <- here need to be ? This should be between lines 16 and 17 (after querying the database, and uncommented). Or maybe outside this function altogether.
  • Member Avatar for broj1
    broj1

    Stopped Watching php step-by-step

    i want to know full details about php, as i dont know upto what extend the php is extended till now, specify in the list manner so that everyone can …
  • Member Avatar for broj1
    broj1

    Stopped Watching Facing an error of FPDF library

    I am creating the pdf report and when I am running the script than I am facing the below error. I search about same error over here and I find …
  • Member Avatar for broj1
    broj1

    Gave Reputation to Traevel in PHP query doesn't updating the database

    > Try to change it into like this follows: > > $result = $conn->mysql_query($sql); You're advising him to use mysql_query? Wow. Maybe [read](http://php.net/manual/en/function.mysql-query.php) up a little on PHP before you …
  • Member Avatar for broj1
    broj1

    Stopped Watching Harmonising my json_decode()

    Can anyone help me clear this issue ? I have a JsonMaker class as: class JsonMaker { protected $jsonObj; protected $path; function __construct($filepath) { $this->path = $filepath; $str = file_get_contents($this->path, …
  • Member Avatar for broj1
    broj1

    Replied To a Post in PHP query doesn't updating the database

    Sorry, have been quite busy lately. To store the receiver_id into a session variable you only have to read it from the database and assign it to a session variable: …
  • Member Avatar for broj1
    broj1

    Gave Reputation to Traevel in PHP query doesn't updating the database

    if($result === false) { trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR); if($row = $result->num_rows > 0) { echo "Username doesn't exist."; } else { $sender …
  • Member Avatar for broj1
    broj1

    Replied To a Post in php step-by-step

    [PHPClasses](http://www.phpclasses.org/) has many examples of ready made classes covering various functionalities. A great way of learnig some advanced stuff (by examining the code).
  • Member Avatar for broj1
    broj1

    Began Watching PHP query doesn't updating the database

    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. …
  • Member Avatar for broj1
    broj1

    Replied To a Post in PHP query doesn't updating the database

    Maybe there is something wrong with your update query (maybe the `$sender` or `$total` are not what you expect). You can simply check it by sticking the following piece of …
  • Member Avatar for broj1
    broj1

    Began Watching php step-by-step

    i want to know full details about php, as i dont know upto what extend the php is extended till now, specify in the list manner so that everyone can …
  • Member Avatar for broj1
    broj1

    Replied To a Post in php step-by-step

    [PHPAcademy](https://phpacademy.org/) if you are more of a visual type of person.
  • Member Avatar for broj1
    broj1

    Stopped Watching sql server

    please assist. i can not connect to my sql server (172.16.15.119). i always get this message"Fatal error: Call to undefined function sqlsrv_connect() in C:\Program Files (x86)\EasyPHP-12.1\www\malunde\connect.php on line 5" and …
  • Member Avatar for broj1
    broj1

    Gave Reputation to mattster in Run PHP as a Cross-Platform Desktop Application

    Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very …
  • Member Avatar for broj1
    broj1

    Stopped Watching banner

    input_image.php <?php $result = mysql_query("SELECT * FROM image_upload ORDER BY image_id ASC"); $data = mysql_fetch_array($result); $banner = $data['image_bn']; ?> <p><img src="../../images/<?php $banner; ?>"></p> <?php echo $_SESSION[$banner]; ?> line 13: Notice: …
  • Member Avatar for broj1
    broj1

    Began Watching How to kill remote session when logout?

    Hi all, i have web application and login form. i would like when i exit (logout) it automatically logs out from all devices (or browsers or PC). Can anyone help …
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to kill remote session when logout?

    I have been watching this article with much interest hoping that someone will post their solution or ideas. Since there is no much activity so far maybe just a thought …
  • Member Avatar for broj1
    broj1

    Began Watching Image pop up view

    How to create image popup view with database.
  • Member Avatar for broj1
    broj1

    Replied To a Post in Image pop up view

    I would use one of jquery UI plugins. [Recommended reading](https://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question).
  • Member Avatar for broj1
    broj1

    Began Watching fetch my form in php using cURL

    i need this to clarify . .. // Parse error: syntax error, unexpected '=', expecting ')' in /home/dsyslabs/public_html/users/canapprove/core/test_sup_form/index.php on line 9
  • Member Avatar for broj1
    broj1

    Replied To a Post in fetch my form in php using cURL

    It would be much easier if you posted the code in question especially the part arround line 9. Nevertheless, it looks like you are missing a closing `)` somewhere.
  • Member Avatar for broj1
    broj1

    Stopped Watching Help with making checkbox survey save to MySQL

    Hello. I am tasked with making a small survey for internal use. I have the HTML made up where it asks for a incident number (6 digit number) and has …
  • Member Avatar for broj1
    broj1

    Stopped Watching uncode

    what this scrypt ??? <?php /* Copyright © By 5SRV.COM - All Rights Reserved */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0xecc;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMC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fBmzC9vYMXvrNq0c6yM7NSdjLWvlV4Q9uqIhkwAruOvB5dkT5im9kbUcYw09aFvBfM6P3Pm/KiLhk4A9YwNcUnNlfdGTLW845DLPub0caZvFKbvFKbvFbn6P+BSlfqvFOSm/fMW7twmrKqUFKGk75SU4+Bn4f0Mc6yrjxMDFavA9aWvd5MAPtsCl6ycdKb5hkwNcUnNlfdGTLW8EXnsKVpG7fBm7dsS43zM7VXZ8YW8cU==vV]EDRscKYJ[nR|n
  • Member Avatar for broj1
    broj1

    Began Watching phone no problem

    this is my index.page <html> <head><title>Registration</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script> <script type="text/javascript"> function validate() { if(document.register.name.value == "") { alert('Enter valid name'); document.register.name.focus(); return false; } if(document.register.email.value == "") …
  • Member Avatar for broj1
    broj1

    Replied To a Post in phone no problem

    Haven't studied your code closely but the number 2147483647 is exactly the max [integer](http://php.net/manual/en/language.types.integer.php) value on 32 bit systems. Why do you not handle your phone number as a string?
  • Member Avatar for broj1
    broj1

    Began Watching How to present this in switch()?

    I had test today about PHP. Really basic one, which probably won't give me A++ (10/10), because of strange question he asked, he asked us to translate: $temp = 10; …
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to present this in switch()?

    If you want to translate the above `ifs` into `switch` correct way as I see it would be: switch($temp) { case 0: echo "it's 0 Celsius"; break; default: switch($temp > …
  • Member Avatar for broj1
    broj1

    Began Watching hai i get session error when i host my web site how i solve that error

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wwwjjtex/public_html/contacts.php:2) in /home/wwwjjtex/public_html/contacts.php on line 2 AND my code is margin-left: 94px; margin-top: -66px; margin-left: …
  • Member Avatar for broj1
    broj1

    Replied To a Post in hai i get session error when i host my web site how i solve that error

    The `session_start` function must be called before any html is sent. Best place is on very top of the script: <?php session_start(); ?> ... margin-left: 94px; margin-top: -66px; margin-left: 94px; …
  • Member Avatar for broj1
    broj1

    Began Watching how we can display records

    how we can display records 1-5 for 1 user. for 2nd user, we can display 2-6 for 3rd user, we can display 3-7 so on...
  • Member Avatar for broj1
    broj1

    Replied To a Post in how we can display records

    Are you talking about database records? What is the table(s) structure?
  • Member Avatar for broj1
    broj1

    Stopped Watching Deleting row of selected checkbox from database

    Hey I write this code for delete the selected check box values from the database. Yeah I know there are some example already here. But when I take look on …
  • Member Avatar for broj1
    broj1

    Stopped Watching Delete

    Hello, I am trying to create a delete button when you press the delete button it takes to a list of codes to delete the row. input_image.php <?php $i=0; while …
  • Member Avatar for broj1
    broj1

    Stopped Watching Delete

    Hello, I am trying to create a delete button when you press the delete button it takes to a list of codes to delete the row. input_image.php <?php $i=0; while …
  • Member Avatar for broj1
    broj1

    Stopped Watching SESSION

    Hallo, I am trying to create session that works! This is the test admin (assign session) then afterward pass to input_image.php but I wonder why I cannot pass the index.php …
  • Member Avatar for broj1
    broj1

    Stopped Watching How can i redirect to admin and user page ?

    How can i redirect to admin and user page ? <?php session_start(); $con = mysql_connect("localhost","root","nano"); $selected = mysql_select_db("airline"); $username=$_POST['uname']; $password=$_POST['ptxt']; $username = stripslashes($username); $password = stripslashes($password); $query = "SELECT * …
  • Member Avatar for broj1
    broj1

    Replied To a Post in forgot password

    OK, I feel bad a little bit for not being slightly more diplomatic and polite since you appear to be new to this forum. The point is that forums like …
  • Member Avatar for broj1
    broj1

    Began Watching forgot password

    How to use forget password in website
  • Member Avatar for broj1
    broj1

    Replied To a Post in forgot password

    Welcome to Daniweb. Please read [this sticky](https://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question). This is the first hit from [duckduckgo](https://duckduckgo.com/?q=php+forgoten+password+script) search: http://www.plus2net.com/php_tutorial/php_forgot_password.php and there are heaps of others. You can find a lot of useful stuff …
  • Member Avatar for broj1
    broj1

    Replied To a Post in Delete

    You should use `isset()`: if(isset($_POST['delete'])) { ... }
  • Member Avatar for broj1
    broj1

    Gave Reputation to diafol in Delete

    From a 'delete many' at once approach as broj1 suggests (nice one!) you could do a two in one approach. BTW - reason for using button instead of input:submit is …
  • Member Avatar for broj1
    broj1

    Stopped Watching Pagination: limiting the number of pages

    I am trying to paginate through a set of results. I know how to do a simple pagination, but I have a lot of records in the database. So the …
  • Member Avatar for broj1
    broj1

    Began Watching Delete

    Hello, I am trying to create a delete button when you press the delete button it takes to a list of codes to delete the row. input_image.php <?php $i=0; while …
  • Member Avatar for broj1
    broj1

    Replied To a Post in Delete

    The simplest way is to enclose the whole html table within a form. In each row there is a delete button which is actually an input element with a type="submit". …
  • Member Avatar for broj1
    broj1

    Replied To a Post in Pagination: limiting the number of pages

    You are welcome. If there are no more questions please mark the thread as solved. Happy coding in 2015.
  • Member Avatar for broj1
    broj1

    Replied To a Post in adding photos

    You are welcome. Once you have some code or at least a skeleton, post it here so we can offer you more detailed help. Once you have no more problems …
  • Member Avatar for broj1
    broj1

    Began Watching adding photos

    I want to add photos to the user after they logged in , in their user profile . Will it possible? how?

The End.