52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Luckychap

This is Jquery plugin which can be used to change the content a its place. Features: 1. Easy to use 2. Maintain changeability of Jquery Know Issue: 1. Can take html string also as input For example: html: [code=html] <div id="editable">I can be changed right here</div> [/code] javascript: [code=javascritp] $.('#editable').editAtPlace(function(newtext, …

Web Development javascript javascript-jquery
0
361
Member Avatar for JaseAU

Hi, I have a web application that allows users to schedule a group of Emails to be sent out. I am using Quartz to do this. I've set up the quartz.properties file, coded all the back end java business logic, but I believe to get this to work on a …

Member Avatar for SoftwareHead
0
524
Member Avatar for divyakrishnan

Hi , I want to access a pdf file by clicking a hyperlink using PHP.the pdf file is stored on a shared folder of a storage machine.It work with internet explorer.But with firefox and chrome its not working.Showing error on chrome as "The loading of the URL has been blocked …

Web Development pdf php storage
Member Avatar for divyakrishnan
0
147
Member Avatar for xxreenaxx1

I am working on a rule to find out which question has the highest correct answer. Not sure how to work with this. But here is an explanation of what I have so far and what I want my program to do. I have question and answer table Question: questionid,QuestionName, …

Web Development php
Member Avatar for Akash Saikia
0
80
Member Avatar for erza26

Hello...i'm new here...juz want to ask some help from anybody..i've done search coding..the problem is, how i want to print it in pdf form...or can i use this coding <input type="button" value="Print Vendor Detail" onClick="window.print()" /> to print the details...hope someone can help me...thanks...:$

Web Development pdf php
Member Avatar for erza26
0
76
Member Avatar for Awah Mohamed

hey people. this is my 1st time to get this error. i usually save cookies using this code: [CODE] <?php $time = time()+60*60*6; // the time is saved for 6 hours // then save the cookie with the $id data setcookie("ln", $id, $time); ?> [/CODE] but with my new website. …

Web Development apache html-css php web-browser xml
Member Avatar for diafol
0
199
Member Avatar for Cece Skies

Hello. Is PHP hard to learn? :sweat: I would like to incorporate it on my website. Thanks!

Web Development php
Member Avatar for chrishea
0
103
Member Avatar for Chubbymouse

Hi there, I have some code on a page to extract info from a database (like a back end system) and I just wondered if there was anyway I could do a shortcut around the code to avoid doing multiple SELECT statements. e.g [CODE]<?php $result = mysql_query("SELECT * FROM quackedup …

Web Development mysql php
Member Avatar for gokhanfil
0
164
Member Avatar for jamesf786

Hello, There is multidimensional array which has stored several information about each record. From those 1st is name and 2nd is pswd I am trying to write a function which would check name and pswd entered by user and check whether name exists in array or not. If it does …

Web Development javascript
Member Avatar for noamwegner
0
98
Member Avatar for >>> isaac = []

First I have to say, Eclipse works wonderfully except for this minor problem. I've tired looking for help on this for about a week and so far the only soluctions relate to content assist not working at all. None refer to content assist missing some major functions, libraries, classes. Some …

Web Development ide javascript
Member Avatar for >>> isaac = []
0
1K
Member Avatar for nitnayak

This is probably a stupid question, but I don’t know this stuff and need some help. I have a form with 2 text box, and I want to pass the user-entered contents of the 1st text box to a php variable ($size)(without posting the page) on onBlur of 1st textbox. …

Web Development php
Member Avatar for tomato.pgn
0
175
Member Avatar for melisko

Hy guys i was creating small page , with mobile phones . And i need little push . The problem is this : On main page i have small drop down menu which contain some values . And i want to take the value and display the appropriate stuff inside …

Web Development javascript operating-system pdf
0
78
Member Avatar for xxreenaxx1

I am trying to read from a file and insert this to a database. But the error message is giving me trouble [QUOTE] Notice: Undefined offset: 1 in C:\xampp\htdocs\test\try2.php on line 15. This is the error message. On line 15 is: $userName = $tmp[1];[/QUOTE] my code is [CODE] <?php mysql_connect("localhost", …

Web Development php
Member Avatar for xxreenaxx1
0
111
Member Avatar for 54uydf

Hey, I want to add tabs to my php page, but I don't know JS.. I found many ready tabber scripts but I'm having 2 problems- the text on the tab's title is set somewhere in the JS and I can't find it, it makes them Tab 1, Tab 2, …

Web Development html-css javascript
Member Avatar for 54uydf
0
106
Member Avatar for genext.brite

Hello everyone, [B]I have a TextBox and a Button on my webpage. On Page Load I'm displaying the contents of a TextFile(with multiple lines)on the TextBox.Then I'm editing the TextBox.Then On ButtonClick ,I debug it and check the TextBox value.The value shown is:The value last edited on textbox appended with …

Web Development asp.net
Member Avatar for Akash Saikia
0
145
Member Avatar for cliffcc

How to show the time and data in the user's timezone? I don't know it at all! Can anyone teach me? Thanks!

Web Development php
Member Avatar for digital-ether
0
181
Member Avatar for ray_broome

Hi, I have a situation where i am inserting to two tables from a web form but the first table needs to be inserted to so i can get the PK, then use the PK to insert into the second table. So what I would like to do is rollback …

Web Development mysql php
Member Avatar for onlysumon
0
1K
Member Avatar for russellharrower

So I got most of the code working, but what I am trying to do, is say someone post the following This is a great youtube video [url]http://www.youtube.com/watch?v=pkrM7x0_fcI&feature=channel[/url] what do you think. I want it to turn the youtube link to [url]http://www.youtube.com/v/pkrM7x0_fcI[/url] but keep the text that they typed so …

Web Development php regex streaming-service
Member Avatar for vinnyBenson
0
633
Member Avatar for phouse512

Hello all, I'm working on a comment script to produce a string of XML to be used for one of my ajax applications. However, I cannot figure out how to produce the xml. Assume that the passing of the parent_id variable is working for now. Here's the code I'm using …

Web Development php xml
Member Avatar for hielo
0
96
Member Avatar for joomphp

hi! i have some html code like this [CODE] The Chihuahua Desert <a href="index.php">Dirt</a> Fest is <a href="/index.php">coming <a/>up, next February 17-19. <a href="http://google.com">Three</a>[/CODE] i want to replace /index.php with [url]http://google.com[/url] and index.php with [url]http://google.com/[/url] and idea how can i do this

Web Development php regex
Member Avatar for pritaeas
0
190
Member Avatar for Coderunner

Hello all, I have a php script but want to add some more features but I got stock. I hope somebody can help me cause I'm a beginner in php. The php script so far show all files in the root dir and subdirs in descending order of last modified …

Web Development php
Member Avatar for Coderunner
0
611
Member Avatar for george61

This problem is about passing parameters between functions(define neighbour elements and acess these elements) Here is some HTML [CODE] <ul class="listing"> <li><a href="imgs/eli.jpg" id="1" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/eli_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/ggallin.jpg" id="2" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/ggallin_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/jontarata.jpg" id="3" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/jontarata_t.jpg" width="150" height="100" class="images" …

Web Development image javascript
Member Avatar for Airshow
0
153
Member Avatar for blackbr

When I debug, it shows executing the routine, but the ddl's selected index is always zero, no matter which item I select. It didn't always do this. Earlier, it would work correctly for one dataSource, but not another (yes, I use a different data source, depending on who logs on). …

Web Development asp.net
Member Avatar for blackbr
0
94
Member Avatar for phouse512

Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. …

Web Development javascript open-source xml
Member Avatar for Airshow
0
340
Member Avatar for kokfui

CODE 1 <?php ini_set('date.timezone', 'Asia/Kuala_Lumpur'); $today = Date('y.m.d H:i:s'); // current time echo $today; ?> CODE 2 <?php ini_set('date.timezone', 'Asia/Kuala_Lumpur'); $today = Date('y.m.d H:i:s'); // current time $query= "UPDATE items SET post_date = '{$today}' WHERE item_name='$item_name'"; mysql_query($query); ?> hi all, as you all can see, i have two similar code …

Web Development php
Member Avatar for diafol
0
133
Member Avatar for abhi10kumar

[CODE] $lines = file('http://www.adexmart.com/product.php?id_product=276&utm_source=shopmania&utm_medium=cpc&utm_campaign=direct_link'); // Loop through our array, show HTML source as HTML source; and line numbers too. foreach ($lines as $line_num => $line) { if(htmlspecialchars($line)=="</div> "); echo htmlspecialchars($line)."<br>"; } ?> [/CODE] I am printing lines (all html code) successfully, but I dont able to check a condition for …

Web Development php
Member Avatar for vibhaJ
0
119
Member Avatar for prakashghai

Hi Everyone I have a webform, from which i want records should be submitted into two tables under same database name. My code is [CODE]<?php $con = mysql_connect("localhost","************","***********"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db=mysql_select_db("qserves1_uksurvey", $con); $sql="INSERT INTO forms (date, Receivingsky, Title, Firstname, Lastname, House, Street, …

Web Development php
Member Avatar for vibhaJ
0
118
Member Avatar for dornaled

hi any body tell me where use in PHP this function $_GET on websitedesign and why I use this. tell me ? thanks and advanced.

Web Development php
Member Avatar for diafol
0
108
Member Avatar for Nfurman

Hello. I am doing an exercise and faced an problem my code is: [CODE] protected void ddlStudents_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(connection); SqlCommand comm = new SqlCommand("GetFullStudentProfile",conn); comm.CommandType = CommandType.StoredProcedure; comm.CommandText = "GetFullStudentProfile"; SqlDataReader reader; try { conn.Open(); reader = comm.ExecuteReader(); reader.Read(); StringBuilder sb = new …

Web Development asp.net sql
Member Avatar for Nfurman
0
118
Member Avatar for dalip_007

Hey guys I have an encrypted ip address in php like $visitor_ip = ip2long($_SERVER['REMOTE_ADDR']); $visitor_ip looks like this 1860881473 can i decrypt this number to get a proper ip like "42.108.196.150""? if there is a way todo so? Thanks again

Web Development php
Member Avatar for dalip_007
0
74
Member Avatar for 54uydf

OK, I need help!!!!!!! I've tried every advice I could find on google, nothing works for me!!!!! my DB has data in hebrew I can't figure out how to set the collation and everything else right so that my site would show the data in hebrew when I echo it …

Web Development mysql php
Member Avatar for 54uydf
0
175
Member Avatar for WDoherty

I want to create a 3 page search to bring back one result from a SQL database. The first page will be a image of a male and female, and the user selects themself, e.g either Male or Female. They click next. The next page asks for the day of …

Web Development asp.net sql
Member Avatar for WDoherty
0
144
Member Avatar for Awah Mohamed

hey people . i am trying to set a cookie but when ever i try to set it, it says : [CODE]Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\signup\conf.co.signup.php on line 13[/CODE] please help me with this. this is my code: [CODE] <?php error_reporting(-1); if(isset($_COOKIE['logedin'])) …

Web Development php web-browser
Member Avatar for Awah Mohamed
0
244
Member Avatar for s7mo

I am 4 months new to PHP! So please be gentle with me. : ) I have an input form that contains check-boxes(it works and posts array to database correctly!) I have an update form that contains the same check-boxes (it updates and posts array to database correctly BUT IT …

Web Development html-css php
Member Avatar for vibhaJ
0
1K
Member Avatar for dschuett

I have a php script that pulls several rows of invoices from a database and displays them on the screen in table format. I have created an onclick per row within the while loop in order call another php script that runs a query to pull all the attachments for …

Web Development javascript mysql php
Member Avatar for Akash Saikia
0
1K
Member Avatar for monstercameron

[URL="http://www.thinkteletronics.com/experimental.htm"]http://www.thinkteletronics.com/experimental.htm[/URL]i have written some javasript code to play an animation with sound and all paths should be working yet nothing is displayed...chrome/ff4/ie8 wont show any anything.

Web Development html-css javascript video
Member Avatar for Akash Saikia
0
136
Member Avatar for alexia_net

Hi. I am using this command [CODE] include ($_SERVER['DOCUMENT_ROOT']."<path>"); [/CODE] to import a *.php file into another *.php file. However, i have noticed that in some cases it works, in some cases it does not. In another file I am using the same syntax to import a file which, is …

Web Development file-system php
Member Avatar for tomato.pgn
0
840
Member Avatar for ckdoublenecks

Could someone help me with this code? I need to compare the date completed(datecomp) to the date paid(datepaid) to establish the number of days difference(dayslate). Thanks in advance! [CODE]<?php $stat = mysql_connect("localhost","root",""); $stat = mysql_select_db("oodb"); $query = "SELECT name FROM oocust Where ordernum='$ordernum'"; $stat = @mysql_fetch_assoc(mysql_query($query)); echo $stat["name"]; $result= mysql_query("select …

Web Development php
Member Avatar for reygcalantaol
0
176
Member Avatar for mbarandao

Hello: I'm having difficulty getting variables that are passed to another page in a url after migrating from an apache on window server to a apache on unix server. Here is the url: [code] <meta http-equiv="refresh" content="3;url=/i-cmsys/editableinvoice/index.php?edit_mileage=<?php echo $_POST['edit_currentmileage']; ?>&edit_servicearea=<?php echo $edit_servicearea_str; ?>&inputbox=<?php echo $_POST['inputbox']; ?>&edit_clientID=<?php echo $_POST['edit_clientID']; ?>&edit_firstname=<?php echo …

Web Development apache php unix windows-server
Member Avatar for mbarandao
0
287
Member Avatar for xxreenaxx1

I want to put this in a table so I can repeat this twice in two cell. [CODE] $intNumber = 1; $sql=correctanswer($_SESSION['username1'], $_SESSION['smodule']); echo "<strong>the ones are ticked is right answer </strong></td><br />\n"; while($info = mysql_fetch_array( $sql)) { echo " <strong>$intNumber, {$info['Que_Question']} </strong><br />\n"; for($i = 1; $i <= 4; …

Web Development php
Member Avatar for jkon
0
65
Member Avatar for duliduli556

Is it possible to have true global variables in PHP? The tests I have done so far seem to suggest that you can have a global variable that is global only to the php file that declares it and not to your whole website. Once you go to another php …

Web Development php
Member Avatar for jkon
0
301
Member Avatar for baseballfury

Hi Guys, Not sure if this is a php or sql problem but i keep getting the following error when trying to update a row using php and 'UPDATE': ERROR:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right …

Web Development php sql
Member Avatar for baseballfury
0
144
Member Avatar for rkayd

I have 2 separate questions. They are related so I hope it works to take care of both of them in one thread. I have this code that works fine for what it does: [CODE] <head> <script type="text/javascript"> function alertSize() { var myWidth = 0, myHeight = 0; if( typeof( …

Web Development javascript
Member Avatar for rkayd
0
137
Member Avatar for i love my vans

Hey Everyone! ( <-- First Post, Wow) Well i want use a URL variable like this... [PHP]www.site.co.uk/index.php?page="about"[/PHP] With me so far? Ok. Now when the user enters the index.php page, i want specific content loaded into a preset table, in the case above it would be the about page, but …

Web Development display first-post php
Member Avatar for rekhasuresh
0
762
Member Avatar for dalip_007

hey guys I have a string containing email addresses like "ceo@facekut.com" <ceo@facekut.com>,"Rahul Mahajan" <creative.rahul007@gmail.com>......... Now is there a way in php to remove all the things between quotes "..." and make this look like below? <ceo@facekut.com>,<creative.rahul007@gmail.com>......... or [email]ceo@facekut.com[/email] ,creative.rahul007@gmail.com......... I would be very thankful if anyone has answer. Thanks

Web Development php
Member Avatar for dalip_007
0
167
Member Avatar for youvi

please clear the syntax error... [CODE] $locker_query ="update tbl_locker set locker_title='".$locker_title."',headline_text='".$locker_headline."',introductory_text='".$locker_intro_text."',popup_delay='". $locker_delay ."',repopup_frequency='".$locker_frequency."',forced_completion='".$locker_force_offer."',email_id='".$locker_email."',created_date=now(),guid='" . md5(time()). "' where locker_id='".20."'"; [/CODE] Thanks

Web Development php
Member Avatar for diafol
0
86
Member Avatar for duliduli556

Hi All, How do you use div class' in php such that you can attach html generated by php into that div class. Example <html> <head> </head> <body> <div class="border"> </div> <?php echo "This needs to go into the class border" ?> </body> </html>

Web Development php
Member Avatar for diafol
0
114
Member Avatar for thijscream

[B]SOLVED ALREADY!!![/B] i'm getting the following error: UPDATE orders SET naamwijn = Josep Masasch Blanc de Blancs Brut Cava WHERE ordernr = 22 AND productnr = 16 LIMIT 1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax …

Web Development php sql
Member Avatar for thijscream
0
83
Member Avatar for ayesha789

Hi, I want to make a form , in which I have 4 input Fields. [LIST=1] [*]Date1 [*]Date2 [*]Calender Days [*]Working Days [/LIST] When I enter date1 as 2011-04-07 and date2 as 2011-04-11 Then I require in Calender Days = 5 inclusive of date1 and date2 and Working days = …

Web Development javascript
Member Avatar for McLaren
0
276
Member Avatar for Shruthi_R

hi am developing a online test application i need to fix up a time for the test and redirect to result page as soon as the test is over how can i do this i think we need to set up a session timeout property can anyone clearly explain me …

Web Development asp.net session
Member Avatar for prashantprof
0
566

The End.