52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ctkam

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
Member Avatar for ctkam
0
222
Member Avatar for sonicx2218

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
Member Avatar for sonicx2218
0
696
Member Avatar for rms095

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. ![251bcfc8565d3b3a0be6872cadfe4a72](/attachments/large/4/251bcfc8565d3b3a0be6872cadfe4a72.png "251bcfc8565d3b3a0be6872cadfe4a72") As we see in fig no. 2, if I took this file hirarchy then application works perfect. but if …

Web Development asp.net
Member Avatar for rms095
0
200
Member Avatar for grant.baker

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
Member Avatar for grant.baker
0
629
Member Avatar for eburlea

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' …

Web Development display image php
Member Avatar for LastMitch
0
230
Member Avatar for joeyliew7

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 …

Web Development asp.net display
Member Avatar for LastMitch
0
185
Member Avatar for Kert

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."} …

Web Development json ruby
Member Avatar for LastMitch
0
878
Member Avatar for scarcella

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 …

Member Avatar for LastMitch
0
306
Member Avatar for krish.chand.96

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
Member Avatar for LastMitch
0
308
Member Avatar for Devan_1

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
Member Avatar for LastMitch
0
428
Member Avatar for luma64

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 -- …

Member Avatar for LastMitch
0
191
Member Avatar for ryantroop

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
Member Avatar for LastMitch
0
182
Member Avatar for GlenRogers

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
Member Avatar for BMXDad
0
297
Member Avatar for shhh

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
Member Avatar for Zagga
0
355
Member Avatar for strongpot

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 …

Web Development email html-css php
Member Avatar for strongpot
0
279
Member Avatar for sanbhu2105

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 …

Web Development html-css php
Member Avatar for EvolutionFallen
0
336
Member Avatar for diafol

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
Member Avatar for diafol
0
230
Member Avatar for Abbas Ansari

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 …

Web Development display php session
Member Avatar for Abbas Ansari
0
140
Member Avatar for nacedo

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
Member Avatar for nacedo
0
141
Member Avatar for MWEB

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" …

Web Development mysql php
Member Avatar for Jan_2
0
943
Member Avatar for Violet_82

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
Member Avatar for Violet_82
0
317
Member Avatar for New-Reign

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
Member Avatar for pritaeas
0
158
Member Avatar for games1124u

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" …

Member Avatar for pritaeas
0
390
Member Avatar for RGStrat

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 …

Web Development php puzzle
Member Avatar for diafol
0
175
Member Avatar for code_rum

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
Member Avatar for code_rum
0
176
Member Avatar for PriteshP23

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> …

Web Development php xml
Member Avatar for PriteshP23
0
2K
Member Avatar for andi-dev

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. …

Member Avatar for andi-dev
0
716
Member Avatar for Javier_3

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
Member Avatar for geniusvishal
0
281
Member Avatar for luma64

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
Member Avatar for pixelsoul
0
117
Member Avatar for Ed

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. …

Web Development mysql php
Member Avatar for diafol
0
463
Member Avatar for patk570

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
Member Avatar for diafol
0
348
Member Avatar for wxflint

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
Member Avatar for wxflint
0
161
Member Avatar for LegateLucius

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
Member Avatar for stbuchok
0
213
Member Avatar for divyakrishnan

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
Member Avatar for diafol
0
177
Member Avatar for layman114

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
Member Avatar for diafol
0
349
Member Avatar for Siberian

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
Member Avatar for Siberian
0
352
Member Avatar for bangar

how to hide a url while printing a web page using scriptts...but not manually altering the settings of browser

Web Development web-browser
Member Avatar for bangar
0
179
Member Avatar for sonicx2218

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
Member Avatar for diafol
0
144
Member Avatar for davidkroj

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 …

Web Development cms php wordpress
Member Avatar for RH-Calvin
0
143
Member Avatar for joseph.lyons.754

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 …

Web Development php sql
Member Avatar for joseph.lyons.754
0
303
Member Avatar for wonderland

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 …

Member Avatar for asmira
0
323
Member Avatar for raajsj

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 …

Web Development asp.net c# dataset
Member Avatar for raajsj
0
2K
Member Avatar for RGStrat

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
Member Avatar for JorgeM
0
332
Member Avatar for thearts.beach

I have this line <INPUT name=c value="<?php echo href="http://',$data2['c'],' " ',$data2['c'],' ?>"> &nbsp; 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
Member Avatar for thearts.beach
0
300
Member Avatar for engr_pir

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 …

Web Development php wordpress
Member Avatar for diafol
0
199
Member Avatar for raihanbd1000

i want to create a coment option with the help of PHP.anyone tell me about this.

Web Development php
Member Avatar for diafol
0
145
Member Avatar for bassam572009

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
Member Avatar for rubenrav
0
159
Member Avatar for while(!success)

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
Member Avatar for BMXDad
0
1K
Member Avatar for OsaMasw

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
Member Avatar for OsaMasw
0
302
Member Avatar for xxmp

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

Web Development java-jsp pdf
Member Avatar for peter_budo
0
284

The End.