52,566 Archived Topics
Remove Filter ![]() | |
i am calling store procedure from MVC, which returns single record only. SP contains: PROCEDURE [dbo].[GetMonthlyReport] @emplID INT = NULL, @month VARCHAR(50) = NULL AS BEGIN IF (@emplID IS NOT NULL AND @month IS NOT NULL) --If Block begins BEGIN SELECT * FROM MonthlyRecord WHERE Month = @month AND EmplID … Web Development asp.net software-architecture | |
How to tell whether AJAX give JSON response not a html page in php? ![]() | |
I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the … Web Development php ![]() | |
So i got one form so the user can enter and submit their personal details. The problem is i didn't apply any validation . I've done a simple validation like this , but it seem to be not working . function validate(){ if((\$('txt_no_kp').value != '') && (\$('txt_nama').value != '') && … Web Development php | |
Hello, How to make the contact us works? [Contact Us](http://www.indonusa.net.id/contactus.php) contactus.php <?php // require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $subject = str_replace(" ", "", strip_tags(@$_POST['subject'])); $message = strip_tags(@$_POST['message']); if (@$_POST['submit']) { if ($name&&$email&&$subject&&$message) { // $privatekey = "6LfjvdcSAAAAAHNcKjYO5DhTNefxYZHYcfhtrvGC"; // $resp = recaptcha_check_answer($privatekey, // $_SERVER["REMOTE_ADDR"], // $_POST["recaptcha_challenge_field"], … Web Development php web-server | |
Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery. Web Development javascript javascript-jquery | |
hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom … Web Development javascript php seo | |
Hello All, I want to send event invitation to Google user, using google calendar API. for this, I am using Google calendar API in php, for inserting event in the google calendar . I have used php-client libraries https://developers.google.com/google-apps/calendar/downloads But problem with this is : it require login. So how … Web Development api google google-api php | |
Hello guys! Anyone who has an idea of integarting a bar code reader to a inventory system. The function is to read the bar code and this will serve as an input to the system. Any suggestion are very much welcome. thank you! Web Development php | |
Hi all, I am looking to extract address line of text into arrays in a word document. I am only really looking for the postcode to extract. Any help would be appreciated Thanks David Velta - The Underfloor Heating Company, Wombwell School, S73 8AX Speedy Asset Services Limited, C/O Arnold … Web Development php | |
hi i am doing a attendance sheet appln... i want to know how to get the current indian time,date,month and year..... and i want to store that in mysql database lydia Web Development php | |
i have a script for replace char that i want for URI in php. But now i need these result but using Javascript. i've try to change using Javascript but cant run <?php function seo_title($s) { $c = array (' '); $d = array ('-','/','\',',','.','#',':',';',''','"','[',']','{','}',')','(','|','`','~','!','@','%','$','^','&','*','=','?','+'); $s = str_replace($d, '', $s); … Web Development javascript | |
Hello I was hoping someone would be kind enough to assist me with a major problem I'm having with firefox. I'm running a Mac OS X 10.5.8 platform from a Macbook Pro and was using a very old version of the web browser firefox - version 3.6.23 to be exact … Web Development javascript os-x web-browser web-design | |
new to javascript so this is probably a stupid question. I have some code example below. what i'm trying to do is use the method i've created which takes a filterType and a filter and then filter by using those two varaibles. The problem i'm having is that I don't … Web Development javascript | |
I have this checkboxes HTML Code: <input type="checkbox" class="calc" name="access[a]" value="1" /> <input type="checkbox" class="calc" name="access[b]" value="2" /> <input type="checkbox" class="calc" name="access[c]" value="3" /> <input type="checkbox" class="calc" name="access[d]" value="4" /> I need the following thing, i will explain it in an example: Example: User selects third and fourth fields, 7(3+4) … Web Development javascript javascript-jquery ![]() | |
Hi all! I am sorry if im asking same thing for the nth time but i can not find the answer to my question... I have problem adding partial views... I have One-to-Many relation in the database tables. My Model is: using System; using System.Collections.Generic; public partial class Job { … Web Development asp asp.net software-architecture | |
I am new in plugin development. I created a plugin with the help of http://codex.wordpress.org/Creating_Options_Pages <?php /* Plugin Name: 1pluginframework Plugin URI: Description: Custom plugin for lendingbig website. Version: 1.0 Author: Jahur Ahmed Author URI: License: GPLv2 or later */ // create custom plugin settings menu add_action('admin_menu', 'baw_create_menu'); function baw_create_menu() … | |
Hello, I am after some help, I need to know how to do srv lookups using php and possibly mx lookup, I have a form which already has a textbox which selects the domian from a mysql database, I need to be able to display the srv record below the … | |
Hello, I have the following string and would like to use preg_match() to extract parts of the string. Yang club 4931 Wyaconda RdRockville, IA 20852 301-937-3401 Monday - Friday - 3:00 - 10:00PM and Saturday & Sunday -12:00 - 8:00PM another possible string is: Kahler Hall 5440 Old Tucker Row … Web Development php | |
Hello, I am trying to create a search form in order to search articles title and contents. Here is my code: searchPDO.php <?php // PDO start here //This is only displayed if they have submitted the form $find = strip_tags(@$_POST['find']); $searching = strip_tags(@$_POST['searching']); if (isset($searching) && $searching==yes) { echo "<h2>Results</h2><p>"; … Web Development php | |
Hi Team, I am almost going to finish learning core Java and my employers said openings are available for Hibernate/Spring/Struts. I am just wondering whether can i directly start studying one of these frameworks after Core Java. Some people said these Frameworks contains JSP,servlets and important J2EE concepts so that … Web Development java-jsp spring-framework | |
I have recently purchased a ready made site as I am new to all things HTML CSS etc (although I am learning fast). Every time I have tried to go to the page I get this msg Parse error: syntax error, unexpected T_STRING in /home/a4616062/public_html/index.html on line 1. Here is … | |
Okay, here is the code I'm using. The original author hasn't been seen in three years and I haven't been able to get a response for a month so I'm asking here. The people here seem to be abel to help me more than anyone else. This is the ipn.php: … | |
Hello I am writing an PHP module for admission process. It have an admission form. Tentatively ddmission process start from mid of March and ends in mid of May (not fixed). My question is what is the best way to activate and deactivate the calendar control of this admission form … Web Development php | |
So , i want when ppl click on my picture open like a new window to show full size picture like facebook, im thinking this gotta be javascript .. How would i do this? Thanks :3 Web Development javascript | |
I am using a radio player with <iframe> tag. I want to play it all page. But it musn't do postback this player. How can i do with Ajax, Javascript or JQuery ? Web Development javascript javascript-jquery | |
Hello, So I try to learn php and decided to make one site where I add images, save them in folder and id, name,type, path in mysql. Then show on page. So far I have upload form and I can upload and save images. Also I showing them successfully on … | |
i am receiving Emplid in this action, public ActionResult showDDL(int? EmplID = null) { ViewBag.EmplID = EmplID; if (EmplID == null) { IEnumerable<GetAtdRecord_SpResult> EmployeeAtd_2 = DataContext.GetAtdRecord_Sp(0).ToList(); return View(EmployeeAtd_2); } else if (EmplID != null) { IEnumerable<GetAtdRecord_SpResult> EmployeeAtd_2 = DataContext.GetAtdRecord_Sp(EmplID).ToList(); return View(EmployeeAtd_2); } return View(); } View: @{ var grid = … Web Development asp.net software-architecture | |
Hello , i am making a website and have difficulties using Google Chart API. I am using a annotated timeline chart and it works. But i want to change the look of the chart and i am having difficulties with that . Mayby somebody here can help me ? Here … Web Development api javascript seo | |
windows 7 home premimum x64 access denied for saving files to app_data folder and any other folder in the projects root directory. Code below is what im using to save and getting... doc.Save(Server.MapPath("~/App_Data/Logs")) I get a couple access to path denied msgboxes. Set a few permissions and no go. Web Development asp.net microsoft-access xml | |
I am generating a multidimensional array which outputs in the following format: Array ( [0] => Array ( [cName] => "Club Name (Exp. Date)" [location] => "" [days_times] => '0' [zip] => 0 [state] => 0 [contact_person] => "" [contact_phone] => '0' ) ) Array ( [0] => Array ( … Web Development php | |
I have here my Javascript code that adds dynamic textbox (row) my problem is how can I save the values from the dynamic textbox to database using PHP script? Hope you can help me guys.. Thanks! <script type="text/JavaScript"> function addRow(r){ var root = r.parentNode;//the root var allRows = root.getElementsByTagName('tr');//the rows' … Web Development javascript mysql php ![]() | |
Hello to everyone, I have a mysql table CREATE TABLE `tools_domuments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `filename` varchar(255) CHARACTER SET utf8 NOT NULL, `description` longtext CHARACTER SET utf8 NOT NULL, `filetype` varchar(255) CHARACTER SET utf8 NOT NULL, `document` longtext CHARACTER SET utf8 NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB … | |
Hi. I just wonder, is it possible, to validateform , which has been "echoed" in PHP using JavaScript function? See code below <?php if(isset($_SESSION['email'])){ echo"You are looged in as ".$_SESSION['email']. "</br> "; echo' <form action="confirmlogout.php" id"logoutform" method="post"> <input type="submit"id="sub" name="sub" onclick="" value = "LOG OUT" /> </form></br>'; } else{ echo … Web Development javascript php | |
how to insert,edit,delete in same page using php Web Development php | |
Hi guys, I have worked with PHP and MySQL before and recently I wanted to try and learn ASP.net MVC since some of my friends are using it in the work place. But the most confusing thing about this is, why does all the tutorials out there not mention how … Web Development asp asp.net mssql sql visual-studio | |
how to refresh advertisements after every 2 sec in website using php Web Development php | |
Hi All... To made payment integration, I used e24PaymentPipe.dll got from client. The problem is that it is always results in failure ("-1") when I try to connect to Gateway Server using "PeformInitTransaction" function. To be able to use e24PaymentPipe.dll as third party dll, i performed following steps: (note: OS … Web Development asp.net assembly visual-studio | |
i have created a codeigniter application and when i tried to access it locally, it says "No direct script access allowed". i don't know what's the problem .i'm using ubuntu . i need some help with this :) | |
A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that displays country names and the associated flags for each country within a form. This works very well, but... Examples of … Web Development javascript-jquery ![]() | |
I have using php for form datas. I want get the data from html by using id value instead of name attribute. ![]() | |
` <form action="v1.php" method="post" enctype="multipart/form-data"> <!--<input type="hidden" name="MAX_FILE_SIZE" value="500000" /> --> <input type="file" id="file" name="file" /> <input type="submit" id="submit" name="submit" value="Upload File" /> </form> <?php if(isset($_POST['submit'])) { $ffmpeg = "D:\\xampp\\ffmpeg"; //path of ffmpeg.exe file $videoFile = $_FILES['file']['tmp_name']; $imageFile = "D:\\xampp\\ffmpeg\1.jpg"; //output file name $size = "100x50"; $getFromSecond = 5; $cmd … | |
Hello, how can i make this "Hscren.swf" clicable. Hscren is logo and i whant when you press click to make redirect in index like www.site.com. document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="712" height="172"> '); document.write('<param name="movie" value="images/template/style/flash/Hscreen.swf">'); document.write('<param name="quality" value="high">'); document.write('<param name="menu" value="false">'); document.write('<embed src="images/template/style/flash/Hscreen.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="712" height="172"></embed>'); document.write('</object>'); Thanks, I … Web Development javascript | |
pls ii need to display my result from the database into a table form using phph code. can soemone help out please | |
My issue is this: I call this method twice once inside a function and another in the HTML onclick. Reason is the DIV is part of a context menu. The first function call res is the correct variable I want. The second however changes res b/c Im forced to pass … Web Development javascript | |
Im trying to make a email form where people can visit our site and send us emails. Since I am not sure if I can add PHP code, lets stick to JS and HTML. I believe I can add JS libraries: Basically: Introduce your email address Dropdown box that you … Web Development email | |
Hi, Im working on a intranet website. I have multiple folders on a windows 2008 server. Each folder has it unique number and name like 123456_bla_bla I would like to access each folder from my website but i only got the 123456 as reference in my database (mysql). Is it … ![]() | |
I'm using [Page Transitions](http://tympanus.net/Development/PageTransitions/) (get animations.css from tympanus.net) to hide/show div. How to add remove classes. I'm trying to add in-out effects with simple classes. How to *Remove class `current` from current div & add outgoing class to same div* and *add class `current` & incoming class to next div*? … Web Development javascript javascript-jquery | |
This is my first time working with php. I used a sample php mail code to process the mail. After entering in the form info and hit the send it button should show a new window that the mail was sent. The email does not send with the contents from … | |
Consider array elements stored in table column as: 1,2,3,4,5 These corresponds to respective id of checkbox.if the id of the checkbox is equal to the one of the elements in(1,2,3,4,5) above,then it should be checked otherwise unchecked. Can somebody write a script that can do so. Thanks. Web Development php |
The End.