52,566 Archived Topics
Remove Filter ![]() | |
have 2 problem in my index page issue 1 have created a menu header - It is confirmed valid and can be use but the thing is, when ever i go back to home link - index page from other page, all the links is disable to be click but … Web Development php | |
![]() | I'm trying to retrieve views from a select set of vimeo vids. The API documentation is lacking in my opinion and I am only provided with this as far as I can tell https://raw.github.com/vimeo/vimeo-api-examples/master/simple-api/simple/really-simple.html It retrieves thumbnails & titles from every video by that username, but I just want to … Web Development api github google-api javascript ![]() |
Hello Everyone, I am working on website development in asp.net. where i have used Master Page concept and content page. and by using dropdownlist I am changing its language.  As we see in fig no. 2, if I took this file hirarchy then application works perfect. but if … Web Development asp.net | |
Hi, I'm having trouble figuring out how to prevent the default tab action when using jquery ui catcomplete. It works perfectly until I add the catcomplete widget code. I'm using the catcomplete widget code found on jquery ui.com: $.widget( "custom.catcomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var that … Web Development javascript javascript-jquery | |
Hello. I have a form with captcha element. The text field displays on the right of the image. How can I make it displaying below the image? $path = Zend_Controller_Front::getInstance()->getBaseUrl(); $captcha = new Zend_Form_Element_Captcha( 'captcha', array( 'label' => 'Type the characters you see in the image below:', 'attribs' => array('id' … ![]() | |
how do i display the data for 1st page onwards? the allowpaging is set to true this is the pageindexchanging code Protected Sub solist_PageIndexChanging(ByVal sender As Object, _ ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles solist.PageIndexChanging solist.PageIndex = e.NewPageIndex solist.DataBind() End Sub this is the data code Protected Sub solist_RowCommand(ByVal sender As … ![]() | |
Hey! Here is my update action in users_controller.rb and I want to test it with RSpec but it doesnt seem to work for me. Can somebody notice a mistake? def update @user = User.find(params[:id]) respond_to do |format| if @user.update_attributes(params[:user]) format.html { redirect_to edit_user_path(@user), :notice => "Your settings were successfully updated."} … ![]() | |
I have written a script to get all elements then i go and find this element in another iframe. Wait, so essentially i have 2 frame's on a page, the one on the left i called the "online" and the 2nd one i called the "base". My end result is … Web Development html-css javascript javascript-jquery ![]() | |
Have this code when the button is clicked the stream starts but when the stop button is clicked nothing happens? I want to be able to stop the stream and get the recorded Media and display it? How would i do this? Any Help Will be Great. <html> <input type="button" … Web Development audio ![]() | |
Somewhat new to rails and trying to build something to learn, but having an issue. I have successfully created one form field that reads from a collection of categories. I generated scaffolding for the categories and two fields catId and name. After plugging in the field everything worked perfectly. I … Web Development ruby ![]() | |
Hello, I dont know jquery. I am trying edit some code from web for autocomplete. Is it possible retrieve value afer submit from php page? What's way ? Or only with js ? Connection is ok, selecting too. Link to other page is created with paramaters. Thanks. -- test.php -- … Web Development html-css javascript javascript-jquery wordpress ![]() | |
Im hoping someone could fill in a few blanks for me, so I can better understand how I need to tackle a personal project. Obviously, it's about our wonderful friend video streaming. As I understand it, it works as follows: Video is taken from it's raw state (whatever the input … Web Development audio streaming-service video ![]() | |
I have a page with list items (links) that I need to be able to hide/show from my admin page. <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("li").css("display","none"); }); }); </script> How do I get it to work that if i press a button in my admin page, it hides list items that … Web Development html-css javascript | |
Fatal error: Call to undefined function session_register() in C:\xampp\htdocs\4\admin\checklogin.php on line 33 <?php error_reporting(0); $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="phplogin"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); … Web Development php ![]() | |
Hello, I'm trying to send an email containing a variable. My variable ($to = $row_Recordset1['email'] ;) isn't working. When i echo it i get nothing and no email is received. When i put in a specific address rather than a variable it works just fine. Anyone know what I'm doing … | |
i have the below code which is populating my drop down with the product names stored in tblproduct. the price of the products are stored in another table called tblretprod. the common field between the tables is the prod_id. when i am selecting the product name, the price related to … | |
![]() | ANybody had a look at the new php.net beta site yet? Whaddya think? The old site was horrible - design-wise. Why do techies leave design as an afterthought? With all the wonderful ideas out there, they stick with that 1980's feel. Anyway, enough of that, how about the new one? … Web Development php ![]() |
I have a problem, Whenever I add the number to my session, I recieve an error say **Undefined index: cart_1 in D:\wamp\www\MiniCart\cart.php on line 100** And when I press the add key the error repeats on top yet still giving the output and upon refreshing it works fine and adds … | |
I run a classfieds website and I have complaints about users that want a reputation service for the buyers and the sellers. Anything I could do or opensource out there that would prevent fraud and maximise trust ? I was thinking something in PHP but perhaps someting else exists. I … Web Development | |
Hello everyone :) I have this lines of codes and i get : > Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\xampp22\htdocs\folder\index.php on line 52 ( 19 in the code below ) <form method="POST" action="index.php"> CODE : <input type="text" placeholder="Type the code" name="searchfor" /> <input type="submit" … | |
Hi all, I was wondering if anybody can enlighten me on when it is best to separate javascript code in different script. Let me give you a practical example. I have a script that I would like to run everytime the page is resized, so I am thinking to use … Web Development javascript shell-scripting | |
After looking around most of last night and all of this morning, I find myself here. I am looking to include a database connection within another class. From what I've read creating a connection within a class is bad? Can someone help me out or even point me in the … Web Development php | |
Hello, i want to know if somebody could help me to make this script safe. Like how to put mysql_real_escape_string. Or how to use preg_split, or htmletities.... <?php include 'extern/connect.php'; $categories = file_get_contents('extern/categories.php'); $footer = file_get_contents('extern/footer.php'); $logo = file_get_contents('extern/logo.php'); $report = file_get_contents('extern/report.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … Web Development html-css javascript-jquery mysql php | |
Hello All, I'm working on a puzzle right now and am a bit stumped. I confess, I'm not much of a PHP programmer, but I don't claim to be either haha. I have an array with several variables: * dad * tsa * aft Next, I have a much larger … ![]() | |
Below is my code.. $stmt->execute($params) is not getting executed $name = $_REQUEST['name2']; $surname = $_REQUEST['surname2']; $add = $_REQUEST['add2']; $pdo = new PDO( "mysql:host = localhost;dbname = employee", "xxx", ""); $stmt = $pdo->prepare( 'INSERT INTO test_differ VALUES( :name2 , :surname2 , :add2 )' ); $params = array( ':name2' => $name, ':surname2' … Web Development php | |
I would like to get name of Tilt and its value 30. I am not able to get the value of Tilt. Let me know if you have any idea. Thanks in advanced. XML File: <?xml version="1.0" encoding="UTF-8"?> -<Physical> <Catalog> </Catalog> -<Installed> -<Equipment> <Id>26</Id> <Ref>Tew12</Ref> -<Characteristic> <CharacteristicName>Height</CharacteristicName> <CharacteristicValue>160</CharacteristicValue> </Characteristic> -<Characteristic> … | |
the jsp cmlode and html <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>This must be paste in head <a href="#" id="toggle-example2" class="button"></a> <div class="example2"> <p>Una novità nei prodotti speciali! La nostra IP Plus aumenta il numero di ottano, passando da 98 a 100 e dando così vita ad un nuovo prodotto altamente performante: plus 100. … Web Development gui html-css java-jsp javascript-jquery | |
Hi, I want to use session state in mode SQL Server I googled some parameters to add in `<sessionState mode="SQLServer" />` in web.config file like: * Sql command time out. * State network time out. * Compression enabled. * Max pool size. * Min pool size. So I have some … Web Development asp.net client-server session sql | |
I am new in ajax. I searched some code about autocomplete. But when I select data from list I dont know retrieve data. Page get_course_list.php fill list and send to user choiced value. In php is code Diagnoza: <input type="text" id="course" onblur="course()"> <?php $dgkod=$_POST['course']; echo "course: $dgkod" ; ?> Function … Web Development javascript | |
Hello, I have been trying to insert multiple rows from a web form into a MySQL DB. I have a dynamic table on one page that sets up the arrays and posts the form to another page which does the MySQL bit. Here is the the page with the form. … ![]() | |
There is two sections i need it to update. When they hover over the members name listed below, I need it to show their details. When the user(one who submitted the content) posts its going to have a hidden value to update the field in the form that i have … Web Development javascript php sql ![]() | |
Hello all its been a while, I have a question on the script below. Here is what I would like to do. Take $file after fwrite has processed and add it to $dir. The Script creates the Directory and the file. I just need it to add the File to … Web Development file-stream file-system php | |
hereis my code the html is on http://cdpn.io/rzcAu /************************************************************************** validation ***************************************************************************/ /*********validation Variables************/ var Email = document.getElementsByName("Email"); var Password = document.getElementsByName("Password"); var firstName = document.getElementsByName("FirstName"); var secondName = document.getElementsByName("SecondName"); var Captcha = document.getElementsByName("Captcha"); var name = document.getElementsByName("Name"); var Subject = document.getElementsByName("Subject"); var Message = document.getElementsByName("Message"); /*********validation Code************/ function email_validation(){ if … Web Development javascript ![]() | |
Hi all, I want to block some of the special charcters using preg_match. I used following code.It works fine with including ' and ". After including ' and " it willnot working <?php if($_REQUEST['sub']) { $Data=$_REQUEST['data']; $regexp = '/[#$%^&*+={}<>'\"]+$/'; echo preg_match($regexp, $Data); if (preg_match($regexp, $Data)) { echo "ERROR"; } } … Web Development php ![]() | |
I am trying to connect to the Ms access database using PHP. The database, that I created has '.accdb' as an extension. I tried the following steps. but I get this error "The specified DSN contains an architecture mismatch between the Driver and Application". Any ideas?? 1. Go to your … Web Development microsoft-access open-source php ![]() | |
Hi, I found two pages that describe how to check and see if a CronJob with script is working, without waiting for the exact time and date for the cronJob to execute. Are these methods valid methods, or is there a better method to use, so I can check right … Web Development php | |
how to hide a url while printing a web page using scriptts...but not manually altering the settings of browser Web Development web-browser | |
![]() | I have never used PHP before. I am familiar with HTML and Javascript, but never delved into PHP territory unfortunately. I'm stuck on a host that does not support PHP directly, but says if I host it on another site and embed it in the html it should work. The … Web Development php ![]() |
How we configure to our website in wordpress? Just i purchased new domain for my new website. But i don't know how we can install to wordpress cms on website. So please guide me! Also want to ask i want to using standard theme on website so can we change … | |
Hey Guys, I am writing this code to send out personalised emails to potential customers. And i have few questions about the code. This code is made from several tutorials and code examples. I have searched for stuff on it and theres plenty of articles about it but not what … | |
I'm using [filtrify plugin](http://luis-almeida.github.io/filtrify/) on my website and I needed a way to save filter settings when user reloads page or pareses browsers back for forward buttons. After searching for a while I found html local storage solution. I have somewhat implemented in in my website, but I can't get … Web Development html-css javascript javascript-jquery storage | |
Hi all, i am developing web application in asp.net backend MS-Sql.<br/> i have to retrieve a particular table values for example table name "costomer" and its fields are "c_id,c_name,c_contactno" like that and when i retrieve this values, it should be bind the checkbox for UI. now i've code for generate … | |
Hello Everyone, So I have a problem that is genuinely stumping me here. The sad part is this is probably something very easy. I'm using the following script for a site I'm working on: http://css-tricks.com/rethinking-dynamic-page-replacing-content/ However, one of the "pages" i'm working on requires a verticle menu that you can … Web Development javascript javascript-jquery | |
I have this line <INPUT name=c value="<?php echo href="http://',$data2['c'],' " ',$data2['c'],' ?>"> and it is giving out this error Parse error: syntax error, unexpected '=', expecting ',' or ';' in /home/a3024539/public_html/bigtestone1.php on line 21 The output I am looking for is the text from the table to become a … Web Development php | |
Hello, I have used wrodpress Pink rio theme and filterable portfolio ,added some additional images when clicked on project detail link theme flex slider is created right !. I need here my original images (like image.jpg) which will be displayed in its actual size , but image with some cropped … ![]() | |
i want to create a coment option with the help of PHP.anyone tell me about this. Web Development php ![]() | |
hi i have 4 DropDownList i made connction with database sql server 2008 and create 2 button NEW , SAVE button here funtion to DropDown Protected Sub DropDownList_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadComboBox6.Init If flagNEW <> "NEW" Then Dim adapter As New SqlDataAdapter("SELECT ID,DESCR , ACCT_NO,MAISTAKE_ID … Web Development asp.net | |
Hi guys, I've been trying to update an updatepanel with the selected values of two dropdownlists. The updatepanel is supposed to be updated on selectedindex changed of the second dropdown. The update works on the first initial index changed, but does not work for any subsequent index change. The markup … Web Development asp.net | |
hey there I have problem in running som function in php I've created simple chat system , I want to delete every message create 1 hour ago or 30 minutes ago I've used mysql_query("DELETE FROM `chat` WHERE `cht_date` < DATE_SUB(NOW(), INTERVAL 1 MINUTE)"); my "cht_date" type in database is "TIME" … Web Development php | |
When the user finish with the order and pay then i want to create a pdf with the order receipt with email. How i can create this pdf online and sent it to the user? Thank you very much |
The End.