52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Martin C++

Hello, I have a div that contains small posts, it grows automatically. When size is too big then the scrollbar apepars with CSS overflow property. What I want is that when more data is added then the div is automaticall scrolled down to it BUT when user decides to scroll …

Web Development javascript
Member Avatar for Martin C++
0
4K
Member Avatar for dinhunzvi

i have the following code in my php script. it's for displaying a Crystal Report file. $cr = new COM( "crystalruntime.application" ); if ( $cr ) { $cr->OpenReport( "SelectExpert1.rpt", 1 ); } if i try to access the file with this code on my browser i get the following error. …

Web Development apache php
Member Avatar for diafol
0
823
Member Avatar for vanessakate

Is there a way to load CSS from the database, I am developing an Ecommerce website for UK in a system in which the user can discuss directly with the suppliers through the inbuilt chat. Please someone help me by showing the coding, Thanks.

Web Development ecommerce html-css php
Member Avatar for imBaCodes
0
489
Member Avatar for naheedkassam

I have 2 tables that i have joined together to be able to evaluate the availabilty of rights to a user. the query is as below SELECT R.RIGHT_ID,RIGHT_NAME, RVIEW=CASE WHEN R.RIGHT_VIEW = 0 THEN NULL WHEN R.RIGHT_VIEW = 1 AND A.RIGHT_VIEW IS NULL THEN 0 ELSE A.RIGHT_VIEW END, RADD=CASE WHEN …

Web Development asp.net
Member Avatar for LastMitch
0
415
Member Avatar for silent lover

how to get img src value without img id? (with javascript) ababababa<img src="http://example.com/blabla/bego.png">ababababa

Web Development javascript
Member Avatar for silent lover
0
208
Member Avatar for GlenRogers

Hi I have a 'categories' mysql table and a 'subcategories' table. I need to make a form so the site owner can remove subcategories as needed. I was think of having a form with 2 dropdowns on it, the first to choose the category, the second to choose the subcategory. …

Web Development php
Member Avatar for masterjiraya
0
187
Member Avatar for turpentyne

I have an svg object on my page, with mouseovers that call a function on the page itself (outside of the svg). This function shows/hides divs on the page by id: onmouseover="top.showit('option28')" When the page is first loaded, the divs hide/show just as they're supposed to. But I have separate …

Web Development html-css javascript
Member Avatar for turpentyne
0
230
Member Avatar for kakalahori

<form action="process_registration.php" method="get" > <label for="lname">Login Name:</label> <input type="text" name="lname" id="lname" /> <label for="pswrd">Password:</label> <input type="password" name="pswrd" id="pswrd" /> <input type="submit" value="Submit" class="animated shake" /> <input type="reset" value="reset" class="animated shake" /> </form> and the php code is <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> <head> …

Web Development html-css php
Member Avatar for kakalahori
0
311
Member Avatar for kakalahori

while giving command zf create action login i get the error PHPUnit is required in order to generate controller test stubs. -------------any suggestions

Web Development php
Member Avatar for kakalahori
0
245
Member Avatar for Squidge

Hi All, Not sure really where this should go but..... I have recently setup a shared HTDOCS under XAMPP across a dual boot system (Win7 & Ubuntu). Not sure if there is an interest, but if anyone would like to know how to do it, please give me a shout …

Web Development ubuntu
Member Avatar for Squidge
0
136
Member Avatar for denikov

I would really like for someone to take a little time and look over my code. I'm parsing some news content and I can insert the initial parse into my database which contains the news URL and the title. I'd like to expand it farther, to pass along each article …

Web Development mysql php
Member Avatar for pritaeas
0
266
Member Avatar for bradly.spicer

Hi all, Having a small issue with some PHP i'm re-writing. I'm converting my old mysql to Mysqli for a new project. my database is called "jobboard" my table is called "details". The Idea is to have a drop down and then select the persons name (Which has the ID). …

Web Development php
Member Avatar for diafol
0
228
Member Avatar for mrexp21

` <script type="text/javascript"> function category(cid) { if(cid !="") { $('#process').show('slow'); $.post('<?php echo BASEDIR ?>/ajax.php',{action:'search_subcategory_by_category_for_advsearch','cid':cid}, function(data) { $('#process').hide('fast'); // $('#process'); $("#scid").html(data); } ); } } function subcategory(scid) { if(scid!='') { $('#process2').show('slow'); $.post('<?=BASEDIR?>/ajax.php',{action:'select_template_by_subcategory_for_refine','scid':scid},function (data) { $('#process2').hide('fast'); $("#specification").html(data); }); } } </script> <div class="lftpanel"> <div class="fl"><img src="<?=BASEDIR?>/images/browse_left.jpg" width="7" height="36" /></div> <div class="brow_bg">Refine Your …

Web Development mysql php
Member Avatar for pzuurveen
0
413
Member Avatar for rajqpt

Let's say you've got a form with check boxes like below: <form method="post" action="path to script"> <input type="textbox" id="text[]" value="" /> *** <input type="textbox" id="text[]" value="" /> *** <input type="textbox" id="text[]" value="" /> **** <input type="textbox" id="text[]" value="" /> **** </form>

Web Development mysql php
Member Avatar for diafol
0
849
Member Avatar for hindu times

Hi there, I am using the code below, which is bulked in with the "Keyring Social Importer" plugin for Wordpress, to import my Tweets on a regular basis as individual blog posts in my Wordpress blog. I would like to add a line of text within each created blog post, …

Web Development php social-media wordpress
Member Avatar for bradly.spicer
0
365
Member Avatar for Venter

<html> <body> <form method="post" action=""> <input type="text" name="customername" required/> <input type="text" name="productname" required/> <input type="text" name="units" required/> <input type="text" name="price" required/> <input type="submit" value="submit"/> </form> <?php if($_POST) { $_SESSION['array']=array(); array_push($_SESSION['array'],($_POST)); print_r($_SESSION['array']); } ?> </body> </html> Here My Need Was i Want To Save the all data which was submitted by …

Web Development php session
Member Avatar for masterjiraya
0
299
Member Avatar for professor123

hie i have a php form which will require a user to enter an ID Number in this particular form e.g. 34 1297336 Z 42 how to i create an easy and neat validation for that field. thanks any help will be appreciated!

Web Development php regex
Member Avatar for professor123
0
161
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a page look like a subdirectory. This is what it would look like now http://example.com/page.php this is what i want it to look like http://example.com/sub/page.php But i don't want to put the page.php in a subdirectory i just …

Web Development apache php
Member Avatar for joshl_1995
0
193
Member Avatar for lydia21

i have a form which will display the details in a table,when edit button is clicked all the content in the table should come in a form(ie inside the textboxes)..so that the user can edit and save the content again in the database. [B][U]1st page[/U][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or …

Web Development php
Member Avatar for piyush16791
0
147
Member Avatar for sonicx2218

I'm currently using this code to display a video lightbox on my site. If possible, I'm looking into rendering a disqus comment system under the popup video. Is that possible? Here's the js code. var Videobox = { init: function (options) { // init default options this.options = Object.extend({ resizeDuration: …

Web Development apple javascript
Member Avatar for sonicx2218
0
273
Member Avatar for skkishor

We are using Joomla1.5.20 Joomla Multisite Verion 1.2.8 - Free Version Our URl Master Site URL is [url]http://usentrepreneurtoday.com/[/url] for which we have different slave sites like [url]http://newyork.usentrepreneurtoday.com/[/url] [url]http://pennsylvania.usentrepreneurtoday.com/[/url] We are facing a strange issue. The issue is that when we open our master site, the site is opening properly, but …

Web Development php
Member Avatar for LastMitch
0
286
Member Avatar for iqlas

hey guys.. i'm working on e learning project.. i need to integrate Voice Chat in that.. so plz if anyone knows, plz help... Thanx in Advance...

Web Development php
Member Avatar for masterjiraya
0
442
Member Avatar for Sean_d

I've got 5 images that I want to display one after the other with a time delay, e.g. image one displayed 0.5 seconds image two displayed 0.5 seconds image three displayed At the moment the HTML looks like this: [CODE]<div id="header"> <img id="headerImage0" src=""> <img id="headerImage1" src=""> <img id="headerImage2" src=""> …

Web Development html-css javascript
Member Avatar for griff122
0
435
Member Avatar for joeyliew7

i have two forms on 1 page. but the 2nd form keep going to 1st form action.. 2nd form suppose to go to approve.php..how do i solve this? when i click Approve it suppose to go to approve.php and execute the query there..but now when i click it give errors: …

Web Development cms html-css php
Member Avatar for diafol
0
295
Member Avatar for hindu times

Hi there, Following on from an earlier post, the below code is part of Keyring Social Importer, and it imports my Tweets from Twitter and posts them as individual blog posts on my Wordpress.org website. I was wondering, if any of you know php and Wordpress, how I could make …

Web Development image php wordpress
Member Avatar for LastMitch
0
286
Member Avatar for still_learning

Hi guys, I am working on a webpage which holds 2 different html forms. One of them is a radio button form and the other one is a drop down menu. I also have two links on the page. I want to make it so that when someone clicks on …

Web Development html-css javascript
Member Avatar for xdpi
0
4K
Member Avatar for ryan311

@Html.LabelFor(model => model.ServiceTypeCode)</td> @Html.DropDownList("ServiceTypeId", new SelectList(ViewBag.ListServiceTypeClass, "ServiceTypeId", "ServiceTypeCode", Model.ServiceTypeId), "") can anyone know how to do this. If ServiceTypeCode = 'A1SG43' { @Html.EditorFor(model => model.StatutoryMaintenance) } else { @Html.EditorFor(model => model.CalloutDate) } How to achieve this please.

Web Development asp.net
Member Avatar for ryan311
0
133
Member Avatar for pitic

Hi everyone, I have a tricky question, at least for me. We have a website deployed on IIS that once in a while throws a NullPointerException when trying to read the `HttpContext.Current.Application["JScriptRootPath"]` value. So this is the whole scenario: This is just a key added in the Web.config file that …

Web Development asp.net visual-studio
Member Avatar for TnTinMN
0
269
Member Avatar for joshl_1995

Hello Community, I was just wondering why my password matching section ( } else if (!$password === $cPassword) { ) in the else if isn't working. Whats happening is it is saying the passwords do match but they don't. I have tried many ways to fix it there is one …

Web Development php
Member Avatar for joshl_1995
0
157
Member Avatar for nccsbim071

Hi, In my website i have implemented custom session values. In which, on log on i set the session value to some object. This object is used to extract user specific data from db. now the problem is If user logs in with : test1.somesite.com and logs off and again …

Member Avatar for jhoonbey
0
823
Member Avatar for Krstevski

Hey people... I want to delete the file from the server when he is been successfully doownloaded from the server (one-time download)... how can i this ? For send file I`m using the method transmitFile(...)... Thanks.

Web Development asp.net
Member Avatar for NarmadhaMano
0
196
Member Avatar for vishalonne

Hello I have databse in MySQL with 21 fields which are listed below Field Name Data Type NULL status text No roll_no text No branch_id int(5) No student_name text No father_name text No phone1 text No phone2 text No email text No dob date No city text No course_id varchar(5) …

Web Development mysql php sql
Member Avatar for KamranArshad
0
467
Member Avatar for hanan-kh
Member Avatar for pritaeas
0
357
Member Avatar for skliz

I am trying to write a script that would collect current time and check if the time falls with a particular time range. Let say the current time is 12:00am and I want to check if the current time falls within the range of 1 pm to 5 pm. I …

Web Development php
Member Avatar for CodeAngry
0
694
Member Avatar for rolanduk

Hy Guys As i previously mentioned i run a PPD site, but i notice i have a huge error. Every time when the members of my site ready to download a file they get the following message (please see picture) [Picture](http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png) I attach here the defailt.php code so you can …

Web Development php
Member Avatar for CodeAngry
0
330
Member Avatar for fheppell

I'm writing a php script that takes a URL and allows the user to highlight parts of the page. When I type in a URL all of the images are broken. How can I write a script to change relative links and assets to absoulute. Another thing this would need …

Web Development php
Member Avatar for CodeAngry
0
408
Member Avatar for Rizi004

Hi everyone I have developed Drupal website and custom registration form. The registration form is multi-step and in popup window so i m using lightbox2 module of drupal and working perfectly fine and the form code is written in the lightbox2 file that comes with module and place in theme …

Web Development php
Member Avatar for Rizi004
0
235
Member Avatar for logicaweb

I have a problem with jquery loading because prototype. This is script that I use: <script type="text/javascript" src="prototype.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> ... .. .. <script language="javascript"> function show(obj,msg){ messageBox.style.top=obj.offsetTop messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5 contents.innerHTML=msg+"<p>"+obj.href messageBox.style.display="block" } </script> Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I …

Web Development javascript javascript-jquery php
Member Avatar for LastMitch
0
238
Member Avatar for shadi_shanak

**Hello All.** I have a Website built on .NET with the following specificatoin: - dot net framework 2.0. - windows server 2003. - IIS6 . - Used Role Provider and sitemap to generate my main menu for each user Role . - Used web.config files in each subfolder to secure …

Web Development asp asp.net windows-server
Member Avatar for LastMitch
0
251
Member Avatar for astian

Hi, I am trying to publish a asp.net - silverlight application. The application has been started as a Silverlight Application project, the solution contains a few projects including a service connection. I am publishing it in file system and trying to host it on a Windows Server 2008 R2 in …

Member Avatar for LastMitch
0
417
Member Avatar for accra

Hi all, am trying to add an html form to a lightbox with no success. Here is my code: <a href="service_form.php" rel="lightbox"> <input name='input' type='' class='btn-primary' value='Add a Service Tag' rel='lightbox'> </a> Note: I have been able to add an image with the same code and it works fine,so the …

Web Development html-css php
Member Avatar for LastMitch
0
609
Member Avatar for sigvewinter

Hi guys! I have a website where users can follow each other. I want to create a stream/feed where posts and updates releated to friends will show. So in "theory" something like this: if friend1 and friend2 == true - > show posts from entries database else - > don't …

Web Development first-post php
Member Avatar for diafol
0
113
Member Avatar for foysal2012

I want am php page which entry the google longtitude and latitude from an google map, want just click the map and in the text box need to show the longtitude and latitude after that a submit button need to click this data will store on a database as varcar(). …

Web Development google javascript
Member Avatar for diafol
0
100
Member Avatar for inheaven

I need to get data from a [site][1] programatically using [WebClient][2] in ASP.NET. [This website][3] loads data by sending an `ASP.NET Ajax` request (using `ASP.NET ScriptManager`) to the server. Try selecting an geographical state and then click show on the page. Paging operations are also performed using ASP.NET Ajax. I …

Member Avatar for LastMitch
0
412
Member Avatar for Kratoswoo

So I created a form that used windows.forms and I was moving it over to web based. Now in there, there was DataGridView. Asp.net does not use that. So when I try the same thing. using (var = new ()) { var v = from l in .Logins where l.LogoutTime …

Web Development asp asp.net
Member Avatar for Kratoswoo
0
124
Member Avatar for Paulxh

I am trying to change the order of the stack using z-index. as my HTML, CSS and javascript function show in the code below. The three tables are all read into the same location, with only the last table being printed on the screen, since all tables use a white …

Web Development html-css javascript
Member Avatar for Paulxh
0
2K
Member Avatar for Martin C++

Hello, I have a small problem with my script. The ajax calls php file but it wont finsih successfully. Instead it goes to error: callback. My javascript part: function updateUserlist(){ $.ajax({ type: "POST", url: "process.php", data: {"function": "userList", "n_users": n_users}, dataType: "json", success: function(data){ console.log("Updating..."); $("#users-list ul").append("<li>"+data.text['nickname']+"</li>"); n_users = data.numUsers; …

Web Development javascript json
Member Avatar for Martin C++
0
170
Member Avatar for Dani

We use CodeIgniter custom session data to handle our login (among many other things). Our settings are as follows: $config['sess_cookie_name'] = 'danisession'; $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = TRUE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FALSE; $config['sess_time_to_update'] = 300; ... $config['csrf_protection'] = true; …

Web Development php session windows-vista-7-8
Member Avatar for Mark_k
0
2K
Member Avatar for coolrosy

it is possible to write more than one ajax request on a single page?can any one help me?thanks in advance

Web Development php
Member Avatar for diafol
0
123
Member Avatar for rsridhar420

var allchk = document.getElementsByName("contacts") what is "contacts" in above line

Web Development javascript
Member Avatar for IIM
0
139

The End.