39,316 Topics

Member Avatar for
Member Avatar for Member 784854

Hey guys, currently I am writing a script that will allow users to use a html drop down menu to select regions of the world (based on entry in a js file). We need the results to be compared against a database and return another answer without the user using …

Member Avatar for keval_hack
0
102
Member Avatar for cwarn23

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 …

Member Avatar for sourcebits
0
116
Member Avatar for Member 784602

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; …

Member Avatar for Graphix
0
240
Member Avatar for rahul8590

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 …

Member Avatar for rahul8590
0
107
Member Avatar for Bob Arctor

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 …

Member Avatar for Bob Arctor
0
106
Member Avatar for an00p

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 …

Member Avatar for an00p
0
179
Member Avatar for chaitanya15385

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 …

Member Avatar for almostbob
0
160
Member Avatar for rahul8590

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: …

Member Avatar for almostbob
0
95
Member Avatar for artvor

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" > …

Member Avatar for Graphix
0
148
Member Avatar for phaedrusGhost

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 …

Member Avatar for phaedrusGhost
0
139
Member Avatar for sarithak

Hi frnds... i m using date time funtion in many ways..but i m not getting indian timings...plz tell me how can i exact indian timings... i used all the below functions... [QUOTE] php_value date.timezone "Asia/Calcutta" echo date('d-m-Y H:i:s'); putenv("TZ=Europe/Istanbul"); [/QUOTE] i need only for a single page..

Member Avatar for Member 784564
-2
645
Member Avatar for helpmmeworld

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 …

Member Avatar for rajarajan2017
0
115
Member Avatar for faizabest

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 …

Member Avatar for faizabest
0
116
Member Avatar for codewalkz

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']."' "; …

Member Avatar for codewalkz
0
80
Member Avatar for sacarias40

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 …

Member Avatar for sacarias40
0
132
Member Avatar for CreativeCoding

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" /> …

Member Avatar for CreativeCoding
0
121
Member Avatar for atzaman

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. …

Member Avatar for atzaman
0
291
Member Avatar for ptemedia

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 …

Member Avatar for ptemedia
0
235
Member Avatar for hims4u

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 …

Member Avatar for hims4u
0
162
Member Avatar for artvor

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 …

Member Avatar for artvor
0
178
Member Avatar for benhowdle89

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 …

Member Avatar for rajarajan2017
0
4K
Member Avatar for dan1992

help please [CODE]<?php $name = $_FILES["sound"]["name"]; $type = $_FILES["sound"]["type"]; $size = $_FILES["sound"]["size"]; $temp = $_FILES["sound"]["tmp_name"]; $error = $_FILES["photo"]["error"]; $random_digit=rand(0000000,9999999); $new_file_name=$random_digit.$name; if ($error > 0 ) $die_1 = die("Error uploading file! Code $error."); else { move_uploaded_file($temp,$new_file_name); } } ?>[/CODE]

Member Avatar for rajarajan2017
0
73
Member Avatar for QWaz

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 …

Member Avatar for rajarajan2017
0
97
Member Avatar for umandajayo

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 …

Member Avatar for vibhaJ
0
139
Member Avatar for QWaz

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') { …

Member Avatar for rajarajan2017
0
2K
Member Avatar for SCoder1
Member Avatar for Ankit_Parmar

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

Member Avatar for Ankit_Parmar
0
98
Member Avatar for kirtan_thakkar

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...

Member Avatar for rajarajan2017
0
77
Member Avatar for cancer10

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')"); …

Member Avatar for rajarajan2017
0
163
Member Avatar for dan_t

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 …

Member Avatar for rajarajan2017
0
131

The End.