52,566 Archived Topics
Remove Filter ![]() | |
Hey, I have a combo box and want to populate it with the selected value upon page reload. For a normal text field I would usually do something like this: [CODE] <input type="text" name="title" value="<?php echo $_SESSION['sellform']['title']; ?>"> [/CODE] How could I do the same for a drop-down box? E.g: … | |
i need exam for dataset clone . if you find the result. reply me.. | |
hi, i'm trying to have a mail function using gmail server but i keep getting the error : SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host. this is the code i got [CODE]<?php include("class.phpmailer.php"); include("class.smtp.php"); if(isset($_POST['send'])){ $body=$_POST[email]; $mail = new … Web Development php ![]() | |
Let me be more understanding... I would like to create a community script with all the features I want and need.A community that allows members to use HTML.A community that allows members to have their own pages with tag boards,Personal information that they would like to put on.Photogallery,Blogs,ETC! I want … | |
sorry i figure it out again. really really easy: i really need to know. i got this one script that is alphabetally and minimal. which i luv. but i need it to be numerical because well, if ther is more than 9 images it sorts it wrong with abc order! … Web Development php | |
I had taken over some code that was originally created .net 1.1 We need to update and bring into .net 2.0, so I opened the solution in VS2008 and went through the converter wizard. Now, when I am trying to build the solution, I am seeing the below error for … Web Development asp.net assembly visual-studio web-server | |
Hi, In part of my form, I have 3 inputs (one textarea and two text inputs), I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button). Now, when … Web Development javascript session | |
Hello, I have some troubles with mine code which selects data from database and show them in the GridView. ASPX page: 1grid view, 1 button and 2 text boxes code behind: [CODE] Protected Sub cmdVyhledat_Click() Handles cmdVyhledat.Click SqlDataSource1.DataBind() GridView1.DataBind() End Sub Protected Sub gridview_refresh() Handles SqlDataSource1.DataBinding If (txtCisloReklamace.Text <> "") … | |
Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max marks and Obtained marks as numeric values. Once entered dynamic rows will be created and it also calculate the percentage by the formula (om/mm)*100 for each … Web Development javascript mathematics | |
Hai.... Im new to .net ,I need help in doing my project.... If i Give the lastname in textbox then the items in lastname should be displayed in the anthor textbox [B]For ex : Thomus,123,aaa Thomus,345,bbb H_alert,456,ccc[/B] If i enter thomus it should show all thomus from my database but … | |
hi...anyone got ideas in form validation...I try a lot of methods already but still can't work...do not have any pop-up message although the required fill leave blank...is it the reason that I create my form in separate file??anyone got ideas on how to solve this problem?thanks in advance... part of … Web Development php | |
Hi all, in my app a user places an order and should be assigned a new session id. Then they should be able to place a new order using this session id so as not to ovewrite their previous orders data. Unfortunately the only way I can get a new … | |
In our application, the user registeration taking 5 pages the user is moving through and filling data. Suppose when user is reached to the last page(no. 5), the user can returns back to the first no. 1 page. For that, we want to disable user coming back to that first … Web Development asp.net | |
[b]What works:[/b] I have an application running on a non-interactive kiosk that I need to keep updated with information that will be provided by a remote server. To do this, I've created an XMLHttpRequest/Microsoft.XMLHTTP object that checks the modified date in the header of a watched file that resides on … Web Development javascript | |
I have a while loop and I am trying to associate a number with each line that increments by 1. I am sure this is probably something simple, I am not sure why I am struggling with it. Here is an example of that I have: [code=php] <?php $counter = … Web Development php | |
Hi, I have in my database the location of some images I want to display, all formatted as: [quote] ../images/products/1.jpg ../images/products/1.jpg [/quote] I'm trying to diplay them in a webpage but get the following error: [QUOTE] x Warning: substr() expects parameter 1 to be string, array given in C:\xampp\htdocs\mysite\index.php x … | |
I have a client whose hosting provider dissappeared. He has an old ASP (read: Pre-.net) site and I need to get the site online at a new provider. TO start, I am trying to run it internally to make sure I know how to make it work. I have a … Web Development asp client-server publishing web-server | |
Hi, I have a website called [url]www.site.com[/url] I have a product.php file and a categories.php file that generate the URL's and content dinamically. In .htaccess I have the following rule. [CODE]RewriteRule (.*)_(.*)\.html product.php?category=$1&name=$2 RewriteRule (.*)\.html categories.php?category=$1[/CODE] Everything is ok by now. When I try to change the rewritting rule to … | |
hi all, im looking to resize an image from the following code, but i keep getting errors when trying to resize the image inline. [code] <a href="read_message.php?messageid=' . $row['message_id'] . '">' . $row['img1'] . '<br>' . $row['datetime'] . '<br>' . $row['message_title'] . '</a><font face="Verdana, Arial, Helvetica, sans-serif" size="1"> (You have mail)</font><br><br> … Web Development php | |
Hi, I am glad to announce the release of the PHP robot which stores information from daniweb topics to answer questions. You may view my bot at [URL="http://chat.cwarn23.info/"]http://chat.cwarn23.info/[/URL] and it can answer all sorts of questions. In addition you can chat to other people who are online at the time. … Web Development php ![]() | |
hi can anyone plese let me know how can we accept payment through credit card online? i have seen many credit card payment method on many website and want to have on my website. please help Thanks Web Development php | |
The following javascript code does not work .Not able to figure out the reason.Cud anyone help plz [code=html] <html> <head> <title>AJAX RSS Reader</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <script language="javascript" type="text/javascript"> var RSSRequestObject = false; // XMLHttpRequest Object var Backend = 'http://www.google.fr/news?hl=en&ned=en&q=ajax&ie=UTF-8&output=rss'; // Backend url window.setInterval("update_timer()", 1200000); // update … Web Development html-css javascript | |
Hi all, im looking for some help with some javascript if thats ok. I am building a system for creating a booklet. I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125) Then also select the number of pages each … Web Development javascript | |
I am pretty sure this is easy to figure out, but I don't know javascript that good. I am trying to declare variables dynamically but what I have below does not work. What I want to accomplish is the following. var id1 = document.getElementById("sid").value; var id2 = document.getElementById("sid").value; var id3 … Web Development javascript | |
hallo there everyone.. i got an array from my database [CODE]$save=split("[|;]",$listOfItems);[/CODE] and what i want i s after making some changes to the attributes on the array above to export them on an csv or excel format but directly as a message to the browser .. i dont want it … Web Development microsoft-office php | |
can some wan say me , a script or a php code to make the website to have more language thx :D Web Development php | |
hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding … Web Development asp asp.net c# microsoft-access open-source visual-studio xml | |
Hi, I am a dot net beginner. I have learned programming in c# for website developing. Now I would like to learn vb.net . So I am trying to convert one of my previous work from c# to vb. But now I am facing a problem while converting to vb. … Web Development asp.net | |
Hi, I need to secure my password and here are my questions. 1. What is the best method of making a salt? I have seen enough arguments for not using user info but rather random values. 2. How do I know user salt if I used random one? Should I … Web Development php | |
hi.. i'm encountering a bug regarding sending emails.. when the smtp server do not have user autentication, the sending of email is really fine.. but when the smtp requires username and password, no email is being sent.. i believe it is related to web.config.. i have searched a lot of … Web Development asp.net data-protection web-server xml | |
Hello , I'm just amazed how strong php is , but i don't have an idea where to start , I mastered c++ at a command promp level + kinda average at visual c++ . If some1 could give me some sites or tutorials ? And is code igniter a … Web Development php | |
hi all, i would like to get the selected row from the datagrid and get the row's data to transfer it to textboxes.. how can i do this? Web Development asp.net | |
Hallo everyone. I want to set the day to the validDay. e.g if valid day is 25 then the day must be 25 on DateTime. [CODE]string validDay_str = reader["validation"].ToString(); int validDay = Int32.Parse(validDay_str); string start_str = reader["start"].ToString(); DateTime start = DateTime.Parse(start_str); start.Day = validDay;[/CODE] with this code I get an … Web Development asp.net | |
Hey guys, I have reached my wits end with this..! This code works on two of the servers that I have tested, but doesn't want to work on the third server that I need it on! It displays fine, but when the form data is posted back itself to be … | |
i am sending email to the users using smtp client and MailMessage class. i have been adding the addresses of multiple receivers in the to property of the object of MailMessage class. the problem is that the receiver can see the email addresses of other receipents. is there any way … | |
for some reason, the exact same code without the added "$i[id]" part is working somewhere else on my site, but this is just rediculously NOT working for what i have here: [CODE]function nimg($directory='.') {return count(glob($directory."/item/".$i[id]."/*"));}; [/CODE] i tried this code when there was no item directory made yet and still … Web Development php | |
Hello guys, can anybody advice me how to remove or limit adding links inside posts of a wordpress blog? any php plugin available for this? I have a blog where many contributors are placing too many links with their posts. How can I solve this issue? D! | |
Hi everybody, I'm having trouble with my query on line 19. I'm supposed to search for a name and return the balance and credit limit. I'm not sure why I keep getting a parse error. Thanks in advance! [CODE=php] <?php $find=$_POST['find']; $name=trim($_POST['name']); if (!$name) { echo 'You have not entered … | |
Using PHP's IMAP functions, I want to move 10 messages from the folder "xyz_msg" to the folder "xyz_tmp" Below is the code I use to connect to the email server. [code] <?php $mbox = imap_open ("{imap.gmail.com:993/imap/ssl/novalidate-cert}xyz_tmp", "example@gmail.com", "password") or die("can't connect: " . imap_last_error()); $imap_obj = imap_check($mbox); echo "<pre>"; var_dump($imap_obj); … Web Development php | |
I'm sure I'm missing something simple but I just can't seem to figure this one out. I have a dynamic XML file that is too big to display all the information on one web page. So I need a way to split the information across multiple pages. I have used … ![]() | |
i'm driving insane right now i have a form wich has a lot of stuff in it as you fill it, javascript generates the OPTIONS[] for four SELECT objects at the end of the form. they are generated right and i have no troubles up to this point until... i … Web Development html-css javascript | |
I have been trying to connect a database to generate XML File through PHP code, but I still have a problem on this code. Can somebody help me correcting this code? Thanks in advance. <?php @ $db = new mysqli('localhost','622Std1', '622StdDB1', '622stddb1'); if (mysqli_connect_errno()) { echo 'Error: Could not connect … | |
i've got a program that gets input from a user, and then stores it in a cookie. That bit is fine, what is a problem is that its just overwriting the data each time a new entry is made, i believed this to be something do do with it not … Web Development html-css javascript | |
i have used the below function to open a separate page for search results to open up in - althoug it seems that the css seems to get messy what must be the problem? is anyone willing to help? if so please let me know ur skype add so i … Web Development html-css javascript | |
[code=Java]public class logout extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession session = request.getSession(); session.invalidate(); response.sendRedirect("index.jsp"); } }[/code] session is … | |
Hi Guys, I have access to mini linux PCs that can serve up webpages using the Boa webserver. They also house an sqlite db file. What I want to do is install the bare-bones of php with only sqlite and PDO functionality, so I can write to and display data … | |
Hey guys, I have been moving and testing my scripts on a different web server, but I am not getting the same results on both computers. Here is the code: [CODE] <?php session_start(); //THIS FUNCTION VALIDATES INPUT function VerifyForm(&$values, &$errors) { if (strlen($values['firstname']) == 0) { $errors['firstname'] = 'Please Enter … Web Development php web-server |
The End.