52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jens86

Hi, I need help you php master to solve a problem with this code to open new window when someone click. [CODE] <!--RSS FEED--> <?php if(function_exists('fetch_feed')) { include_once(ABSPATH.WPINC.'/feed.php'); $feed = fetch_feed('http://feeds.com/'); $limit = $feed->get_item_quantity(20); // specify number of items $items = $feed->get_items(0, $limit); // create an array of items } …

Web Development php
Member Avatar for jens86
0
630
Member Avatar for 68thorby68

I have read dozens of blogs, forum postings amd the PHP manual on this but do not seem to get an answer. my code [CODE php/javascript] $_SESSION['sessionname']=$variable; session_write_close(); echo "<script language='javascript'>"; echo "parent.location.reload(true)"; echo "</script>"; [/CODE] works well with chrome, as I can check the existence of the session for …

Web Development php session
Member Avatar for 68thorby68
0
978
Member Avatar for 68thorby68

Hi, I have created a mysql database containing menu dishes for a restaurant. The idea is to store all dishes on the database whether the dish is being sold or has been sold in the past. Each dish (database row) has a simple indicator (yes/no) to determine if the row …

Web Development php
Member Avatar for 68thorby68
0
103
Member Avatar for NoID

Hello Guys, Here is the code that i have which works fine as it puts data to my database, but am not sure where or how to put it so then after the form has been completed i get an email to say that some one has completed the form …

Web Development email php
Member Avatar for whiteyoh
0
140
Member Avatar for LRNPHP

Hi Everyone. Can someone assist me? I'm pulling data from a DB, If the first value is empty it should check the second one and if that is also empty assisgn value. Hope it's understandable. Regards [code] if(empty($veh_img)){ $galpic="image.gif"; }elseif(empty($disk_img)){ $galpic="image.gif"; }else{ $galpic="$disk_img"; } [/code]

Web Development php
Member Avatar for LRNPHP
0
124
Member Avatar for Smudly

Hello, I've got a page that I've created that allows me to change multiple values in a row in my database. These values are all stored in a single row. I have input boxes for every one of the columns in my row. If a box is filled in, that …

Web Development php
0
67
Member Avatar for nmges

How do you open a window on the same page? (response.redirect will go to the other page.) Thanks. [CODE] Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged Select Case DropDownList1.Text Case "First Meeting Room" Response.Redirect("http://localhost:52952/RoomSetting/FirstMeetingRoom.aspx", False) Case "Second Meeting Room" Response.Redirect("http://localhost:52952/RoomSetting/MainMenu.aspx", False) End Select End Sub …

Web Development asp.net
Member Avatar for nmges
0
114
Member Avatar for AngelicOne

I have made my three textbox disable in code behind [CODE]if(!ispostback) { textbox1.enabled = false; textbox2.enabled = false; textbox3.enabled = false; }[/CODE] then I have three checkboxes that corresponds with the three textboxes, chkbox1 for txtbox1, chkbox2 for txtbox2 and so on. How to do enable it using javascript? i've …

Web Development asp.net javascript
Member Avatar for AngelicOne
0
110
Member Avatar for subhankar02dey

Hello, I have done how to find out co ordinate(x and y axis) of a point on an image where a user clicks. But I need the opposite thing now. I need to mark a point on an image when a user gives suitable x axis and y axis co …

Web Development image javascript
Member Avatar for subhankar02dey
0
251
Member Avatar for valonesal

Ok so I am working on setting up a zencart site. We purchased a slide show from flash den and we cannot figure out how to get it to show in zencart. We have tried all of the normal stuff and it doesnt seem to work. When we create a …

Web Development flash html-css php xml
0
62
Member Avatar for whiteyoh

Hi All, im trying to find a way of checking a string to see if it contains a word held in an array. If it is in the array i would like it to be replaced with cencored. the code if been working with is [code] <?php $myString = "Hello, …

Web Development php
Member Avatar for blocblue
0
92
Member Avatar for debow

I have a dynamic drop down that allows me to select an item. That item is posted to a new page that I run a query against to build/populate my form that I'm wanting to update a column in. However the issue is after I hit my submit button it …

Web Development php
Member Avatar for debow
0
162
Member Avatar for jidesbey

Hello, I have build an html interface with a text area. I want a script that would let me search for text pasted there based on a database. how do I go about it

Web Development php
Member Avatar for diafol
0
48
Member Avatar for levsha

Here is a problem. I have an HTML form with several fields in it. One of the fields - 'Upload file'. When I upload a file, everything works properly. But when I choose to submit the form without a file, it gives me the error message: "There was an error …

Web Development file-system html-css php
Member Avatar for levsha
0
168
Member Avatar for iamthwee

Here is a free excel to tab file convertor. Feel free to use for whatever purpose you want. There is no need for excel to be installed on the host pc. Assumes the user is on a windows platform. Extract all three files into one folder and run the main …

Web Development microsoft-office
Member Avatar for iamthwee
0
446
Member Avatar for bimalnayak

Hi I have a problem while i am trying to add to the database i can't find where is the bug is...Pls help me .... [CODE] if($action=="insert") { $acknowledgement_no=$_POST['acknowledgement_no']; $customer_id=$_POST['customer_id']; $date_commencement=$_POST['date_commencement']; $Plan_term=$_POST['Plan_term']; $ledger_no=$_POST['ledger_no']; $customer_name=$_POST['customer_name']; $age=$_POST['age']; $cur_address=$_POST['cur_address']; $nominee_name=$_POST['nominee_name']; $nominee_age=$_POST['nominee_age']; $relation_applicant=$_POST['relation_applicant']; $Place=$_POST['Place']; $agent_name=$_POST['agent_name']; $agent_code=$_POST['agent_code']; $amount_invested=$_POST['amount_invested']; $received_rupees=$_POST['received_rupees']; $query5="INSERT INTO bond_print SET "; $query5.="acknowledgement_no='$acknowledgement_no',"; …

Web Development php
Member Avatar for digital-ether
0
115
Member Avatar for nick3592

hi i was wondering how i can get a certain part of a url in php. For example a url like [url]http://site.com/randomfile[/url]. what i want is only the site.com part. How can i do this?

Web Development php
Member Avatar for nick3592
0
440
Member Avatar for k2k

my login script checks for login name and password in the database, if true then set value for a session variable for example $_SESSION['loginName'] = $login --> this is to identify who got logged in. however, if i have more than one user logged in to the system, then $_SESSION['loginName'] …

Web Development php session
Member Avatar for chrishea
0
108
Member Avatar for design.eng

I have been looking for a tutorial to learn populating drop menu or list data from a mySQL. I have found this thread from a website. But it seems something wrong. I get this error [CODE]0 and !is_numeric($cat)){ // to check if $cat is numeric data or not. echo "Data …

Web Development apple data-structure mysql php
Member Avatar for design.eng
0
1K
Member Avatar for 1x4n

hi all i've been trying to find a php function for this but couldn't find any hope anyone here can help i want to show only a part of string like SELECT LEFT (0,5)... in SQL but i want to do it in php ie: [CODE] $string = "hello world"; …

Web Development php
Member Avatar for 1x4n
0
95
Member Avatar for reececropley

Title doesn't really give this thread justice ... I have a content div with an image and text included into it. This same div class is being used multiple times. What I want is to be able to click the image, and have the <p> in that div toggle to …

Web Development javascript javascript-jquery
Member Avatar for reececropley
0
345
Member Avatar for fayenot

I have a table for projects, it has two fields for [B]project_start[/B] and[B] project_end[/B] both have datetime data type. what should i do so that when the user insert dates on both field it will automatically subtract and place the answer on the [B]duration[/B] field... please help.. oh before i …

Web Development asp.net sql
Member Avatar for sandeep.pande
0
193
Member Avatar for keval_hack

Hi, I want the name of all University in india. please any one can give me name of site where can i get the list of all indian university. -keval

Web Development php
Member Avatar for Ankit_Parmar
0
80
Member Avatar for JameB

I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, …

Web Development javascript javascript-jquery
Member Avatar for JJenZz
0
331
Member Avatar for manisvembu

Hi ... I Need to work with more AJAX Content, So i want a JS Function with Arguments like URL(the url to Ping), Parameters to Send , ctype(Content Type XML,JSON or TEXT). All i need is when i Call the Function with these Arguments , the Function should return the …

Web Development http-protocol javascript json xml
Member Avatar for manisvembu
0
118
Member Avatar for jrock2004

Ok so I am trying to setup on my site to have 6 of my recent tweets. I am trying to use the .getJSON method and it is just not working. [CODE] $.getJSON("http://api.twitter.com/1/statuses/user_timeline/jrock2004.json", function(data) { $.each(data, function(){ $('<div></div>') .hide() .append('<span>' + this.text + '</span>') .appendTo('#tweets') .fadeIn(); }); }); [/CODE] Any …

Member Avatar for JJenZz
0
103
Member Avatar for SENTHILRAJAG

How to Hide the Query String Values from user in asp.net while the page is redirect to another page. any one know that please reply for this

Web Development asp.net
Member Avatar for hirenpatel53
0
106
Member Avatar for phphit

For some reason, Javascript I am trying to execute with php is not working. Below is my code. [CODE] <script type="text/javascript"> function GetIst() { var d = new Date() var gmtHours = -d.getTimezoneOffset(); document.write(+ gmtHours); } </script> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Web Development javascript php
Member Avatar for vibhaJ
0
754
Member Avatar for jeffreyjs

I am currently trying to store location data into a database and when i display it on a website, the location data is hyperlinked and when i click on it, it will act as a search query to display the location on Google Maps in a iframe. Does anyone know …

Web Development asp.net google-api javascript perl
Member Avatar for jeffreyjs
0
241
Member Avatar for Tracie-marie

Hi all, I'm a self taught at PHP so I've probably made a really silly mistake but I can't see any issue with this code but I keep getting the following message: Parse error: syntax error, unexpected T_VARIABLE in blah blah on line 816. I know it will be a …

Web Development php session
Member Avatar for Tracie-marie
0
86
Member Avatar for coroll

HI!, i want call a jsp using anchor tag's href also with some data in it.when sending data i want wrap them in [CODE]<%=name%>[/CODE]. is it possible. i dont know how to do. but wahat i want to ask is [CODE]<a href='remove.jsp?itemNme=<%=temp[i]%>';>[/CODE] PLZ help me to do this.im stuk here. …

Web Development java-jsp
0
63
Member Avatar for demo80

I have tutorials for php but when i go through those tutorials php i have no problem but when it comes to real action things doesnt work please help. how can i do to be able to work well.

Web Development php
Member Avatar for muralibobby2015
0
49
Member Avatar for jcf

Hi, I am creating a program that is connected to a database (Jet. OLEDB). I would like to know how can you search a record in the program. Thanks

Web Development asp.net
Member Avatar for shanwaz
0
309
Member Avatar for pritesh2010

hello experts. as per the my last problem was [URL="http://www.daniweb.com/forums/thread296536.html"]this[/URL] now i'm moing further in this repeater i want button for delete and Update. i had try but didn't work i want the button based on user authentication. for e.g. if user is Emplyee so he/she can edit when they …

Web Development asp.net
Member Avatar for pritesh2010
0
1K
Member Avatar for coroll

Hi everyone!, do we need to add any tags to web.xml when using a bean. can any one tell me PLzzzzzzzzzzzzzzzz............ THANKS IN ADVANCE

Web Development java-jsp xml
0
74
Member Avatar for saravanados

Hello all I am a newone for PHP and I write a basic code in php saved in my pc but it is not working .It asks a dialogbox like save or open like this .I have no server .How do iuse my pc as my server .

Web Development php
Member Avatar for Ankit_Parmar
0
94
Member Avatar for wiredtec

I'm looking for a beta form. what i want it to do is auto redirect user from a main site to the enter beta key form. If they don't have a key , a link to a get beta key signup form that only require a name ane email. This …

Web Development mysql php
Member Avatar for vibhaJ
0
335
Member Avatar for nick3592

Hi how can i put data selected from a mysql table into a array. I am doing this so it can be put into a select form.

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

Hey guys, I'm trying to make a check to see if a file to be uploaded was added. I have tried the below and a few variations. I imagine I'm having problems because $_FILES is a global variable and is therefore always set. But I still can't figure out what …

Web Development php
Member Avatar for Zagga
0
109
Member Avatar for idane

I have a table on a page that displays info from a database and everything is working fine but I want it so if the user entered data from another page to a certain field then the row on my data display table will turn red. Right now I have …

Web Development php session
Member Avatar for idane
0
884
Member Avatar for turpentyne

I've got some code working finally that puts the checked items from two different lists, into their respective tables - all within one form. Everything works fine except... On the second set of checkboxes, it's putting the final checked item from the array into the database twice. some kinda loop …

Web Development php sql
Member Avatar for turpentyne
0
143
Member Avatar for coroll

Hi!, im developing a shopping cart.my hash table is in a bean.so i need to use the hash table's elements.is it possible to use the same bean(id) in a another JSP.

Web Development java-jsp
Member Avatar for ~s.o.s~
0
77
Member Avatar for musicofthehart

I have a field that looks like SKU: [url]www.cool.com[/url] the code that spits that out is [CODE]<tr> <td><b>SKU:</b></td> <td><?php echo $product_info['sku']; ?></td> </tr>[/CODE] the [url]www.cool.com[/url] is what I entered in for sku: but what comes out on the page is not a clickable link. What I would like to have …

Web Development php
Member Avatar for musicofthehart
0
5K
Member Avatar for RGStrat

Hello, I was wondering how I could dynamically generate an image via Java/Javascript. Here is what I need: There will be a tiny sprite-like image in the middle. What I want is to have a partial circle around the sprite appear. It will have a drop-down with 3 options, each …

Web Development image javascript
Member Avatar for RGStrat
0
114
Member Avatar for levsha

I use SwiftMailer in my PHP script to send emails upon HTML form submission. On the test server it all works fine. On the production server (different host) it gives me this error message: [QUOTE]Parse error: syntax error, unexpected T_CLASS in /home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php on line 18[/QUOTE] What could it be? Thank …

Web Development php
Member Avatar for levsha
0
66
Member Avatar for levsha

I use SwiftMailer in my PHP script to send emails upon HTML form submission. On the test server it all works fine. On the production server (different host) it gives me this error message: [QUOTE]Parse error: syntax error, unexpected T_CLASS in /home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php on line 18[/QUOTE] The two machines use different …

Web Development php
Member Avatar for levsha
0
108
Member Avatar for iorgobus1

Hi, I am Iorgobus and i need some help with php captchas. Because spammers are more an more, I want to put on my site a php captcha script to stop they. If you have any recomandations where I found a good Captcha PHP script, free or not free ,please …

Web Development php
Member Avatar for marius2008
0
184
Member Avatar for RalphAllan

I have WAMP server installed, and have clicked "Start all services." However it does not let me run Php scripts in my browser (ie7). Even the scripts clled from the wamp menu to not execute. I have uninstalled then reinstalled a new download to no avail. Suggestions anyone? Ralph

Web Development php
Member Avatar for braveheart_sb
0
153
Member Avatar for hindu times

Hi there, Im working on this page - [URL="http://www.rjt-online.com/photos_titletest.php"]http://www.rjt-online.com/photos_titletest.php[/URL] When you click the Filter By buttons it alters the content of the iframe below it. This works fine in ALL browsers. However, when you click the browser "back" button it should return to the previous clicked Filter By button (and …

Web Development html-css javascript
Member Avatar for hindu times
0
887
Member Avatar for kayfar

can anyone tell me how to generate a chart using asp.net C# from database MS Access..which we do something like in Excel..

Web Development asp asp.net c#
Member Avatar for jbisono
0
54

The End.