17,029 Solved Topics
Remove Filter ![]() | |
i have this problem i have this variable $title=J1. Tsalgatidou, A., " Modeling and Animating Information Systems Dynamics " , Information Processing Letters 36, 1990, 123-127. and then i do this [CODE] $more_button=' <input type="button" id="button_help1" value="Summary" onClick="window.location='some_infos_research_en.php?title='.$title.''"> <input type="button" id="button_help1" value="Full description" onClick="window.location='upload/publications/en/'.$file.''">'; [/CODE] but when i echo $more_button … Web Development php | |
Hello! I made a little app/page to help me count the money when Im done my shift at work. It runs fine in IExplorer, but it wont run in Firefox..can someone help? [CODE="html"] <html> <head> <title>Money Calculator 1.0</title> </head> <body> <script type="text/javascript"> function clr() { document.getElementById("hundred").value=0; document.getElementById("fifty").value=0; document.getElementById("twenty").value=0; document.getElementById("ten").value=0; document.getElementById("five").value=0; … Web Development javascript | |
is there anything that can replace a butoon in php which acts like a button? because we all know that buttons in php act independently, meaning once button a is clicked, the functions of button b will be disregarded already right? because i have several buttons in the page and … Web Development php | |
What are your thought on this? There are many framework there and my thought was CakePHP is rather popular. I'm I wrong? What do you think? Web Development php | |
i have a small problem deleting from the data base that i have created using a form. this is the error that i am getting on the webpage 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 | |
Hi guys, I have a simple php shopping basket which stores the products in an array. To add a new value into the array, I have the following: [CODE]$cart .= ','.$_GET['id'];[/CODE] I was just wondering if there is an equivalent line of code to remove a single array value with … Web Development php | |
Hi all, Im pretty ok with PHP and have recently been breaking down a project using foreign keys to identify various bits of information. This is my problem. I have an items table, which is made up of ID, country and area. It previously has the actual word of the … | |
i have a simple form validation onsubmit event. The requirement is very simple, if validate.php brings any error it shows errors and it stops form for further processing else form submit and action runs process.php. But, unfortunately ajax function is not working onsubmit event.. any help please..... files are attached … Web Development javascript | |
Hi, I installed vsftp and filezilla. I use host:127.0.0.1, user:root, password:(don't have any), post:21 to connect to ftp but not successful. Does anyone know how to do this? Thanks Web Development php | |
I have a postgresql view on which I'm running the following query : [CODE]select count(*) AS "Assigned Calls" ,to_timestamp(createdon)::date from vw_issues where to_timestamp(createdon)::date>='11/10/2009' and to_timestamp(createdon)::date<'11/11/2009' group by to_timestamp(createdon)::date order by to_timestamp(createdon)::date[/CODE] when run in phppgadmin the result is displayed as Assigned Calls to_timestamp 20 2009-10-12 13 2009-10-13 etc... I need … Web Development display php postgresql | |
Hello Guys, I m Building A Chat Application..in which i have 2 different user types like Admin & Merchant...I Have Taken User type A for Admin & M for Merchant...First I have Created Only Single LogIn Form for both user types & given DropDown So that If He Selects Merchant … Web Development php | |
Hi everyone, I have a form page where the customer enters their email address to see if they have forms available to download. Once they submit that I use the following code to see if they do indeed have stuff available: [CODE]<?php $email = $_POST['email'] ; $directory = "http://nycityliving.com/forms/" . … Web Development php | |
I have a date in the form DD-MM-YYYY, I know how to explode it into just DD, MM and YYYY on its own but how do I check if this date is valid? For example 01-02-2009 is valid but 31-02-2009 is not. Any way to check this? Web Development php ![]() | |
Hello. Because my client's table has two rows getting int values as ids from other table to display the string values. Table 1 Table 2 Item: 12 12 = 'Cat' For displaying the values I have created view in DB [CODE] create view ClientsView as select cl.id,cl.Name,cl.Familyname,cl.Position,cl.Email,cl.OfficePhone,cl.Mobile,cl.Website,cl.Comment,cl.[Date],cont.country,cl.Street,cl.City,clgr.[Group] from Clients as … | |
How to display following using while loop : <div style="background-color:orange;text-align:center"> <p>Header Section</p> </div> <div style="border:1px solid black"> <p>Content section</p> </div> I want to display all my database in above manner, It gives Parse error I want to fetch my database using while like : for 1st record <div style="background-color:orange;text-align:center"> <p>Header … Web Development php | |
ok so i an setting up an html email thing that you use an wysiwyg to format the text (just bold links and stuff like that) and i am running into a problem with my links they seem to be escaping and then not printing out in gmail with a … | |
Hi all I need a javascript code that removes all the title="*" attributes in a page, where the star (*) represents a wildcard for the content of the title attribute. So the following would occur: <a href="#" title="test">test</a> would be replaced with <a href="#">test</a> just like: <a href="#" title="">test</a> would … Web Development javascript | |
Does anyone have any suggestions/tips/ideas on the merits of Expression Web? I'm using Visual Studio 2008 but the front end work seems to be lacking. I don't know much about expression web and wondered if anyone used it and if it's worth the money. Web Development asp.net visual-studio | |
I have a select menu with many text-based options. However when I submit the form, instead of actually returning the textual item in the POST variable is it possible to set it to return the ID of the selected item? For example I have the following form: [CODE]<select name="dev_stage" id="dev_stage"> … Web Development first-post php seo | |
I have read about AJAX for a while now, and tryed to use GET and POST, but with not so good results. Code in index.html: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Sending data to the maaan and back!</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> //var val = … Web Development javascript xml | |
Hello all.. thanks for my last forum..for better solution with fast reply.. I have getting problem with display link button on page aspx.cs .. I have requirement as below..... i am trying to display file name with remove link after attached file.I have done code on aspx.cs as below and … | |
I have a date in the format of YYYY-MM-DD as a string (including the hyphens) How do I split this string just to obtain YYYY, MM and DD separately? Possible use of an array or something? Would really appreciate some help :) Edit: Nevermind, just discovered the explode() function :P Web Development php | |
help needed.... i have 16 values in one row of a table, but i only wanted to retrieve 14 value from that row(FieldValue) the last two values was u-needed. sorry for my bad english... and thank in advance.. [CODE] <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db("kiperak",$con); $result = … Web Development php | |
Hi, I am customizing jquery scrollshow, it can be found originally [URL="http://flesler.blogspot.com/search/label/jQuery.ScrollShow"]here[/URL] As you can see in the original script there are only images which scroll, now I have the description to show below each image which should also scroll as the images scroll. This description will include - 1. … Web Development html-css javascript javascript-jquery | |
I've got a simple question: how can I make an onclick return confirm event work inside PHP tags. [code] <HTML> <BODY> <a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a> <?PHP ECHO "<a href='delete.php' OnClick='return confirm('blah blah');'> Click here </a>"; ?> </BODY> </HTML> [/code] the first link is a simple html … Web Development php | |
Hi guys I'm having sometrouble here! Please help if you can! I'm storing in a mysql database the price of some products. I am storing them in cents ie. €5.99 = 599. I have the following code that will output just that: [CODE]<?php $x='599'; $num = $x; $last_num = strlen($num) … Web Development php | |
Hi every1, I am new to php... From the image that i have attached you can see what i basically need... In view users.php v can see who r all the users.. and clicking on that particular user,.it has to display that particular users details. eg: when we click user1 … | |
Hi all, Can anybody advise on how i can best use php and mysql to give a database record an "age" in days? Im recording record creation via timestamp at the minute Cheers Paul Web Development php | |
I am trying to use PHP in an HTML page to change Login to Logout and reference my login page. Instead of printing 'Login' and 'Logout' I get the following: Logout" ; } else { echo" Login" ; } ?> The IF function seems to get confused and starts echoing … | |
[CODE]http://localhost/kplfantasyfootball/example.php?id=7&posid=3[/CODE] Hi, could someone please explain to me how I can read the two parameters carried in the URL. Thanx. Web Development php | |
Hi all, I need a php script that gets the IP address of a user entered website, something like this: $site = 'www.google.com'; $ip = ping($site); obviously replacing ping with a command that actually exists! Thanks in advance. MAX Web Development client-server lan-wan php | |
Peace, Can you help me with Show And Hide?: I made an Input text I want to hide it, And I want to show it if I click on a button. How can I do it? Thanks. Web Development javascript | |
Hi I want to write asp.net page with crystal reports.I pass parameter to reports.Once I press submit button its ask database user name and password.How I stop asking user name and password in every time. Thanks Tank50 | |
I am very new in website developing. Anybody help me how to make this dropdown listing in Internet Explorer Browser the same listing in Firefox. I want the word extended in the size of the dropdown button. see attached images. Thank you. Web Development php | |
I've got 2 JSPs. JSP1 calls JSP2 to format a table in JSP1 JSP1 calls JSP2 using this code: [CODE] <jsp:include page='<%=(String)request.getAttribute("SB_Format_Path")%>' flush="true" ></jsp:include> [/CODE] The problem is that JSP2 has access to variable XX, at runtime but JSP1 does not have access to it. I'd like to somehow be … Web Development java-jsp | |
Hi all, I have a 4 column table. Say the count of records in each column is 5, 50, 100, 200. the column with 5 entries, has those entries not appearing at the top of its data area. eg cars houses flights a b c d a e b a … | |
Hello and thank you for taking the time to read my question. I am currently moving a static html site into a faux CMS and have a question about which direction is best recommended. I have series of 'News Articles' that I would like to make available through a db. … | |
hi i have a contact form that i want to submit to a dater base and here is my code to do that [CODE] <?php require_once('Connections/mywigan.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = … | |
Hi All, This follow script does exactly what it says on the tin, except 1 thing, the "show next 10 results" wont show the next ten. any ideas anybody? [code] <?php // Get the search variable from URL $var = $_GET['q'] ; $trimmed = trim($var); //trim whitespace from the stored … Web Development php | |
I'm looking to find out a way to drag and drop table rows between two tables. I reused jQuery example for[URL="http://jqueryui.com/demos/sortable/#portlets"] portlets[/URL], but that did not work to full satisfaction. [attach]13597[/attach] In above screen shot I added border, but that is just for illustration of the issue. Problems: [LIST=1] [*]As … Web Development html-css javascript javascript-jquery | |
what is the difference between httppathrequest and server.mappath. i mean r they return different path ? i uploading file use httppahrequest and it works fine in my pc iis7, but when i run in server it didnt work. but server.mappath work in both Web Development asp.net | |
Hi ppl, I have a form with a drop down box and a calendar picker. I want to check if both these fields have been filled to proceed to the next page. [CODE]echo "<select name=Project value =' '>ProjectName</option>"; echo "<option>Select Project</option>"; while ($row=mysql_fetch_array($result)) { echo "<OPTION VALUE=$row[Project_Id]>$row[ProjectName]</option>"; } echo"</select>"; ?></td> … Web Development php | |
Okay, so you know whenever you send an e-mail from your website to either test something or notify you, you sometimes get that signature that says "scanned by blah blah". Like in Gmail, it says "scanned by blah blah blah". I was wondering if there was a way to remove … Web Development php | |
Hey Guys, It's me again....I thought everything would work but when I tried making a donation on my donation.php form I received the following error in my process_transaction.php file: Here is the error: Parse error: syntax error, unexpected $end in \\nawinfs02\home\users\web\b885\rh.mysite\orderform\process_transaction.php on line 224 My webhost is lame and does … Web Development php | |
Okay I have a textarea that edits a text div. When the user edits the text and submits, paragraphs and line breaks are passed to the div. [B]i.e[/B] (not the browser)[B]text div[/B] after submit.... [I]'WARNING - This email and any attachments may be private & confidential. If received in error, … | |
I have a quick question. How do I get only the last 4 digits of the cc_number? Will the following work? Or should I try something different.. Oh and I am emailing to myself that's why it has $message. Here's the code I think will work: [CODE] $message .= "<td>{$_GET['cc_number'] … Web Development php | |
How do i go about making these multiple scripts work on a single page? [CODE] $(document).ready(function() { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $(".display_text_here").text(str); }) .change();[/CODE] This one i would like an IE conditional [CODE]$(document).ready(function() { $(".select") .mouseover(function(){ $(this) .data("origWidth", $(this).css("width")) … Web Development javascript | |
Hi All, The form below is set to pass data to paypal, however I cant seem to get it to work when using variables recieved from a $_POST. I get an error from paypal stating........ "The link you have used to enter the PayPal system contains an incorrectly formatted item … Web Development php | |
Ok so here's what I'm trying to do: 1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email. 2. What I want my … | |
Hi, I have a asp.net form that uses form authentication. I want to now implement a role base security buy don't how. Please could someone help me with a sample code on how to do this . Thanks. Web Development asp.net |
The End.