52,566 Archived Topics
Remove Filter ![]() | |
Please help; I have input text data from a form into mySQL table, recovered it using php script and written it back to the form using value=var[ ]. If the data has spaces in it, i.e. more than one word, all characters after the first space are lost. But echo … Web Development php | |
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and … Web Development asp.net | |
hi. i want to check expire date with mysql query between start date and enddate. if the end date is bigger then today's date then its good else it didnt display records. can any one please help me out. Thanks in advance. :) Web Development javascript mysql | |
I'm having a hard time understanding where is the problem... I have a class which is responsible connecting to DB and passing queries. (basically Data Access Layer) and it looks like this: [code=php] class DB { private $connection; public function __construct(){ $this->connection = mysql_connect('localhost', 'user', 'pass'); mysql_select_db( 'dbname', $this->connection ); … | |
I have tried whatever I can but i'm yet to find a definition I can understand. Would anyone try to "educate" me on what is enterprise java beans? Web Development java-jsp | |
hi! please help am still new on ASP and am having trouble deleting from a table please help. the code i used is this: [code=asp] <% set conn=Server.CreateObject("ADODB.Connection") conn.Open "Provider=SQLNCLI;Server=THABO-2A88C6501\SQLEXPRESS;Database=customers;User ID=sa;Password=thabo;" set rs=Server.CreateObject("ADODB.recordset") if request("Delete")="Delete" then sql="DELETE * FROM Details WHERE Cust_ID='4567'" end if%> <center><form method="post" action="Delete.asp"> <input type="submit" name="Delete" … | |
Basically I have a site that lists all the translation software’s in the market, the thing is when I register a new software I have a checkbox group with languages to form the “from language” dropdown field in the search, and another checkbox group to form the “to language” field, … Web Development php | |
Hi... Am new to .net here. Hope am posting the question under the right category... My requirement is as follows: I have a gridview which is visible with an empty row on page load. It has four columns of which the first column is a text box item template. The … Web Development asp.net | |
I want to hide the table when the user is logon. This is the code; [code] <div style="padding-left:20px"> <div id="welcome">welcome</div> //* I want to view this when it logon. <table id="logon" style="height: 165px;" border="0" cellspacing="0" cellpadding="0" width="794"> <tbody> <tr> <form name="logon"> <input type="submit" name="Submit" class="button" value="Log In" /> </form> </tr> … Web Development php | |
I have this error.. Can help me to solve this matter? 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 '296''' at line 1 1 <?php include("db.php"); ?> 11 <?php 12 $Kod=$_REQUEST['kodpro']; 13 echo … ![]() | |
Hi, I would just like to know if an asp.net application automaticaly set multi users active. Meaning if more than one user can activate the application on the web and use the same database without interfering with one another. Regards Weppies | |
Hi Friends I want to create a product renewal alert with PHP I have three field in SQL Table 1. Id 2. product_name 3. order_date 4. expired_date 5. username Please Help. i want to show the renewal alert before 15 days of expired date Web Development php | |
Hello, My requirement is to send message on port in j2me application, i came to know that by using UDH we can deliver a message on port, i try to add the destination port no in smpp class file where $part_no is define but control is not coming over there … Web Development php | |
Hi Guys, I'm trying to do up a contact form that after a user submits the information, the drop down contact box will slide back up instead of redirecting to another page. The script works fine in Chrome and Safari, but Firefox and IE keeps redirecting to the php page. … Web Development html-css javascript | |
Hello, I need help with something for Adobe Flash, can anyone lend me this please? [LIST] [*]A Flash movie that sends the content of 1 text box to an email adress using ASP [*]A Flash Movie that works as a Hit Counter, also with ASP [/LIST] They are 2 different … | |
Hi, I want to know, how to close a session when a user is idle (around 'n' time) in asp.net. | |
I want to hide the table when the user is logon. This is the code; [code] <div style="padding-left:20px"> <div id="welcome">welcome</div> //* I want to view this when it logon. <table id="logon" style="height: 165px;" border="0" cellspacing="0" cellpadding="0" width="794"> <tbody> <tr> <form name="logon"> <input type="submit" name="Submit" class="button" value="Log In" /> </form> </tr> … Web Development php | |
Hi, I have a small problem and have been trying to figure out a solution for this without any success days. I did search the forum but didn't find any solution. This is my situation. I am generating a chart (using an opens source chart called amCharts) that allows me … Web Development client-server javascript php | |
I read on various articles on google that a 'cron job' is used to schedule a task to run periodically on a server. I'm in a situation where I need to schedule a script to run nightly. The script would probably be written in php and update a MySQL database. … Web Development php | |
[code] $sql_table_get=mysql_query("select orderline.quantity, menu.item_name, menu.price from orderline, menu, orders where orderline.item_id = menu.item_id and orders.order_id = orderline.order_id and orders.table_num =table".'"$count"'." // problem line and orders.order_status = 0; "); [/code] tried many combo and couldn't make it work yet. basically i just need to know how to combine a $variable and … | |
Hi, I need help on redirect of php scripts. The problem is: I have a page for example [url]www.domain.com/redirect.php?id=34[/url] that redirects to another page, domain2.com/product.php?id=2. I need to create a script that allow me to know the URL of the redirection (domain2.com/product.php?id=2) just by accessing the redirector ([url]www.domain.com/redirect.php?id=34[/url]). Anyone have … Web Development php | |
Is there a way to provide a different address when browser bookmark button is clicked? I know you can include a button on your page but most users are accustomed to using the browser bookmark button. Our domain may change from time to time and we don't want to frustrate … Web Development asp.net | |
How to allow user to create photo album and upload photo or images? Web Development php | |
I wrote a search form for a database but I would like the user to be able to add sequential rows with an add button. I have tried it a couple of different ways but haven't gotten the results I am looking for. Is this something that can be done … Web Development php | |
I have several of my own photos that I need to add a simple watermark to; however, I would like to add stegonography to the watermarked layer in order to put the image information, the page that the image was to be placed on, etc... hidden within the watermarked layer. … ![]() | |
Hello, I googled about this problem and there are some suggestion to handle this. i have tried but none solve my problem. Errors are shown in line 3, 4 an 5 which code is like below: [CODE] ob_start(); //stop caching header("Pragma: no-cache"); header("Cache: no-cache"); session_start(); [/CODE] can anyone help me … | |
Hi All, I have this URL on my website that is causing a problem [url]http://www.raveportal.com/1347_How_to_list_files_with_*_after_executables,_/_after_directories_and_@_after_each_symbolic_link[/url] There is a forward slash "/" in this. Everything after this forward slash "/" is treated as a new file and "[B]1347_How_to_list_files_with_*_after_executables,_[/B]" is treated as a new directory. If you go to this link, this … Web Development php | |
Hi, I am pretty new to web development so bare with me. I have a simple problem that I have been trying to solve it for a while now. I have 2 select boxes in a form that when the first select is changed the 2nd select will populate from … Web Development javascript php | |
I have installed Tomcat 6.0.28 in my machine. But when trying to start it, it is not being started. A command window open for a fraction of second and then closed. No log or error is written in log. I have set up the JAVA_HOME, CATALINA_HOME, classpath and path variables. … Web Development java-jsp | |
Yesterday I converted my site over to MS SQL and now I'm having an issue with part of my site. The search box is supposed to check for a part number the user types in, but it doesn't even come close anymore. In Access the column searched was a Number … | |
Hi.. i have to Create a simple data entry Windows Form application with the following requirements.(*Note it should be using ASP.NET 2.0 framework and c#) • Capture customer personal information and employment information. Personal information includes Name, Address, Phone and Date of Birth. Employment information includes Employer Name, Office Address, … Web Development asp.net | |
Having a few problems with my Admin Page that lists all registered users with some of their information. I have a Delete button (which deletes the user permanently) and a Ban button (which bans user until I unban them). Both of these buttons have their own javascript that asks for … Web Development php | |
I'm hoping someone can help me here. I have 2 tables in a access database. I'm trying to join certain data points from both, simple. I've done a few joins already for this site. But the problem I'm having is this one seems to be destined to annoy me. [code]sql … Web Development asp microsoft-access sql | |
Hi all! I still consider myself to be a newbie at PHP, but i have managed to develop a good PHP application, thanks in a large part to daniweb members' help and advice. My problem now is, having coded a profile page (profile.php) which displays user information dependent on the … Web Development php | |
Hi, I'm trying to write a form that has required fields. When the form is filled out with the required fields missing, I'm trying to have a pop-up that tells them what is missing and then cancels the submission of the form. At the moment I have the function below … Web Development email javascript | |
hello... i am doing one concept.but i have no idea to do that concept. plz nybody give an idea for that.... actually there is a site which have the registered restaurents on that site at the same another side user registration is there. now user login then automatically display distinct … | |
hi ... thanks a lot..i got how to edi,update,n delete..now i want to validate the textbox wen i press update...like i want to ckeck for null vlues entry...only numbers.......i am searching for javascript but no proper result... any links ..pls post.... Web Development asp.net | |
One of our clients is using a webhost that blocks all emails sent from an unknown i.p. address....basically blocking any email forms being used on their server. The hosts have said for emails to be sent via their server the form needs to act as if the email was sent … | |
Hi, what i'm really trying to find out is how to run 2 queries and get the result of them in a single file. The code goes Below, the problem is that the printed result comes only from the first query the second query result is displayed as 1st query … | |
Hi, I am trying to insert data to the database , but i could not successful . Please help me to find outh the error in my code. [CODE] <?php $action=$_REQUEST['action']; if($action=="insert") { $customer_name=$_POST['customer_name']; $plan_opted=$_POST['plan_opted']; $Payment_Mode=$_POST['Payment_Mode']; $customer_id=$_POST['customer_id']; $Plan_term=$_POST['Plan_term']; $cheque_no=$_POST['cheque_no']; $l_f_no=$_POST['l_f_no']; $payment_frequency=$_POST['payment_frequency']; $cheque_date=$_POST['cheque_date']; $agent_name=$_POST['agent_name']; $inst_amount=$_POST['inst_amount']; $agent_code=$_POST['agent_code']; $date_commencement=$_POST['date_commencement']; $late_fee=$_POST['late_fee']; $paid_till_date=$_POST['paid_till_date']; $instalment_no=$_POST['instalment_no']; $misc_charges=$_POST['misc_charges']; … Web Development php ![]() | |
I have below out using print_r(); how can i display individual like i want to display [currency] => USD [rate] => 1.3000 how to use foreach Thanks [CODE]$xml = simplexml_load_file("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml"); echo $xml->getName() . "<br />"; foreach($xml->children() as $child) { echo $child->getName()->currency . ": " . $child . "<br />"; echo … | |
I have a problem in posting form elements through ajax, what am i doing wrong? Can anyone help me please :( [CODE]<?php error_reporting(5); $uid = "username"; $tid = 500; $photoTiding = "true"; $picName = "picname"; $pid = "pid"; include('sample_db.php'); //displaying users pic and textarea to comment. $user = "SELECT pic … Web Development javascript | |
Ok I'm javascript newbie and I have to make script for displaying random images after click on dice picture. The problem is that the script shows only only 1 picture after the clcik and it won't continue with the next random images. [CODE]<html> <head> <script type="text/javascript"> function randomize(){ var delay … Web Development image javascript | |
I created a function wherein if a textField has no value/input, it will prompt an alert. However, the function is not working. Things I consider that makes it not work: 1) the "inp" variable 2) declaration at <form> tag 3) looping the all the textfields What do you think? Please … Web Development html-css javascript | |
Hi all, Not that great with javascript and need some help so thanks to whoever helps me out. Well I have run into a problem and cannot figure it out at all. I have a lightwindow inside a <p> tag inside a jquery slideout which is being called with both … Web Development html-css javascript javascript-jquery | |
Basically I have a database and a form set up that enters information into the mysql database using php code. This works perfectly. The problem I'm having is writing a php sequence to send an email that confirms the user wanted to post the information. I would also like the … | |
Is there anyone know how to use LIKE statement? | |
Could anyone tell me what would be the code for this effect please. I want the code for a button effect The button is for a graphic button, on clicking it it changes its graphic to an ('on' image), plays a sound effect, then changes graphic to the first image('off' … Web Development javascript | |
Here's the situation: I have a dictionary database. I use special characters in the pronunciation (like this: 'hə.lə.ba.lu). However, when I use a PHP script to output this data, the special characters get replaced with question marks. Like this: 'h?.l?.ba.lu I've read a lot on this topic, but I'm not … |
The End.