39,323 Topics
| |
Hi, i need to create a people service management application military entreprise.This application must display the list of all the services to be performed, when i click on a service, a list of all people displays with check boxes so i select the persons concerned and finally i have to … | |
How can I convert this Ruby Gem to PHP? token = "your_nypl_api_token" client = NyplRepo::Client.new(token) ``` ``` token = "your_nypl_api_token" options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"} client = client = NyplRepo::Client.new(token, options) Also url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml" uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) headers = { "Authorization" => … | |
Hi everyone, Is there any way to redirect page without header and javascript ? | |
Hai, Am try to create a autocomplete in my project it was not fix it in particular place so many struggle to make it,Hope you people might give any idea to do it on right way.I need a code in this format like when user enter a value it take … | |
Hi, all I'm working on a website that is comprised of two iframes within several nested divs ( the frames named "frame-menu" and "frame-main"). Displaying as such: <div id="wrapper"> <div id="header">Header text/image goes here</div> <div id="menu"><iframe name="frame-menu" id="frame-menu" src="menu.php" frameborder="0" height="30"></iframe></div> <div id="main"><iframe name="frame-main" id="frame-main" src="login.php" frameborder="0" width="878" height="700"></iframe></div> <div … | |
Hello, I am use this plugin https://wordpress.org/plugins/new-user-approve/ But in that there is no email notification given to admin when user approved. Is any solution for that. Thanks | |
Hi everyone, I am creating a invoice page, for that in the invoice table I have fields like(id, ionvoice_no, invoice_date,client_name,address,service_cost,tax,etc). While I enter invoice, I don not want to enter invoice, but it should change automatically from 1 previously it has to check whether already invoice number is or not. … | |
Dear frnds.. i want to devlope a website in php for school results, website as like as indiaresult.com. But i m not getting how its database should be developed. so pls help me and share your think about it... thank you HITEsh | |
I want to display images based on what user checked from number of checkboxs. I'm trying this code, but it not working <!Doctype html> <html><body> <form method="post" action="" id="myForm"> <div class="opt-first"> <h1><b>Subject</b></h1> <input type="checkbox" value="Account/Finance" name="subject[]" /> Account/Finance<br /> <input type="checkbox" value="Marketing" name="subject[]" /> Marketing<br /> <input type="checkbox" value="" name="subject[]" … | |
hello, I am having issues inserting comma separated values to my database, this is what I have: $invoiceProducts = "14:12,"; // eventualy the 14:12, will multiply to other values 43:2,34:1,45:1, etc $invoiceProducts = addslashes($invoiceProducts); //stripslashes() to remove the slashes tried with and without stripslashes. $stmt = $conn->prepare("INSERT INTO invoices (invoiceActive, … | |
this code will display all courses user has <h1>YOUR COURSES</h1> <form action="delete.php" method="POST"><ol> <?php $con=mysqli_connect("localhost","FYP","123","FYP"); $sql= mysqli_query($con, "SELECT C_Code FROM F_COURSES WHERE F_ID=".$_SESSION['userid']); while($row = mysqli_fetch_array($sql)){ echo "<li name='course'>".$row['C_Code']."<input type='submit' value='Delete'>";} ?></ol></form> I need when user click on delete button that course delete from F_courses <?php session_start(); if (! empty($_SESSION['logged_in'])) … | |
Hello every body i have searched a lot to get the script that convert .swf files into .flv mp4 but i always found software's that do this not a script. Actually m making a web based application that do this but don't find anything good... Some Suggestions, help, links please... … | |
Hello, I am looking for a good bootstrap test page. Any idea? I mean after people builds websites with boostrap they're going to need a test page to test their home page in various screen resolution. Is there any test page like that? | |
how to make multilevel menu like .A .B .C .D C & D is the sub-menu of B , B is the sub-menu of A A is main-menu | |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <platformCore:searchResult xmlns:platformCore="urn:core_2012_2.platform.webservices.technoplat.com"> <platformCore:searchRowList> <platformCore:searchRow xsi:type="tranSales:TransactionSearchRow" xmlns:tranSales="urn:sales_2012_2.transactions.webservices.technoplat.com"> <tranSales:basic xmlns:platformCommon="urn:common_2012_2.platform.webservices.technoplat.com"> <platformCommon:tranId> <platformCore:searchValue>17678</platformCore:searchValue> </platformCommon:tranId> </tranSales:basic> </platformCore:searchRow> <platformCore:searchRow xsi:type="tranSales:TransactionSearchRow" xmlns:tranSales="urn:sales_2012_2.transactions.webservices.technoplat.com"> <tranSales:basic xmlns:platformCommon="urn:common_2012_2.platform.webservices.technoplat.com"> <platformCommon:tranId> <platformCore:searchValue>17705</platformCore:searchValue> </platformCommon:tranId> </tranSales:basic> </platformCore:searchRow> <platformCore:searchRow xsi:type="tranSales:TransactionSearchRow" xmlns:tranSales="urn:sales_2012_2.transactions.webservices.technoplat.com"> <tranSales:basic xmlns:platformCommon="urn:common_2012_2.platform.webservices.technoplat.com"> <platformCommon:tranId> <platformCore:searchValue>17777</platformCore:searchValue> </platformCommon:tranId> </tranSales:basic> </platformCore:searchRow> </platformCore:searchRowList> </platformCore:searchResult> </searchResponse> </soapenv:Body> | |
I am developing a website for my small online business when my friend suggested me Yii framework. On researching about the same, I found from this source ( http://probytes.net/services/yii-development/ ) that it has many advantages compared to other development frameworks. But I am not sure about finalizing it. Can anybody … | |
i am getting that error when i try to insert a record. this is my code <?php include "config.php"; include "header.php"; ?> <a href="index.php" class="btn btn-success btn-md"><span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span> Back</a> <?php if(isset($_POST['bts'])): if($_POST['nm']!=null && $_POST['ln']!=null && $_POST['gd']!=null && $_POST['tl']!=null && $_POST['ar']!=null){ $stmt = $mysqli->prepare("INSERT INTO personal(name,lname,gender,telp,address) VALUES (?,?,?,?,?)"); $stmt->bind_param('ssss', … | |
so i am trying to output course information when the course number is selected and the button is clicked. here is the html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Course Info</title> </head> <body> <h1>Course Information Search</h1> <form action="" method="post"> <select name="course" id="course"> <option value="420-121">420-121</option> <option value="420-122">420-122</option> <option value="420-123">420-123</option> <option … | |
I have found several different methods for doing this online but for some reason i just cant get any of them to work for me, it may be they way im calling them or something but it also might involve my lack of expereince with JS but regardless I have … | |
I am not getting while clicking on image my code $pdf->Image('logo.png',10,20,33,0,' ','http://www.fpdf.org/'); working but I want to display the local file. Mean click on image it will go the the file path. Below code is not working $pdf->Image('a.jpg',20,65,20,0,'','searchstudentavailability.php'); | |
Hi, I have been searching and trying for days now but still cant get this to work. Id like to group my result from a SQL call into a multidimensional array. The columns that are extracted are Timestamp, room, device and value and gets sorted accordingly. As long as the … | |
hello, i tried with below code but its not working for me. I am send it to gmail. is there anything which i have missed out? $subject = "Happy Work Anniversary !" ; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $link = public_path() . … | |
In the course of installing adquick 2.4 as instructed. I came across this error Parse error: syntax error, unexpected '''' (T_CONSTANT_ENCAPSED_STRING), expecting identifier (T_STRING) in C:\xampp\htdocs\ads\install\index.php on line 1226. I HAVE JUST BOLDED THE LINE 1226 FOR EASY REFERENCE IN THE CODE. <? function startparsing () { $content = '' … | |
Would it be inserting this as a type? 'application/x_bittorrent' or is there more to it to allow torrent uploads? | |
I hvae been working on this code for hours and can't figure out how to delete information from a database. It is currently claiming that result and checkbox aren't variables... I have looked at countless websites but can't seem to get this to work. Thank you ahead of time. <head> … | |
I have website that enables user to select favourite websites, date of visiting the website, comments like how satisfied with the website they visited on that day. Initially there are four rows are hard coded and inserted into the mysql database. Then there is a add button enabling user to … | |
I currently have two tables in a database. One for products and one for product options. My product table allows a product to have 4 different option for example size and color etc. My options table gives each option an option ID. So for the option color - red, green, … | |
Hi, I have been searching and trying for days now but still cant get this to work. Id like to group my result from a SQL call into a multidimensional array. The columns that are extracted are Timestamp, room, device and value and gets sorted accordingly. As long as the … | |
I have been trying to google and find out how to make a .php script that will make a an automatic slideshow of images from a folder, I've only managed to get the pictures to automatically show up on the php page, but I can't figure out how to make … | |
<?php if (isset($_POST['submited'])) { if (isset($_FILES['upload'])) { $allowed=array('image/JPEG','application/x-bittorrrent'); if (in_array($_FILES['upload']['type'],$allowed)) { if(move_uploaded_file($_FILES['upload']['tmp_name'] , "../upload/$_FILES['upload']['tmp_name']")) { echo'Your file has been successfully uploaded!'; } else { echo'Please upload a torrent file!'; } } } if ($_FILES['upload']['error']>0){echo 'An error has occured.';} if (file_exists ($_FILES['upload']['tmp_name']) && is_file( $_FILES['upload']['tmp_name'] ) ){ unlink ($_FILES['upload']['tmp_name'] ); } … |
The End.