52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Samyx

Hello Everyone, I created a form so that users can select date range. Based on the date range later on it would show a graph. I am still in the first part trying to get the value selected by the user so I can generate the query from the database. …

Web Development php
Member Avatar for IIM
0
646
Member Avatar for LastMitch

Hi, I been learning **OOP** slowly. I'm stuck how to resolved an **function query() on a non object issue**. My files are very basic: This is my **db.php** file: <?php global $db; class foo_mysqli extends mysqli { public function __construct($host, $user, $pass, $db) { parent::__construct($host, $user, $pass, $db); if (mysqli_connect_error()) …

Web Development mysql php
Member Avatar for broj1
0
852
Member Avatar for AARTI SHRIVAS

i want to add multiple texboxes on button click and store that value in database can any one help me out how to do this i know some javascrip and jquery neede but don't know how to store the all texbox value to database because for multiple texboxes in database …

Web Development javascript php
Member Avatar for AARTI SHRIVAS
0
3K
Member Avatar for Edwinner

$query = "SELECT * FROM customers WHERE firstname = '$firstname', lastname = '$lastname'"; $result = mysql_query($query); i keep getting Error: Query was empty

Web Development mysql php
Member Avatar for cereal
0
132
Member Avatar for Edwinner

//case for database search case "Search": if(isset($firstname, $lastname)){ mysql_select_db("webuser23", $dbc); $result = "SELECT * FROM customers WHERE firstname='.$firstname.' "; mysql_query($dbc); echo "<table border='1'>"; echo "<tr>"; echo "<th>Firstname</th>"; echo "<th>Lastname</th>"; echo "<th>Phone</th>"; echo "<th>Address</th>"; echo "<th>City</th>"; echo "<th>State</th>"; echo "<th>Zip</th>"; echo "</tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . …

Web Development display php
Member Avatar for Edwinner
0
184
Member Avatar for GraficRegret

here is the code, var images2 = ['images/index_19.jpg', 'images/details_10.jpg', 'images/index_23.jpg']; $(document).ready(function() { setInterval(forwardImage2, 4000); //This function will find the key for the current Image function currentImageKey2() { i = jQuery.inArray($('#slideshow2').attr('src'), images2); return i; } //This function will move the slideshow forward one function forwardImage2() { currentImageKey2(); if (i < images2.length …

Web Development php
Member Avatar for GraficRegret
0
154
Member Avatar for GraficRegret

here is the code, var images2 = ['images/index_19.jpg', 'images/details_10.jpg', 'images/index_23.jpg']; $(document).ready(function() { setInterval(forwardImage2, 4000); //This function will find the key for the current Image function currentImageKey2() { i = jQuery.inArray($('#slideshow2').attr('src'), images2); return i; } //This function will move the slideshow forward one function forwardImage2() { currentImageKey2(); if (i < images2.length …

Web Development javascript
Member Avatar for LastMitch
0
183
Member Avatar for numele

I am not the greatest on javascript and was hoping someone could give me some help. I am trying to pass to the parent form action field from the child. The line I have in the child now which is not working is: `window.parent.document.forms['stopForm'].action = "command_stop_15264.cgi";` I've tried a few …

Web Development javascript
Member Avatar for jalarie
0
191
Member Avatar for cossay

If I have a model called Admin_user which extends CI_Model, how do I name the file in which this model class is so that codeigniter can load it? I named the file admin_user.php and placed it in application/models directory but Codeigniter does not load the class when I try loading …

Web Development php
Member Avatar for cossay
0
182
Member Avatar for Setvir

here is code that I am working on. What it is supposed to do is upload a media file (image, audio, video) and then tell me what type of media it is. $media_type='image'; $filename=$_FILES["file"]["name"]; $extension = explode(".", $filename); $extension = end($extension); //echo $extension; if (($_FILES["file"]["size"] < 50000) && (!$_FILES["file"]["error"] > …

Web Development audio file-system php
Member Avatar for fobos
0
167
Member Avatar for daniel36

I am working on a project where admin can book an building unit for a customer.And i require that a month lie between two dates of booking or not for calendar.I am using query for this is "SELECT * FROM rt_booking WHERE rt_unit_id='".$urow['rt_unit_id']."' AND rt_start_date<=".$date11." AND rt_end_date<=".$date22; Here rt_start_date(unixtimestamp) and …

Web Development php
Member Avatar for daniel36
0
140
Member Avatar for ms061210

Hello guys, Please take a look at my code, coz I don't know why I cant login here in my log in form.By the way, my database is working, so the problem is in the code. looking forward for your help guys, here is my code: <?php session_start(); include("config.php"); ?> …

Web Development audio php
Member Avatar for homeboy
0
331
Member Avatar for tinabina22

My php code will not execute and I'm not sure why. Below is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Before.html </title> <meta name="Generator" content="Alleycode HTML Editor" /> <meta name="Description" content="Your description here..." /> <meta name="Keywords" content="Your keywords here..." /> </head> Before #1, Test …

Web Development php
Member Avatar for amith_ami
0
250
Member Avatar for shankar.bandaru.7

Hi, In my website new user register form have, when user all the fields fill the form ofteter registration complete it can be show successfull register message. Thank you

Web Development php
Member Avatar for AARTI SHRIVAS
0
380
Member Avatar for bylandsend

Hi, having a problem implementing partial page postbacks using a scriptmanager and an update panel. Here is a test page using a web form to call a user control. I am hitting the else statement in the code behind that confirms I do not have a functioning partial post back. …

Web Development asp.net assembly web-server xml
Member Avatar for arun1123
0
3K
Member Avatar for RubyNuby

I am currently in the middle of redesigning an iRC game bot into ruby. I am experiencing problems be to me not knowing any kind of ruby language, (new to the coding world) i was curious if someone could point me to a path I could change an irc coding …

Web Development ruby
Member Avatar for TrinitronX
0
191
Member Avatar for sou.dara.16

Forbidden You don't have permission to access /index.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. What can I do for fixing this error?

Web Development php
Member Avatar for YASHASHYA
0
127
Member Avatar for Misbah khan

My program is not working please tell me the problum in it... <form action = "http://localhost/third/c2.php" method = "Post"> <pre> <input type = 'checkbox' value = 'Stipned' name = 'chk1'/> stipend </br> <input type = 'checkbox' value = 'Diciplane' name = 'chk2'/> Diciplane </br> <input type = 'checkbox' value = …

Web Development php
Member Avatar for YASHASHYA
0
109
Member Avatar for DamzWildfire

i want to select items from the result set using the arrow keys as well as the mouse how do i do this the code i added doesnt seem work work and i think its incomplete: $(document).ready(function() { $('.dropdown').hide(); $('.autosuggest').keyup(function (e) { // we also have to check if user …

Web Development javascript
Member Avatar for DamzWildfire
0
197
Member Avatar for rouse

Anyone out there have a working system of PHP and xdebug on Windows 8 using an installed version of Apache server? For me this means you installed all the packages and this is not a WAMP system. If you do, would you let me know the file names of the: …

Web Development apache php
Member Avatar for LastMitch
0
407
Member Avatar for HunainHafeez

i tried reverse engineering option in Mysql workbend 5.1, 1stly i imprted DB's script and then created it, Its done :) but when i try to create ERD via Reverse Engineering option , then it doesn't show relations ships btw tbl, it only brings table to front ! why ? …

Member Avatar for LastMitch
0
368
Member Avatar for GraficRegret

I am trying to add the ability to add an href to specific pictures in my slideshow, however I am not sure how to create an href in javascript or jquery, I have searched all over, however my web searching skills are weak and I have thus far been unable …

Web Development javascript javascript-jquery
Member Avatar for GraficRegret
0
315
Member Avatar for Vijaysurya

Hai everybody, <div class="whatever styledark myclass"></div> I'm interested in the search-add class. This can be search-cancel, search-remove I want to get this class name when i click on the div, how i do i change this class name to other classes in the div. onclick success remove class seaech-cancel and …

Web Development javascript
Member Avatar for dcdruck
0
155
Member Avatar for AmieCutie

So a client of mine has about 150 domain names, all of them he is wanting to redirect to the primary domain name. I have done something like this for each domain name in the .htaccess file: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain12.com$ [NC] RewriteRule ^(.*)$ http://www.primarydomain.com/$1 [R=301,L] Options …

Web Development apache http-protocol
Member Avatar for AmieCutie
0
271
Member Avatar for anisha.silva

hi i have checkboxes , textboxes and drop down list boxes in an aspx web page, how do i get the data that is being entered by the user. and where should i write the code or it thanks appreciate a reply thanks

Web Development asp.net
Member Avatar for BMXDad
0
185
Member Avatar for SMode55

Hello, here's my problem. I am building an administration page that displays the users where you can edit or delete them. This page is built using jquery's $.Post ajax function and I am trying to nun jquery inside the page that is called by $.post but it doesn't work at …

Web Development javascript javascript-jquery
Member Avatar for SMode55
0
384
Member Avatar for WarrenG.27

Hello, I am writing a simple forum and I keep getting the error 'Undefined Variable'. But this makes no sense has I have assinged a a string to the variable in question . Its part of a while loop and has a .(period) before the equals. If I remove that …

Web Development php
Member Avatar for WarrenG.27
0
413
Member Avatar for shlokka

hi guys... im at the end of my tether with 2co payment gateway...there documentation makes less sense than paypals and the support team dont even acknowledge my emails. i also have a seriously clever programmer on the case who has absolutely no idea what a deadline means and keeps sayin …

Member Avatar for Craig@2Checkout
0
170
Member Avatar for McLaren

Hello, I am tring to test with this software: http://www.stat.fsu.edu/pub/diehard/ I make Hex file of random integers with 8 digis per integer, 10 integers per line as in documentaion. Then run ASC2BIN.EXE but it creates just empty file. My file looks like this: 493489c07f3ba47470011f170b9f5960668068d25732147d44af029b0bfed2a6682b77cb76a5d488 this is one line, but can …

Web Development php
Member Avatar for McLaren
0
411
Member Avatar for MIGSoft

Hey All. Have a question. I have this situation: in JavaScript I have a parent window that opens a child window using window.open(). Now, through the course of the whole thing, comes a point where the child refereshes the parent window using opener.location.reload(). After the reload happens, I have realized …

Web Development javascript
Member Avatar for ankurg11
0
3K
Member Avatar for vato116

I keep getting this error message: Parse error: syntax error, unexpected 'Your' (T_STRING) in C:\xampp\htdocs\Salary.php on line 8. <?php $h=$_GET['hours']; $r=$_GET['rate']; $p=$_GET['pay']; if ($h <= 40){ $submit = ("$p = $h * $r) echo "Your Weekly Salary Is: $p; } if ($h > 40){ $submit = ("$p = ($h *$r) …

Web Development php
Member Avatar for simplypixie
0
206
Member Avatar for shibu2all

Hi, Can anyone please help me out .I am trying out to send a mail using JAVAMAIL API, While executing the jsp code on server it is throwing few exception error. <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ page import="javax.mail.internet.*,javax.activation.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*" %> <% String result; // Recipient's email ID needs to …

Web Development apache api email java-jsp session
Member Avatar for stultuske
0
401
Member Avatar for chandub

hai every one.. am uploading image file before uploading i want know the height and width of image and also size of file please help in java script. thank you

Web Development image java-jsp
Member Avatar for chandub
0
246
Member Avatar for tefflox

Hi, I have taken the following code from youtube. As it is, without the function wrapper, it work in the address bar, tho I would like to modify it and call it to operate in one of my own pages. I need help to figure out how this can be …

Web Development javascript
Member Avatar for shaveenk
0
683
Member Avatar for r14aul

My site has just been hacked and I suspect that it was a remote file inclusion attack. These are my server specs: Windows Server 2008 R2 running ColdFusion 9 (9.0.1.274733) and IIS 7.5 This is the source code of the page that appeared after my site was hacked: <!-- # …

Member Avatar for LastMitch
0
410
Member Avatar for 4567

i wantto know how to delete,update,insert a specific row using oracle10g as database in visual studio with asp.net, using gridview checkbox and sqldatasource.

Web Development asp.net oracle visual-studio
Member Avatar for LastMitch
0
302
Member Avatar for bleedsgreen33

I inherited a website here at work. The menu system uses a convoluted jquery / javascript structure. There are 8 different types of "users" for this website, from administrator to contractor or accountant, etc, and the person made 8 different versions of the menus covering nearly 80 different pages within …

Member Avatar for tokick4
0
3K
Member Avatar for pattmorter

Hey everyone So I attempting to recreated one of my game I created in flash to HTML5 with EnchantJS. I originally got my basic images to display but then because I have to have a grid of 6x6 squares, constantly typing everything over and over again gets annoying. So I …

Web Development javascript
Member Avatar for LastMitch
0
206
Member Avatar for adishardis

Hi, I'm transferring data from one table to another and one of the fields is an email field. I would like to check if the emailfield is empty or otherwise faulty and skip that record if it is. This is how it looks at the moment but it's problamatic since …

Web Development email php programming-construct
Member Avatar for adishardis
0
475
Member Avatar for azegurb

Hi all, I have taken a script about **sliding text** from net. It has usage method. but inside it there is function that has four parameters and one of them was used. I dont understand it. Can you help me to understand it? below is script. in this script i …

Web Development javascript
Member Avatar for azegurb
0
131
Member Avatar for riahc3

I have a listener on canvas for whenever I click on it. At certain moments (like when a checkbox is checked) I want to disable that listener and make clicking on it do nothing. How do I do this? jQuery is allowed.

Web Development javascript
Member Avatar for riahc3
0
116
Member Avatar for gpriya govind

Generate the auto generate number with current month and year. Its Should auto generate. Thanks in advance

Web Development asp.net
Member Avatar for JorgeM
0
125
Member Avatar for josephbupe

Hi, Please, I am trying to open a details page from the main page item link as follows: Link on the main page: <td><a href=details.php?c_id=<?php echo ".urlencode($c_id)." ?> ><img src="./images/<?php echo $row['cfilename']; ?>" width="90" height="120" alt="" /></a></td> And the details.php page is: <?php $mysqli = new mysqli("localhost", "joseph", " ", …

Web Development open-source php
Member Avatar for diafol
0
235
Member Avatar for saadi06

Hi, I am using jpgraph library for creating graph of patients and displaying their growth chart. The data is displaying correctly. But I want to add tool tip on each point that which point is pointing to which patient. When the user hovers on the point. The jgraph is creating …

Web Development javascript
Member Avatar for gon1387
0
221
Member Avatar for tricket_7

Ok, I have searched all over the internet and have had no luck here so far. When someone fills out the form and clicks submit, the information entered will automatically be emailed to the "admin" and the page will be redirected to a "newAccount" page welcoming the new user, stating …

Web Development asp.net email html-css
Member Avatar for tricket_7
0
315
Member Avatar for andydeans

hi, i have a site where the user can copy and paste a letter they typed on their pc into an HTML editor in the site and when inserted goes into the database. what i need to be able to do is have a button when inserting or a specific …

Web Development php
Member Avatar for mrhankey
0
125
Member Avatar for Neethaa

Hai I have written a code for a hyperlink and now I need to redirect this page to another page,how can I do that? HtmlAnchor htmlanchor = new HtmlAnchor(); htmlanchor.HRef = "#"; htmlanchor.InnerText = myLabel1.Text; this.form1.Controls.Add(htmlanchor);

Web Development asp.net
Member Avatar for hometownnerd
0
103
Member Avatar for baig772

Hi all I have a website about magazines and I want to upload the pdf file into it and create a flipping book effect for that uploaded file. I have seen many softwares but he problem is * I want to integrate this functionality in my website * I am …

Web Development pdf php
Member Avatar for diafol
0
250
Member Avatar for Mahesh57

I have an array array('mango','apple','orange','bat','cat','mat'); like it for example i want to show an output in rows and columns like as follows mango apple orange bat cat mat how to get output show an above..

Web Development apple php
Member Avatar for diafol
0
171
Member Avatar for raajsj

hi, i am developing a web application in asp.net, i need to generate UserId and Password for different users. so the UserId is should be in their designation(like EIDPRO-0025,EIDMM-0025,EIDTL-0026).The EIDPRO,EIDMM,EIDTL is different users, I need the Numeric value (0025,0026,0026) should be increment. how to do this? Anyone give me solution …

Web Development asp.net
Member Avatar for raajsj
0
290

The End.