52,566 Archived Topics
Remove Filter ![]() | |
Hi, Sorry if this is in the wrong forum but it appears daniweb doesn't have a category for sqlite or miscellaneous database systems. I have just started on a personal project which is an admin interface for sqlite (Like sqliteMyAdmin), similar to Phpmyadmin but for sqlite. Anyways the question is … | |
Hi, I am new to php,so I need help from you,I create html contact form and I wrote php coding ,but it have problem some.....,please clear my problem in this code or give me easy code for me to send mail....... [CODE]<?php include "functions/libmail.php"; if (isset($_POST['Submit'])){ extract($_POST); $ErrNo = 0; … Web Development php | |
Well this might sound a bit ridiculous , i request the user to enter the no of names field to be generated and then i am successfully able to generate , but dont know how to go about saving those many names in the name column of my db. initial … Web Development php | |
Hi all, Been some time since my last post. I'll get straight to it - I have actual Id's being passed from the checkbox array to a page where I dump the post variables. I'm using this to query the db. [CODE]$result = mysql_query("SELECT * FROM test WHERE Id='$checkbox[0]';"); while($row … Web Development php | |
Hi, I am developing a web-site where user can purchase items and pay through PAYPAL. Its working fine on test and all the payment processing is working well. But aI want to update my database after succesful payment and for that I have created one THANKS.ASPX page where I fetch … Web Development asp.net ecommerce pay-per-click web-server | |
Hello, I'm trying to stream an HTML file into a Literal control, and have found that the first time it loads, it works just fine. Any framesets defined resolve just fine, and the page works as it should. When I exit the page, then go into it right afterwards, the … Web Development asp.net file-stream html-css | |
HI every one I want to make a menu like this web site :[url]http://www.petrobras.com.br/pt/[/url] When your move the cursor on it , a new windows open and there is a picture in left side and submenues in right side I myself think it is a jquery tool but I don't … Web Development javascript | |
problem with this code: [CODE]parseIcmPage url, '<ul id="topListFilter"', '<div id="footer">' def parseIcmPage(url, start_point, end_point) data = getHtmlPage url s = data.index(start_point) e = data.index(end_point, s) len = e-s list_str = data.index[s, len] puts list_str, '\n' end[/CODE] [CODE]icm.rb:42: warning: don't put space before argument parentheses ./util.rb:121:in `index': wrong number of arguments … Web Development ruby | |
Hi I need code for searching the records in a table for specified conditions using jsp Web Development java-jsp | |
Hi all, I'm down with a question. How do i add in a javascript function into another function? For eg. I have a button that enable me to create a new table on the page. when the table is created, there is input of text with calendar function. Is it … Web Development javascript | |
Hello friends, I have a php page that displays data from a mysql DB. Fields are 1. Username 2. Designation etc... I want to list usernames in a listbox. I know thats not a tough job but I want to give different colors (or background color) to usernames with different … Web Development php | |
Hi, I want to get raw string from foreign characters string. Foreign characters are coming up as funny characters. WHat do i need to use in c#? Web Development asp.net | |
I had written javascript calculation for hotel accommodation system. The calculation part is working in Mozila fire fox, but it is not working in IE6. I checked the internet options in IE6 and enabled active scripting, still it is not working.Is there any other option. Please give me the solution … Web Development javascript php | |
I have written a small script in order to check the browser of the user and find that the code isnt working , even if i open the php page in IE its still outputting Mozilla [CODE] <?php $browser = $_SERVER['HTTP_USER_AGENT'] ; echo $browser. "\n\n"; ?> [/CODE] Output in Mozilla: … Web Development php web-browser | |
Hello to all Web Developers! I need a simple help here: [CODE]<table class="maxWidth" cellspacing="0"> <form action="update_conditions.php" method="post" > <tr> <td ><input type="radio" name="sex" value="citizenship" checked="checked" /> Accept all citizenships <br /> <div class="paddT5 borderT"></div> <input type="radio" name="sex" value="citizenship" /> We do not accept citizenships from: <textarea name="ud_not_citizenship" class="textarea" rows="5" > … | |
Hi all, I have a loop that I want to show all users and info from a DB. After each user is displayed I need a divider line placed between them. The divider line is simply "div class="divider"></div>" with a 2X2 pixel, repeat X background image. I have tried inserting … Web Development php | |
I need a help here, There's an error every time I add a link in my php file. Example: [code] <php $link = "twitter.com"; echo "<a href = '".$link."'> link </a>"; ?> [/code] on click, the address would be change on "http://localhost/project/twitter.com" whch is supposed to be "twitter.com" I've tried … Web Development php ![]() | |
Im new in web developer and using WAMP server to develop my system. I have run my system succ on winxp, but not in Win7. Can u guys help me to solve this matter? My Apache doesn't work.. I have try to start n restart but still same.... Cannot open … Web Development apache php web-server | |
hello all i have one master page containing menu strip and one content page of same master page what i want while i click on the menu strip the value clicked is shown to to text box on form for that i am using following code master page's code [CODE] … | |
I currently have this function [CODE] processfn('sponsor = 1', 1, '', 0, 'buyer = 0'); function processfn($sponsor, $level, $sad, $sadista, $bumili) { $result = mysql_query("SELECT id FROM ahentes WHERE $sponsor") or die(mysql_error()); if (mysql_num_rows($result) > 0) { $sad = mysql_num_rows($result); while ($row = mysql_fetch_array($result)){ $sila[] = "buyer = '".$row['id']."' "; … Web Development php | |
Hello everybody, Im writing an application that takes various different classes. background: i basically have a bootstrap type of file that requires all the needed classes. inside each individual class file at the bottom, i have instantiated the class. later on in other theme files i want to use some … Web Development php | |
Hi, How can I add via javascript an Event Attribute like onkeyup="xyz(this.value)" in a text input ? function x() { if (condition) { document.definesearch.textsearch. ???? ; } } definesearch is the name of the form. textsearch is the name of the text input. I tried this : document.definesearch.textsearch.onkeyup="xyz(this.value)"; but it … Web Development javascript | |
Here's the scenario: Let's say I passed a couple of querystring to populate my datalist on another page. Then I want to filter/refine that datalist further by clicking on links( which are dynamically created depending on the data on the datalist) and when clicked will pass another querystring to create … Web Development asp.net | |
Well, I am making an upload for people who make games with the Unity game engine. Basically, the engine will build the game and produce an html file and .unity3d file. here is my html form: [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Index file:</label> <input type="file" name="file" id="file" /> … Web Development php | |
Hi guys Wondering if someone could give me a hand with another problem I'm currently having. A little background first... I'm trying to pick up a daily report which is in XML format via a URL. I then need to parse that data and insert it into a MYSQL table. … Web Development file-system php xml | |
Hi this is my first post. I found this site through the need of a php script for my website. Now I'm not much of a coder, I can just about get by ish. I have a website [url]www.saltashcameraclub.co.uk[/url] I have built this site using E107 mainly because I have … Web Development image | |
Hi, first of all sorry if this has come up before, but I couldn't find it anywhere. I have a working php form which submits data on submit. I need to verify the input fields to ensure they are not empty. I know i need a javascript function to run … Web Development javascript php | |
Hello friends, I have a table which contains file names. For example i have stored a file "java.pdf" in a directory called "course". The file is located here. [url]http://www.something.com/course/java.pdf[/url] Now i stored the file name in a column named "document_filename". I stored it as "java.pdf" Now if a user click … | |
I am trying to create website with [B]PHP,MySQL,Ajax[/B].In my form,the [B]values [/B]of [B]sub-category[/B] [B]select box[/B] are populated according to the [B]value[/B] in the [B]category [/B][B]select box [/B] by calling [B]ajax [/B]function [B]showsubCategory(str)[/B],[B]below [/B]I am showing some of the code: [B]Ajax code[/B]: [CODE]<script type="text/javascript"> var xmlHttp function showsubCategory(str) { xmlHttp=GetXmlHttpObject() if … Web Development javascript | |
hello mods!! i am facing a strange problem!! i have redirected a URL via php script using html page!! whenever i open html page it redirects to my php code(script) on page instead of showing me the output of the data that i have put in i.e. the telephone number … Web Development php | |
Hello, I'm new in PHP and MYSQL.. I need a small help... Here is what i got: [B] CONDITIONS[/B] [CODE]<form action="update_conditions.php" method="post" > <table class="maxWidth" cellspacing="0"> <tr><td >Method</td><td>Commisions</td><td>Proccess Time</td><td>Min Deposit</td><td>Max deposit</td></tr> <tr> <td> <input type="checkbox" name="ud_bank_wire" value="<? echo "$bank_wire"?>" /> Bank Wire</td> <td><input name="ud_b_w_com" class="update_by" type="text" value="<? echo "$b_w_com"?>"></td> <td><input … | |
Hi, What i have is a variable that is getting updated periodically and i've set the php script to refresh itself every 30 seconds to run a mysql query updating a db, this is good but if this value isnt changing from the source i get duplicate records in the … Web Development php ![]() | |
Hi, I am trying to make a list of products with the product heading at the top. and trying to make it dynamic. I have put a foreach() inside another foreach(), I have all the info in the database, however nothing is displaying. So I am stumped.???. $sql = "SELECT … Web Development php ![]() | |
hello I am trying to display some form values. Of course no problem I can display that particular data by using That my following code it is perfectly working. but I need to display those data in two column.Actually those data containing Names.I need to put those name according their … Web Development php | |
Hi, I am getting this error: Warning: implode() [function.implode]: Invalid arguments passed in ... on line 28 I am not sure if what I am doing is possible or if I have shanked the code somehow.. if(!isset($_GET['b'])) { ///// DISPLAY THE NORMAL PROMOTIONAL HOME PAGE } elseif($_GET['b'] == 't') { … Web Development php ![]() | |
I am using ldap_connect function in phpmaker tool,but it is giving error like Fatal error: Call to [B]undefined function[/B] ldap_connect() in C:\xampp\htdocs\register\1v6\phpfn7.php on line 4127 Web Development php | |
![]() | I have a text file and i want it to open and add all the line to an array. Which function is used in php for that task?? Which separator is used for a new line..?? Can any one help... Web Development php ![]() |
I want to insert records into multiple tables at one go, I am doing this in the following way, is this the correct way of doing? If not, what is the better way? [CODE] mysql_query("insert into table1 values('abc')"); mysql_query("insert into table2 values('ttt')"); mysql_query("insert into table3 values('5t6')"); mysql_query("insert into table4 values('ghy')"); … ![]() | |
OK, Here's what I have. This is my simple form. [CODE]<form action="log_test.php" method="post"> <input type="text" name="username"> <input type="password" name="password"> <input type="submit" name="submit" value="Log in"> </form>[/CODE] and here is my script [CODE]$query = "SELECT userId, password FROM table"; $result = mysql_query($query); while($row = mysql_fetch_array($result)) { echo $row['userId']; echo $row['password']; }[/CODE] I … Web Development php ![]() | |
When I use the following PHP code I get this error Error performing query: Unknown column 'nh12134' in 'where clause' Yet when I use 'nh12345', which is the Value that the variable $username contains (i've checked that it does by printing it out elsewhere) instead of the $username in the … | |
Hi, I need to grab the data from the other specified websites, any idea how to implement this? Thanks in advance. Satees Web Development php | |
Hello All, I just wanted to know if there is any way to dynamically set the width of a column inside a table within a datalist based on the length of the text fetched from the database.I am inserting my code.In the code below I want the width of collapsible … Web Development asp.net | |
i have a basic script where in i check if the content is inputted or not . If the content is not present i redirect to the same page also echoing a statement that u have not entered any data , but the echo message is not being printed. the … Web Development http-protocol php | |
Trying to get my one of my divs when clicked to call a function but it doesn't seem to be working??? I just noticed that only one solid pixel in the div border which i will eventually set to 0px calls the function but I want it so the whole … Web Development javascript | |
I've been building a custom [URL="http://bariby-quance.com/blogged.aspx"]journal application[/URL] for my website which has a reply sub-app where visitors can post responses to my frequent posts. In the response sub-app I want to be able to incorporate formatting buttons (bold, link, colour, etc) that will take selected text within the textbox and … | |
I've got what I think must be a pretty simple question, but it's my first time doing something like this. Here's my situation. I have a simple database. It's a dictionary of words. I want to have a form that I can enter a word into. Once I do that, … | |
HI guys, just wondering how to get a customised page, depending on an id. Eg mysite.org/view?id=1, mysite.org/view?id=2 etc. How does that work? Is it possible to provide the whole url including the id so I can put a direct link to the page I want someone to view? Cheers, Web Development php | |
Actually ,i made one project for web based application,but now i have to use for desktop application.and also i don't want to show my code to customer to whom i will give my project.While running WAR file in tomcat ,it automatically makes source code file,please help me out. In advance … Web Development java-jsp | |
Hi there, i want to redirect from the SERVLET page to an HTML page after 5 seconds. Please help..!! Web Development http-protocol java-jsp |
The End.