52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 ![]() | |
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 | |
![]() | 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 ![]() |
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 | |
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 | |
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'] … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … Web Development javascript javascript-jquery json xml | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 ![]() | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
can anyone tell me how to generate a chart using asp.net C# from database MS Access..which we do something like in Excel.. |
The End.