52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gabbytheking

Hi I'm doing this for a project so no need to worry about real world worries such as encription etc. I'm trying to put imported Values into the below form via a seperate php form on a different site. ie my website is a client of an online creditcard server(CCS) …

Web Development client-server php
Member Avatar for veedeoo
0
374
Member Avatar for kilowatt46

I am setting up a secure area of a web site that will be accessible to members only. Members may or may not pay their yearly membership dues online through our web site. The membership year is from Jan. 1 to Dec. 31. I want to give the paid members …

Web Development php
Member Avatar for newbie1234
0
163
Member Avatar for momonq1990

Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <script> function del(delUrl) { var r=confirm("Are you sure you want to delete?"); if (r==true) { alert("Deleted record!"); document.location = delUrl; } else { alert("Delete cancel!"); } } </script> <a href='delete.php?id=$sysid' class='view' onClick='del()'> <img src='image/vie.png' …

Web Development javascript php
Member Avatar for DavidAntaramian
0
172
Member Avatar for Dani

Quick question ... What happens if you use array_slice() and specify a length that is longer than the length of the array? Sorry but I couldn't find the answer on PHP's doc pages or in a quick G search.

Web Development php
Member Avatar for Dani
0
183
Member Avatar for Bchandaria

How To Upload a Embedded media or video it to asp.net application with complete UML Source Code? ? ? ? ? ?

Web Development asp.net
Member Avatar for Sinderone
0
112
Member Avatar for don't give up

hello this my code : <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('can not connect'.mysql_error()); } mysql_select_db("test", $con ); $others="others"; $sql="SELECT * FROM $others"; $result=mysql_query($sql); $num = mysql_num_rows($result); echo"<thead> <tr> <th>#</th> <th> id </th> <th>topic</th></thead>"; echo"<tbody>"; $i=0; echo"<table border='1' width='100%' id='table1'>"; echo"<thead> <tr> <th>#</th> <th> id </th> <th>topic</th></thead>"; echo"<tbody>"; $i=0; while( $i < …

Web Development php
Member Avatar for don't give up
0
137
Member Avatar for uvray90

Hello guys... Iam developing a stock maintenance system for a hotel (PHP-MySQL) in which the client will be updating the consumption everyday. Suppose the items are like Pepsi Buns Sauce Then everyday consumption he needs to keep track. He will login and enter the consumption details for 23rd March then …

Web Development php
Member Avatar for diafol
0
115
Member Avatar for webweaverssss

<?php ob_start(); session_start( ); include 'authenticate.php'; ?> aurheticate.php---------> <?php mysql_connect("localhost", "root", "") or die (mysql_error()); mysql_select_db("pms") or die (mysql_error()); if (!isset( $_SESSION['user_id'])) { if(!isset($_POST['txtuser_name'])) header('location:login(Admin).php'); $value=mysql_real_escape_string($_POST['user_value']); $user_name = $_POST['txtuser_name']; $pass = $_POST['txtpassword']; //user isentification if($value==1) { $query="select admin_name , admin_id from admin where admin_name='$user_name' AND admin_password='$pass'"; $sql = mysql_query ($query); …

Web Development php session
Member Avatar for pritaeas
0
230
Member Avatar for belber

hey all i have a problem here... i recently download xampp for windows, but when i go to phpmyadmin i got some error message : error #2002 The server is not responding (or the local MySQL server’s socket is not correctly configured). in addition i not using mysql service from …

Web Development php
Member Avatar for belber
0
102
Member Avatar for arihantphp

Hey all , I am working on a website on which the user has to upload images, most of the images are of large size and that takes a lot of time for the image to be uploaded, is there a way by which i can reduce the time taken …

Web Development file-system image php
Member Avatar for pritaeas
0
308
Member Avatar for klemme

Hi all, In the section of the order confirmation mail: $get_cart_info, when I include this theres is somehow a syntax error, as I keep getting this error after mail has tried to send: Catchable fatal error: Object of class mysqli_result could not be converted to string in /home/www/ebm-fashion.dk/views/betaling_accepteret.php on line …

Web Development email mysql php
Member Avatar for pritaeas
0
229
Member Avatar for simplypixie

I am using jQuery and Ajax for some areas of a site and I cannot for the life of me work out how to only submit the Ajax if the form is valid. For normal jQuery validation I am using jquery.validate.min.js like this: $("#po-login-form").validate(); This works fine. I then have …

Web Development javascript javascript-jquery
Member Avatar for simplypixie
0
211
Member Avatar for laura301019

Hi, so ive various number of files and database tables including artist, album and tracks. On the webpage user's can choose and artist, an album then songs or the album to buy. However ive to write code so that when the user selects to buy the album all the tracks …

Web Development php sql
Member Avatar for laura301019
0
173
Member Avatar for ak47carbon

i want to learn ajax from plese tell me how can i learn ajax from begening to advanced level plz tell me

Web Development javascript
Member Avatar for rotten69
0
141
Member Avatar for denmarkstan

Hello people, Please i need your help here. I have been trying to send mail in my asp.net, but no success.Click this link and try sending mail to see the error:"http://www.ckcayangba.com/Contents/Contacus.aspx". Honestly i don't know where i am going wrong. Here is my code behind: protected void ImageButton_Submit_Click(object sender, ImageClickEventArgs …

Web Development asp asp.net email
Member Avatar for danielgr
0
222
Member Avatar for shahbaz13

I need to convert this code to web.config file. Plz Help.. #Fix Rewrite Options -Multiviews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d Rewriterule ^(.*)$ $1.php [L,QSA]

Web Development apache php
Member Avatar for shahbaz13
0
218
Member Avatar for Mestika

Hi everyone, I’m currently working on my Master Thesis which in few words concentrates about NoSQL databases and performance and tuning tests of particular MongoDB. I’m trying to create some test dummy data to put in so I can run some initially tests to create a baseline for comparison. I’ve …

Web Development mongodb php ruby
Member Avatar for curlissue657
0
250
Member Avatar for codemonkey88

A client has an ecommerce site, which is hosted on Magento but could be exported if easier. We are now trying to set up a couple more new branded sites which have independant designs but use the same product and client base. I have done some Googling and found that …

Web Development ecommerce php
Member Avatar for veedeoo
0
152
Member Avatar for RickCJ7

I have an application that is writen in PHP and connects to a MS SQL Server 2008 Database. I'm using ADO recordsets. There are cases where specific IDs and years in the table returns nothing. How do I test for when there are no results? I searched and most of …

Web Development client-server php
Member Avatar for RickCJ7
0
2K
Member Avatar for obb-taurus

I'm having some problems with the server side and client events on my web form. What I found is that client side events fire before server events. This is problematic for me because I have a jquery function that clears the form when it's submitted but the form is cleared …

Web Development asp.net client-server
Member Avatar for obb-taurus
0
165
Member Avatar for CriticalError

Hi guys I am making a new website. However I have reached a dead end and need assistants. Now I am making something similar to w3schools, if you go to http://www.w3schools.com/ and just click on HTML. Then you see how the website still remains it's consistancy, but the items on …

Web Development asp.net
Member Avatar for CriticalError
0
94
Member Avatar for Ana D.

Hi, I have a PHP file that gets an XML files from a HTML form. The PHP files needs to generate a new HTML file containing a table with the the data retrived from the XML file. I was able to this this properly (using expat). However, before adding the …

Web Development file-system php xml
Member Avatar for veedeoo
0
283
Member Avatar for denmarkstan

Hello people, i need your help here;I want to use this code on asp.net application that has seperate files "Contactus.aspx and Contactus.aspx.cs" please how do i arrange these codes. [CODE]<%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.Net.Mail" %> <script language="C#" runat="server"> protected void Page_Load(object sender, EventArgs e) { //create the mail …

Web Development asp asp.net email
Member Avatar for ckchaudhary
0
236
Member Avatar for james chaco

Hello, I was looking for a way to post multipart/form data to a servlet using java standalone application. Any information would be helpful.

Web Development java java-jsp
Member Avatar for james chaco
0
160
Member Avatar for MnMmatz

Notice: Undefined index: txt1 in C:\xampp\htdocs\php\conversion.php on line 76 Notice: Undefined index: select1 in C:\xampp\htdocs\php\conversion.php on line 77 Notice: Undefined index: select2 in C:\xampp\htdocs\php\conversion.php on line 78 Notice: Undefined index: convert in C:\xampp\htdocs\php\conversion.php on line 79 error! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title></title> …

Web Development html-css php
Member Avatar for pritaeas
0
290
Member Avatar for shielaolid

Hello there, I'm having a problem on this one. I want to update my records, but when I click save, the specific fields/record is null. instead of updating/edit. These is my PHP code for admin_view.php (This is the form where you can choose a specific record/field that you are going …

Web Development php
Member Avatar for pritaeas
0
180
Member Avatar for dyingatmidnight

I'm a total noob to using mod_rewrite and I'm reading tutorials and trying to wrap my head around it but it's not quite coming together. What I need to accomplish is this: take a bunch of urls structed this way: yoursite.com?index.php?id=# and rewriting it so it becomes yoursite.com/whatever depending upon …

Web Development php
Member Avatar for dyingatmidnight
0
162
Member Avatar for lastgame2007

can anyone take alook at my code, i dont get errors or anything but it doesnt save in my db??? please ... thanks! <?php if(isset($_POST[save])) { //student,grade,section,subject $ids=$_POST['id']; $grades=$_POST['fg']; $secs=$_POST['secs']; $subs=$_POST['subs']; $yirs=$g_year['acad_id']; debug($_POST); if(isset($_POST['save'])) { unset($_POST['save']); $i = count($_POST['id']); $x = 0; for($x=0; $x <$i;$x++){ foreach($_POST as $data =>$d){ echo …

Web Development php
Member Avatar for pzuurveen
0
152
Member Avatar for samidha

here is a code for HTML form [code] **<html> <head> <title>Registration Form</title> </head> <body> <form action="registration.php" method="post"> <fieldset> Name: <input type="textbox" name="fname"/><br/><br/> Last Name: <input type="textbox" name="lname"/><br/><br/> Gender:<select><option value="text">Male</option><option value="text">Female</option></select><br><br> Address: <input type="textbox" name="address"/><br/><br/> Contact: <input type="textbox" name="contact"/><br/><br/> E-mail: <input type="textbox" name="e-mail"/><br/><br/> User_Name: <input type="textbox" name="user_name"/><br/><br/> Password: <input type="password" name="password"/><br/><br/> …

Web Development php
Member Avatar for Avenirer
0
2K
Member Avatar for richprich

When user post a comment, i strip all the html tags in the comment before insert into my database because i do not want them to post external links(SPAM) in the comment. But i only want to strip external links, i want to display my own website URL as normal …

Web Development html-css php
Member Avatar for richprich
0
356
Member Avatar for MattD00

I have text being loaded onto the page from a MySQL database. When the text is clicked, using JavaScript the element is replaced with a textbox displaying the text. I want to be able to use a MySQL update query to change what is in the textbox and so it …

Web Development mysql php
Member Avatar for broj1
0
116
Member Avatar for gopi17

okay...seem to be experiencing some problem here....in my pc, the web application is running perfectly....but when i run it from my handheld, its showing error... this is my code <?php session_start(); //starting session $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test3"; …

Web Development mysql php session
Member Avatar for Echo89
0
212
Member Avatar for srinidelite

var RE_SSN = /^[0-9]{3}[\- ]?[0-9]{2}[\- ]?[0-9]{4}$/; hello , i would like to know what is the meaning behind in these ^ ,[\- ],$ symbols??? and i would able to follow that the script logically verifying the format of text being entered!! i.e NNN-NN-NNNN... Thanks in Advance .. Srini.

Web Development javascript regex
Member Avatar for srinidelite
0
108
Member Avatar for iamjin04

<html> <body> <form method="Post" action="commentsample.php"> <center><textarea name="comments" rows=2 cols=60></textarea></center> <center><input type="submit" name="submit" value="Cloud"></center> </form> <?php $con = mysql_connect("localhost","root"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("comentss", $con); if(isset($_POST['submit'])){ $comment=$_POST['comments']; $q="insert into table2 (comment) values ('$comment')"; mysql_query($q); } $q="select comment from table2"; $result=mysql_query($q); while($row=mysql_fetch_array($result)){ //this is what i …

Web Development hard-drive php
Member Avatar for gopi17
0
180
Member Avatar for jdgieschen

I've got a project I'm working on where people can search using checkboxes, sliders, and an input box. The search works, but I've got issues here, especially when using IE as the browser. Haven't even tried Safari and Opera. Even in Firefox, there are minor issues. First, the lagging of …

Web Development javascript javascript-jquery
Member Avatar for jdgieschen
0
624
Member Avatar for beastpanda

Hi all, I am new to php and I have a problem that I am looking into it for 1 day and can't understand it please help. here is my html code : <html> <head> <title> Calculation Form </title> </head> <body> <form action=calculate.php method="POST"> value one: <input type="text" name"val1" size=10 …

Web Development php
Member Avatar for broj1
0
190
Member Avatar for joban.ali

Hi Guyz, Would like to thank you in advance for the help and support, The problem I am facing is I have a redirection script which opens the page within an iframe rather than displaying the whole page. [CODE]header("Location: http://www.domain.com/registration.php?par=$parcel&err=$error_msg&succ=$success_msg");[/CODE] I have a simple login form within an iframe when …

Web Development php
Member Avatar for diafol
0
887
Member Avatar for aman rathi

hello everybody first of all thanks to Daniweb and all its users for helping me lot of time. now come to the problem I've just started studying servlets 1 week back it was going well but i got one problrm when i try to run a packaged servlet code. path …

Web Development apache java-jsp web-browser
Member Avatar for anand01
0
189
Member Avatar for swebdizajn

Dear friends, I started a project which now needs a way to implement the other site. In fact, you should also publish the same content on the site PHP website partner. What are the odds to bring and what should I use? I tried the function (include), but this is …

Member Avatar for swebdizajn
0
356
Member Avatar for adityamadhira

Hi I am new to php. How to implement credit card payment for a site (no 3rd party tool) and how insert them in database? validations for credit card numbers and check 3 digit number of the card. Thanks

Web Development php
Member Avatar for phoenix_2000
0
175
Member Avatar for rkayd

I am making a photo album. I have the basics set up without using any javascript but now I would like to be able to get the size of the browser window for at least two different instances. If I can get it for the thumbnail page I should be …

Web Development php
Member Avatar for almostbob
0
4K
Member Avatar for ak47carbon

i want to refresh images on index.php while all images selecting from database kndly help me tell me whats the solution

Web Development image php
Member Avatar for ak47carbon
0
119
Member Avatar for newbie1234

<table> <tr><td>Date</td><td>Job_id</td><td>Active</td>/tr> <?php while ($row = mysqli_fetch_assoc($rs_total)) { ?> <tr> <td><? echo $row["Date"]; ?></td> <td> <?php echo "<a href='work.php?ID=".$row['Job_id']."'>".$row['Job_id']."</a>"; ?></td> <td><? if($row["Active"]==0) echo "Active"; else if ($row["Active"]==2) echo "Completed"; else echo "Not active"; ?></td> </tr> <?php }; ?> </table> in this code i want to transfer the id on pop …

Web Development mysql php
Member Avatar for newbie1234
0
388
Member Avatar for momonq1990

Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <script> function del(delUrl) { var r=confirm("Are you sure you want to delete?"); if (r==true) { alert("Deleted record!"); document.location = delUrl; } else { alert("Delete cancel!"); } } </script> <a href='delete.php?id=$sysid' class='view' onClick='del()'> <img src='image/vie.png' …

Web Development javascript php
Member Avatar for veedeoo
0
338
Member Avatar for ak47carbon

Hey Frndz , i want to block website for internet Explorer 6 plz send me php coding

Web Development php
Member Avatar for Avenirer
0
238
Member Avatar for andrecj

Hello Guys, I am looking for some help: I have a dynamic table that shows a checkbox, id, title,etc., and date of insertion of an article that I've added before. And then I have a button that I would like to control if the user have clicked the checkbox and …

Web Development gui php
Member Avatar for Avenirer
0
172
Member Avatar for RazorRamon

Ok i have this long bit of code that determines how long ago someone input a post or comment. The only bit of the code that is giving me problems is at the very beginning. When i place a fresh topic or comment it doesn't go into the " just …

Web Development php
Member Avatar for diafol
0
482
Member Avatar for artemisxx

I'm working on highlighting repeater row. And then when i click on another row, the previous row becomes unhighlighted. So it's working, but only for a split second. Once the modalpopup appears, the highlight is gone. By the way, i have a linkbutton in every row that makes the modalpopup …

Web Development asp.net javascript
0
147
Member Avatar for gopi17

Heyy, guys...i have developed a php/mysql program...now i would like to run it from a handheld...should convert or do anything...1st time doing this...thank u in advance

Web Development php
Member Avatar for gopi17
0
134
Member Avatar for priyadharsinism

Im doing a project based on students information. Im looking for the code to add the student details to alumini form when their period of course is completed(based on their date of completion). The below code is registeration of student information. [CODE]<?php $link = mysql_connect('localhost','root',''); if(!$link) { die('Failed to connect …

Web Development php
Member Avatar for priyadharsinism
0
183

The End.