52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for harshedh

Hai everybody, I need help in the following value store in database double quotes "$plan['plantitle'] " for example has commented on your plan "test " anybody plz help public function notifyCommentOnPlan($me, $comment,$plan,$section) { //var_dump($comment['personal_id']);exit; //notify Plan owner if($plan['personal_id']!=$me->getId()) { $commentPlan = new Notification(); $commentPlan->setPersonalId($plan['personal_id']); $commentPlan->setSenderId($me->getId()); $commentPlan->setTypeId(3); $commentPlan->setMessage(ucfirst($me->getFullName()) . " has …

Web Development php
Member Avatar for IIM
0
205
Member Avatar for prashant9928

Hello everyone, As a freelance i am working on my own project name myOnlineDesk. I want to make a module in admin section where i can create a database backup file and save to the system. The thing that i want is ".SQL" file. When i click on a Backup …

Web Development asp.net sql
Member Avatar for hometownnerd
0
837
Member Avatar for Yarra

Im fairly new, and am wondering, how to make lets say website.com/about into about.website.com

Web Development
Member Avatar for JorgeM
0
119
Member Avatar for asaidi

HI i have this script that insert values to 2 tables .. when i use only 2 insert it works but more than 2 does not please find my code <?php error_reporting(E_ALL); $db=mysql_pconnect("localhost:3306","root","root"); mysql_select_db("campion",$db); $d='DELETE FROM net'; $m=mysql_query($d); $d1='DELETE FROM net_lib'; $m1=mysql_query($d1); $q2="SELECT serial_no,UnitName,pulser1_name,pulser2_name,pulser3_name,pulser4_name,pulser1_input_type, pulser2_input_type,pulser3_input_type,pulser4_input_type FROM net_watch_units"; $res2=mysql_query($q2); while($r2 = …

Web Development php
Member Avatar for broj1
0
146
Member Avatar for shibu2all

Hi, I don't know if this question makes any sense, but i need to get some answers. I am working on a project, where i am using a file encrytion/decrytion program.Now i have this .java program which is working perfectly from the command prompt and encryting/decryting files Now , the …

Web Development encryption java java-jsp
Member Avatar for shibu2all
0
335
Member Avatar for Tinnin

I'm trying to hide the excel grid on the screen view by making all borders in the worksheet white. I can't figure out how to get it working though. My attempts so far: $objPHPExcel->getDefaultStyle()->applyFromArray(array( 'borders' => array( 'allborders' => array('style' => PHPExcel_Style_Border::BORDER_THIN, 'color' => array('rgb' => PHPExcel_Style_Color::COLOR_WHITE) ) ) )); …

Web Development php
Member Avatar for Tinnin
0
6K
Member Avatar for matanc244

the page show Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'test2','test3')' at line 3 my php code <?php require 'config.php'; // Insert data into mysql $sql="INSERT INTO content (title , discription, …

Web Development php
Member Avatar for broj1
0
92
Member Avatar for cyberdaemon

Good day, I am having trouble on how should i clear the value of my controls in the modalpopupextender. Assume the i have 1 textbox in it. oce i clicked the button with any name. all i want is to clear the value of the control.. thanks

Web Development asp.net html-css
Member Avatar for cyberdaemon
0
148
Member Avatar for lps

Good day, I wish to print out the content of the files uploaded by the user from a input file type. It is passed to backend using post method. I have done some research but unforturnately I still haven't found a solution that satisfy me. The answer that are close …

Web Development display file-system php
Member Avatar for lps
0
162
Member Avatar for raajsj

public string generateEmployeeid()*//here i am getting this error 'objdataclassname.generateEmployeeid()'.' not all code paths return a value'* { objDataBaseClass = new DataBaseClass(); if (Designation == "Student") { int id; int count = 01; string typ = "SID-"; objDataBaseClass = new DataBaseClass(); Table = objDataBaseClass.GetDataTable("spGetEmployeeID");// passing storerprocedure name if (Table.Rows.Count > 0) …

Web Development asp.net
Member Avatar for cyberdaemon
0
174
Member Avatar for raajsj

Hi., I'm developing a web application,in this application using a gridview data control and show Employee details like Empid, EmpName, designation like that. i need when i click the "Empid" field, to show popup window and list that Employee all details in child window. how to do this? please Anyone …

Web Development asp asp.net
Member Avatar for cyberdaemon
0
1K
Member Avatar for sanket.patil

Hi friends i have used autocompletextender in my C# asp.net form . but it's not working fine. i have used following code. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:ScriptManager ID="script" runat="server" EnablePageMethods="true"> </asp:ScriptManager> <asp:TextBox ID="txtServiceCityLocal" runat="server" Style="width: 292px; margin-left: 150px; border: solid 1px #747474"> </asp:TextBox> <asp:AutoCompleteExtender ID="AutoCompleteExtender2" runat="server" TargetControlID="txtServiceCityLocal" ServiceMethod="GetCountries" …

Web Development asp asp.net assembly c#
Member Avatar for cyberdaemon
0
361
Member Avatar for anisha.silva

hi i want to add two dropdown boxes one for the make of the vehicle and one for the model of the vehicle. first the user need to select a make of the vehicle and then when he selects it only the models relevent to the make should display in …

Web Development html-css java
Member Avatar for anisha.silva
0
195
Member Avatar for chr.s

Hi, I'm using the big cartel framework to build a site, and am trying to make an AJAX call - currently without success. My code is as follows: jQ('body').on('click','#closeDetails',function(){ // If necessary condition met if (jQ('#productDetails').attr('class') != undefined){ // Store appropriate category var destCategory = jQ('#productDetails').attr('class').toLowerCase(); // Attempt to alert …

Web Development javascript javascript-jquery
Member Avatar for chr.s
0
308
Member Avatar for Cravver

I have a videos protal system that I just udated and I am getting this error: [24-Feb-2013 02:48:44] PHP Fatal error: Call to a member function portalIndex() on a non-object in /home/user/public_html/admin/applications_addon/other/videos/modules_public/display/index.php on line 152 The line that is on contains ths: $this->output .= $this->registry->output->getTemplate('videos')->portalIndex( $categories, $memberVideos, $featuredVideos ); This …

Web Development php
Member Avatar for diafol
0
316
Member Avatar for PsychicTide

Hey guys. I'm having a problem with changing the CSS of a div tag. I've done a bit of syntax/semantic research on this, but this situation seems a bit too specific to nail down. Goal: I have 4 checkboxes 1st: center text (turn off 4th checkbox if it is checked) …

Web Development html-css javascript
Member Avatar for PsychicTide
0
234
Member Avatar for Angel78

Been trying this for a while and even searched the net but didn't get what I am doing wrong, I got the function but it's just that it won't print the two first digits that is supposed to be 0 and 1 followed by what's get printed by my code. …

Web Development php
Member Avatar for Angel78
0
154
Member Avatar for fheppell

I've got this htacces code RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html I can load html files without the extension (test.html becomes test) but a php file in the same directory gives a 404 error …

Web Development php
Member Avatar for cereal
0
2K
Member Avatar for wonderland

Hi, My problem at the moment is a bit different than specified in topic title. I have an Iframe which displays .html file with js/ content slider when i click a link inside of that iframe I want for pop up window (greybox) to appear, but not inside of iframe …

Web Development javascript
Member Avatar for Airshow
0
291
Member Avatar for hunterious.latham

So Heres The problem code i get a Parse error: syntax error, unexpected $end in /home/crysta21/public_html/4dM1n1STr4+10nB4nk.php on line 149 from <?php /* MCCodes FREE cyberbank.php Rev 1.1.0c Copyright (C) 2005-2012 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General …

Web Development mysql php
Member Avatar for broj1
0
474
Member Avatar for anisha.silva

HI Part 1: I have 4 classes Handler, ResultE, QueryE and the HealthMonitor. The Handler, ResultE, QueryE classes have to send a message every 1 min (for example, the time is defined in each class) to the HealthMonitor. So i implemented the Observer patter. The Handler, ResultE, QueryE as Subjects …

Web Development asp.net router-proxy-firewall
Member Avatar for anisha.silva
0
204
Member Avatar for Dani

I have an API that supports both JSON and JSONP. Obviously, being a data provider, I want the people who request my data to cache it. However, jQuery's $.ajax() function says the following about their caching feature: >cache (default: true, false for dataType 'script' and 'jsonp') Type: Boolean If set …

Member Avatar for Dani
0
437
Member Avatar for lewashby

In the following html/php page why is my "select" tag not showing all the options? <html> <head> <title>Learning PHP & HTML</title> </head> <body> <form action="somefile.php" method="post"> <form> <table width="25%"> <tr> <td>First Name:</td> <td align="right"> <input type="text" name="fName"></td></tr> <tr> <td>Last Name:</td> <td align="right"> <input type="text" name="lName"></td></tr> <tr> <td>Phone Number:</td> <td align="right"> …

Web Development html-css
Member Avatar for lewashby
0
291
Member Avatar for ffej2ffej

I am working on a series of web pages and I would like to be 100% certain that users cannot jump around to any page they like by typing a URL into their browser. I have used $_SERVER['HTTP_REFERER'] to check at the top of most pages and if the referer …

Web Development http-protocol php web-browser
Member Avatar for diafol
0
289
Member Avatar for anisha.silva

hi i have an drop down list in the web paage and it has Item A, Item B, Item C as items in the drop downlist. when i run the page how can i make it to display the Item B which is the 2nd item to be displayed in …

Web Development asp asp.net html-css
Member Avatar for anisha.silva
0
223
Member Avatar for rocky.maivia.7161

interesting ideas to develop money making websites? i am a website developer, want to develop something that would make me financially good and idea should sound interesting and attractive to customers, help me , regards

Web Development
Member Avatar for HunainHafeez
0
146
Member Avatar for Angel78

I am trying to make a movie list for myself, I got everything working like add and delete but the edit gives me some headace. I get all the values fine, id, movie title, director and year are all filled in, well not what category I added using radio buttons …

Web Development html-css mysql php
Member Avatar for broj1
0
259
Member Avatar for jrotunda85

I have a javascript login box on my site ([url]www.cigardig.com[/url]) that a user can click on and login on any page. The way I would like it to work is that once a user hits submit, they are redirected back to the page they logged in on. So, for example, …

Web Development client-server http-protocol php
Member Avatar for bakhtn
0
2K
Member Avatar for luke.belleghem

Hi, I have a script that sends uploaded images to my images folder on my web server. Im not sure but I think it also renames the images (which is what I want to happen). Could someone please take a look at this script for me and tell me if …

Web Development image php web-server
Member Avatar for luke.belleghem
0
227
Member Avatar for NFS1

I am creating a online car booking system, where a user is able to rent a car by per hour or all day. Below is the form i have created using formview: [IMG]http://i697.photobucket.com/albums/vv333/POLO_GTI_6N2/booking.jpg[/IMG] And here is the C# code i have created so far to transfer the data to the …

Web Development asp asp.net
Member Avatar for NFS1
0
372
Member Avatar for sgnark

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\trail\index.php:1) in C:\xampp\htdocs\trail\index.php on line 2 whenever i run this file.... i will get a warning like this... i will attach the login page... after i will logged in i will get this same warning.... …

Web Development html-css perl php session
Member Avatar for broj1
0
3K
Member Avatar for tomato.pgn

i want to make a photo uploader page...that uploads photo and display it in the same page...but i also have one more problem...i don't want page to be refreshed...because i have other controls in that page....can u give an idea how to do so???

Web Development image php
Member Avatar for kaore
0
2K
Member Avatar for himvj1

Hi, I am new to php. I have copied one php application from one linux server to other linux server after copy application is working fine but the applet to view image in that application is showing two error messages. error is : java.lang.NullPointerException at com.primeleaf.viewer.manager.DocumentManager.setDocument(DocumentManager.java:123) at com.primeleaf.viewer.manager.CommunicationManager.init(CommunicationManager.java:76) at com.primeleaf.viewer.DocumentViewer.init(DocumentViewer.java:67) …

Web Development apache java java-swing php
Member Avatar for cereal
0
312
Member Avatar for neha05

Hello everyone here I am making project on bids and offer ,in which payment gateway i need to use is bitcoin ,so any one help me to guide from where i start Thanks

Web Development api cryptocurrency php
Member Avatar for neha05
0
202
Member Avatar for OsaMasw

I have single input to be enterded into database I want to use ajax to do this The problem that I already have form to do something else so I can't put from inside form how can I achive somthing like this without touching the original form ![ssss](/attachments/large/3/ssss.jpg "ssss") when …

Web Development javascript php
Member Avatar for OsaMasw
0
209
Member Avatar for Dani

Currently, to check if something is serialized, I do this: function is_serialized($data) { return (@unserialize($data) !== false); } But it issues an E_NOTICE. The @ is great to suppress output, but it's still clogging up every other line of my error log (which is purposefully enabled for notices). Are there …

Web Development php
Member Avatar for IIM
0
4K
Member Avatar for Lucardy

Hi All, I am having trouble getting this javascript to set a cookie on any browser. Below are the two scripts I am using and if anyone can save me from this week of frustration by telling me what I am doing wrong, I would greatly appreciate it. **This is …

Web Development javascript
Member Avatar for Lucardy
0
1K
Member Avatar for skitband

here's my canned.php <?php $conn=odbc_connect('firebird','SYSDBA','masterkey'); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT * FROM CANNED"; $rs=odbc_exec($conn,$sql); if (!$rs) {exit("Error in SQL");} echo "<table class='tbcanned' cellpadding='5' cellspacing='5'><tr>"; echo "<th>PRODUCT</th>"; echo "<th>QUANTITY</th>"; echo "<th>PRICE</th>"; echo "<th>DESCRIPTION</th>"; echo "<th>ADD TO CART</th></tr>"; $i=1; while (odbc_fetch_row($rs)) { $id=odbc_result($rs,"ID"); $name=odbc_result($rs,"NAME"); $quantity=odbc_result($rs,"QUANTITY"); $price=odbc_result($rs,"PRICE"); $description=odbc_result($rs,"DESCRIPTION"); echo "<tr><td …

Web Development php
Member Avatar for LastMitch
0
180
Member Avatar for php_noob

I have this code example <?php $sel_query = "SELECT * FROM tbl_name ORDER BY id DESC"; $res_query = mysql_query($sel_query); while($arr_my_array = mysql_fetch_array($res_Query)){ $cl_id = $arr_my_array['client_id']; ?> <input type="hidden" id="hdn<?php echo $cl_id ?>" name="hdn<?php echo $cl_id ?>" value="<?php echo $cl_id ?>" /> <input type="button" id="btnget<?php echo $cl_id ?>" name="btnget<?php echo $cl_id …

Web Development javascript javascript-jquery
Member Avatar for AleMonteiro
0
194
Member Avatar for ahudson

I am having trouble with a registration script that I am trying to implement. When I click the "Register" button, I get this error: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens This is my coding for the register function: `public function register() { …

Web Development mysql php
Member Avatar for JorgeM
0
214
Member Avatar for daniel36

I am first time using like in mysql .but it is giving error.my query with like is $user_query="SELECT * FROM rt_user WHERE rt_user_username LIKE %".$_GET['term']."% OR rt_user_name LIKE %".$_GET['term']."% OR rt_user_description LIKE %".$_GET['term']."% LIMIT 10"; it is giving syntax error.

Web Development mysql php
Member Avatar for dcdruck
0
188
Member Avatar for disha2612_1

I have a my URL as : www.domain.com/controller/login.php And i want to make it look it like: www.domain.com/jobtracker Please help, i have researched lots of links as i am new to this topic, but did not found appropriate solution yet.. It gives me 500 internal server error My .htacess file …

Web Development php seo
Member Avatar for migcosta
0
336
Member Avatar for code739

help me find out what's wrong with this code i got stuck with this error > ldap_search Search: Operations error <?php error_reporting(E_ALL); ini_set('display_errors', 'On'); $ADServer = 'sample.example.net'; $loginto = 'Aboitiz'; $uname = $_POST['uname']; $passwd = $_POST['pass']; $ldapconn = ldap_connect($ADServer) or die("Could not connect to LDAP server."); $ldaprdn = $loginto."\\".$uname; $ldapbind …

Web Development php
Member Avatar for LastMitch
0
2K
Member Avatar for migcosta

Hey guys, First of all please don't consider this an act of spam, it is not my intencion to spam! I belong to a small team that created the visualCaptcha (visualcaptcha.net), and we are looking for some reviews from web developers. We have downloads but we don't get much feedback …

Web Development cybersecurity
Member Avatar for IIM
0
114
Member Avatar for eltonpiko

hi ive got a script that need to upload a photo for an item and display it.but the photo does not show up i get corrupted file instead here is the scrip for the upload part can someone tell me what is going wrong. the photo needs to be save …

Web Development image php
Member Avatar for eltonpiko
0
178
Member Avatar for f_atencia

I need a function that allows a string to be passed in that strips out everything before a decimal place. For example, 40.00% should be 40. However, it needs to be flexible enough to check if there are no decimals and still maintain the same result. For example, 70% becomes …

Web Development javascript
Member Avatar for IIM
0
198
Member Avatar for CreatorZeus

My while keeps looping and i dont know why: code <?php $result = mysql_query("SELECT * FROM tag WHERE point='$pagename'"); while($row = mysql_fetch_array($result)) { $result = mysql_query("SELECT * FROM tag WHERE point='$pagename'"); //username echo $row["user"] . " ||"; //alias check $result = mysql_query("SELECT * FROM tag WHERE (user='$my_name' && point='$pagename')"); if …

Web Development mysql php programming-construct
Member Avatar for IIM
0
191
Member Avatar for biswa2ray

I have created email account in my website(ex: info@mywebsite.com) to use it for sending clients feedback.please guide me in jsp code to solve problem..

Web Development email java-jsp
Member Avatar for biswa2ray
0
189
Member Avatar for cyberdaemon

Good day, I am stuck at his moment figuring how could i solve this porblem.. I created a method that will retreive a value from the dbase and place it in the dropdownlist.. so here is my code protected void ddlSalesOrg_SelectedIndexChanged(object sender, EventArgs e) { _lkpPlantEntities.plant = ddlPlant.SelectedValue; _lkpCustomerEntities.txtSalesOrg = …

Web Development asp.net
Member Avatar for cyberdaemon
0
162
Member Avatar for sharmilli

function compile() { $a=shell_exec('gcc -o Compile Compile.c'); echo $a; $b=shell_exec('./Compile'); echo $b; } I tried to call the above compile function from the directory /var/www/. I could get the result by manual execution of gcc command but i could not create an executable file by running the same command from …

Web Development php
Member Avatar for vars
0
934

The End.