39,316 Topics

Member Avatar for
Member Avatar for SpottyBlue

I've updated the attendance.sql and the attendance form (index.php), but when I tried to update the values (e.g. present and late), it cannot work. And also, the checkbox says it's all ticked even the values are different (lines 61 - 63 of index.php) Can help me? Download: https://drive.google.com/open?id=0B07_pOHhTox3bTN1Z21HRlR2TEE Inside there …

Member Avatar for SpottyBlue
0
392
Member Avatar for toxicandy

I have a question regarding user membership of groups in Active directory and grabbing such memberships with PHP. My big question/situation is that I have a site I am making and essentially I am trying to assign administrators based off of groups in Active directory and I know how to …

0
222
Member Avatar for Ivan_11

Help me sir for this error, Connect Error (2002) No connection could be made because the target machine actively refused it. my connection //my database class class Db { // make sure we dont connnect database to every function public $mysql; function __construct(){ $this->mysql = new mysqli('10.100.2.234','sa','P@ssw0rd','PLAZATOYOTA_MSCRM'); if (mysqli_connect_error()) { …

Member Avatar for hericles
0
295
Member Avatar for RudyM

Hi all, I'm using CodeIgniter with MSSQL and works ok for basic queries. But then I do the following: Add a varbinary(max) column to my table (new_col) Change the query in the model: `$this->db->get_where('user_stats_backup',array('new_col' => "0xD9E6762DD1C8EAF6D61B3C6192FC408D4D6D5F1176D0C29169BC24E71C3F274AD27FCD5811B313D681F7E55EC02D73D499C95455B6B5BB503ACF574FBA8FFE85")` When I load the page, it doesn't seem to be returning anything. I created …

Member Avatar for RudyM
0
315
Member Avatar for sahilmohile15

Hello guys i am doing a archived page and i have added option to restore all but after that every newly deleted product doesn't show up here's the script //php to get update data upon click of button <?php if (isset($_GET['all'])) { $allSql = "UPDATE products SET deleted = 0 …

Member Avatar for sahilmohile15
0
161
Member Avatar for shany0786

I have a admin folder where various .html files are there what happening is when i type http://mydomain.com/index.html it opens up a page and various other page but i want to put restrictions that if user is logined then only he can open other pages otherwise not. What i know …

Member Avatar for TexWiller
0
316
Member Avatar for SpottyBlue

Hi, I'm quite new to PHP and MySQL and the attendance form (index.php) is messed up. Can help me? Download the attendance form system in zip file: https://drive.google.com/open?id=0B07_pOHhTox3RnM2bFRNczhOeDA Inside there is the database table called attendance.sql. You need xampp and you must import the table (attendance.spl) in phpmyadmin.

0
117
Member Avatar for karin21

hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks

Member Avatar for melodangdang
0
710
Member Avatar for RikTelner

I have main PHP file, and dozen of less files, something like modules, they work this way (imaginary file): if ($_GET["action"] == "login") { require_once("login.php"); return login_something($_GET["credit"]); } That `require_once();` and `return function(data);` recur a lot in my code. It looks kinda nasty, is there no way to make this …

Member Avatar for cereal
0
457
Member Avatar for sahilmohile15

Hello Friends I am having issue with sizes option on my page this is the form of sizes <!-- Sizes And Quantity [Onclick Modal]--> <div class="form-group col-md-3"> <label>Sizes & Quntity<span class="required">*</span>:</label> <button class="btn btn-default form-control btn-info" onclick="jQuery('#sizesModal').modal('toggle'); return false;">Sizes & Quantity</button> </div> <!-- Sizes & Quantity Preview --> <div class="form-group …

Member Avatar for cereal
0
972
Member Avatar for Marco_4

Hello, I ask information to you that you are much more experienced than me that I am learning. I would like to create an administrative panel with the only possibility to be logged in to the admin. Your wisest thing which is to carry out safely login? Let me explain, …

Member Avatar for Marco_4
0
287
Member Avatar for rahulmukati

Hello there, I am trying to add more than 2 foreach statements. Please help me. My statement - foreach (array_combine($image, $name) as $pic => $title) { } It cant be like - foreach (array_combine($image, $page, $name) as $pic => $id => $title) { }

Member Avatar for cereal
0
150
Member Avatar for SpottyBlue

Hi, Before i do the attendance form system, I have to do the student registration form. But there is one problem. I tested the student registration form (register.php) and tried to register myself to the database, but my data did not register to the database. I've done the coding correctly …

Member Avatar for hericles
0
290
Member Avatar for iveto89

Hello! I'm making cURL request to neteller API and it returns 401 not authorized. My IP is whitelisted in neteller test account. I have the following code: $url = 'https://test.api.neteller.com/v1/oauth2/token; $clientId = NETELLER_CLIENT_ID; $clientSecret = NETELLER_CLIENT_SECRET; $grantType = 'grant_type=client_credentials'; $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_USERPWD, …

Member Avatar for iveto89
0
1K
Member Avatar for dlmagers

I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the loop_tester.php and below that is the code for my index.php. I am trying to add a switch statement to the index.php file that will sets values for only …

Member Avatar for cereal
0
357
Member Avatar for AntonyRayan
Member Avatar for broj1
0
140
Member Avatar for Suresh_13

I want Multilevel Marketing with binary tree (can be modified accordingly to be used for n Tree) same like link: http://www.codeproject.com/Articles/124276/Data-Structure-Implementation-to-Query-Binary-Tree which complete run but this is on .net and mysql server. i want i php mysql. plzz help

0
99
Member Avatar for Niels_1

Hello guys, i'm trying to show the full name of my user what is logged in. I am new to writing in oop. Im getting a undifined index fullname error. Can anyone help me? /*** for showing the username or fullname ***/ public function get_fullname($userid) { $stmt = $this->db->prepare("SELECT fullname …

Member Avatar for AndrisP
0
140
Member Avatar for Niels_1

Hello guys i wrote an public function to create a project, but i need to call it in my javascript file. How can i do this. this is the public function i want to use. the public funtion is in data.php public function create($projectid,$projectnaam,$startdatum,$einddatum,$omschrijving) { try { $stmt = $this->db->prepare("INSERT …

Member Avatar for broj1
0
320
Member Avatar for ramsiva

Below is my array i need help for getting ans store this array into ---> array( "0" => array ("ex1" => ff,"ex2" => 3)); Array ( [0] => Array ( [0] => Array ( [ex1] => ff [ex2] => 3 ) ) [1] => Array ( [0] => Array ( …

0
115
Member Avatar for masimies

Hello, I try to limit query results and fetched items in same time. But, with my script, that is not functioning together. Selected item is not staying as variable in query. Something is badly ordered in this script. <?php if (!isset($_GET['startrow']) or !is_numeric($_GET['startrow'])) { $startrow = 0; } else { …

Member Avatar for masimies
0
233
Member Avatar for Niels_1

I'm trying to convert my php code into OOP. I'm using Datatables with jquery en ajax + JSON to load projects into a table. But i want to convert this code into OOP, but i always get a invalid json response. Im new into writing OOP, so could anyone help …

Member Avatar for TexWiller
0
263
Member Avatar for FarrisFahad

I have searched Google and Youtube for Facebook log in toturials but couldn't find something useful. Do you know any good articles or website or even a Youtube toturial that covers the facebook log in system? How did you learn it?

Member Avatar for AleMonteiro
0
180
Member Avatar for Sourav_5

Hi guys, this is my first post here. I built Fb app around 2010 and then it was much easy to get started. But after 6 years I am starting again to develop my 1st app after tha gap. But now it's been hard, as I need HTTPS for the …

0
145
Member Avatar for RudyM

Hi all, I've been wrestling with CodeIgniter to work with MSSQL. Turned out to be a whole ordeal with changing the functions to use the newly updated sqlsrv functions. After all that, I still seem to have issues with it. While I'm working this out, I wonder if anyone has …

Member Avatar for RudyM
0
161
Member Avatar for Niels_1

Hello guys, I have been trying to fix these errors, but it wont work. This are the errors im getting Warning: mysqli_query() expects parameter 1 to be mysqli, object given in /home/335456/public_html/hoi/class.user.php on line 35 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /home/335456/public_html/hoi/class.user.php on line 36 …

Member Avatar for pritaeas
0
176
Member Avatar for Lek_Plepi

Hello I'm new in the forum Can anyone help me with some hints how can i send email php mail with this format on body? On every closing of turn on local pos system the system sends data to webhost and the webhost deliver email to recipient <!DOCTYPE html> <html> …

Member Avatar for cereal
0
194
Member Avatar for slowlearner2010

Hi, I tried to change the form action based on selection option and hoping that my javascript validation function working properly too... I found out one solution and hoping this javascript can do that kind of thing. I tried so many ways and I think there's something wrong with my …

Member Avatar for hericles
0
485
Member Avatar for hrushi9

I have form having input type file to upload image & other input fields. How to submit form using websocket ? $("#form").submit(function() { "use strict"; var formURL = $(this).attr("action"); var postData = new FormData(this); //alert(postData); $.ajax({ type: 'POST', url: formURL, data: postData, processData: false, contentType: false, success: function() { $('.content').prepend("<div …

0
181
Member Avatar for Engr.
Member Avatar for jkon
-2
187

The End.