38,020 Topics

Member Avatar for
Member Avatar for bangla

Hi, I am a beginner in php and mysql. Someone pls be kind to help me the following if possible. 1. I know the host name, database name, table name 2. The table has 3 fields-State, Name, Specialty. 3. I want to have a drop down list name ‘State’. In …

Member Avatar for twiss
0
214
Member Avatar for dyingatmidnight

My code is not behaving as I would like and I think I've just been looking at it far to long to find the errors. Its for a library database for a school project (its sort of an independent study so I don't have an instructor to bring it to) …

Member Avatar for dyingatmidnight
0
112
Member Avatar for DarkBerzerk

OK, I'm making items in webbased game and dunno how to design the db well to be able to use well this is the one i made but dunno its nice or no, gonna be hard to use anyway, what i need it item type which is Potion,Gem,or equipment ... …

Member Avatar for DarkBerzerk
0
89
Member Avatar for navi17

Hello, I need a html5 player which can play on all smartphones. I have tried lots of players. Some player works in iphones and not in android vice versa. Any ideas what is best way to do so that video can play on all platforms? Thanks navi

Member Avatar for twiss
0
84
Member Avatar for yongj

How does one create a dynamic table (meaning that it expands as information is automatically put in) with data coming from a MySQL database? I'm pulling information from a private school's "stock" database and need to fill in a table with information such as the date of the stock, the …

Member Avatar for FreddieBambino
0
2K
Member Avatar for Sorcher

Does anyone else see the problem here? i get ""userdetails did not match"" But the $myusername is set correct. [CODE]error_reporting(E_ALL); if($_POST['tSubmit']){ $points = $_POST['pointamount']; $price = $_POST['price']; $reciever = $_POST['reciever']; $mypassword = $_POST['mypassword']; $myusername = $_POST['myusername']; include "../db_connect.inc.php"; $sql= "SELECT password, loginid FROM login WHERE username = '$myusername'"; $result = …

Member Avatar for diafol
0
188
Member Avatar for MadMaddie

Afternoon, I am currently the Webminister for [url]http://www.calontir.org/[/url] and am overseeing the transfer of our Web site from [url]http://www.calontir.info[/url] to our new address. I am having issues with moving our Order of Precedence (OP) database. The original OP database: [url]http://calontir.info/herald/op/[/url] The original pages work fine with the exception of one …

Member Avatar for twiss
-2
239
Member Avatar for rajandass65

hi i am sending request to a server using curl, the resonse of the request is zip file, i have to download it. but the data are show on the page on binarry format(junck character). this is he code. $ch =curl_init(); $headers=array("key: 2434jdfdf3433434"); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_URL, 'https://xyz.com/api/batches/1481307454804189100'); curl_setopt($ch, …

Member Avatar for svilla
0
107
Member Avatar for s.w.a

please what is that do and mean?? [CODE]message = ("HTTP/1.1 302 Found\r\n" + "Location: http://" + redirectionAddress + "/\r\n" + "Content-Length: 0\r\n" + "Connection: close\r\n" + "Cache-Control: max-age=0, no-store, private\r\n" + "\r\n"); where redirectionAddress = nodeAddr + ":" + message; and message = "AuthKey" + ":" + "clientIP" + ":" …

Member Avatar for s.w.a
0
115
Member Avatar for twentylemon

I have a simple function to toggle visibility of whatever. I use it in many places and I know it works fine. [code=html]<script type="text/javascript"> <!-- function toggle_visibility(id) { var e = document.getElementById(id); if (e.style.display == 'block') e.style.display = 'none'; else e.style.display = 'block'; } //--> </script>[/code] I'm now using this …

Member Avatar for twentylemon
0
220
Member Avatar for samsons17

Hi.. I am in the middle of my project but i get stuck here. I want to make the friends linking process page.Which is upon registration, new user will be redirected to this page to find their friends that have registered on my site. I try to google it, but …

Member Avatar for samsons17
0
163
Member Avatar for Dannis86

So i've got a little problem. I'm just running a website for fun, got it from a friend because he didn't need it anymore. Site is called: fapperd.nl Now i'm really happy with me installing a phpbb forum on my server and made a button for the forum as you …

Member Avatar for Dannis86
0
396
Member Avatar for muralibobby2015

hello... i have multiple records in databse. i want to create .xml file automatically. if there is any data in xml file, automatically rewrite that file. how to do this. sugguest me please thanks.

Member Avatar for urtrivedi
0
117
Member Avatar for Jiaxin

Hello, I am trying this code out but has error. Please help, This is my code. <?php include 'dbFunctions.php'; $result = mysql_query('select * from criteria_m'); if (!$result){ die('Query failed: ' . mysql_error()); } $i = 0; while ($i < mysql_num_fields($result)){ echo"information for column $i:<br />\n"; $meta = mysql_fetch_field($result, $i); if(!$meta){ …

Member Avatar for Jiaxin
0
228
Member Avatar for fantasma

Greetings! I'm trying to solve a little problem that occurs when I try to kinda make an associative array out of an associative array. I wish to associate 2 fields coming from mySQL so I can make a simple associated print for the records I want (and I do not …

Member Avatar for diafol
0
114
Member Avatar for masterjiraya

POSTBACK.php [CODE=PHP] <?php $q=$_GET['q']; $words=explode(' ',$q); //$words2 = "'%".implode("%','%",$words)."%'"; //echo $words2; $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or die('cannot connect'); //$sql = 'SELECT * FROM `ajax_demo_table` WHERE `FirstName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci OR `LastName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci'; …

Member Avatar for masterjiraya
0
87
Member Avatar for DarkBerzerk

I'm Editing little PHP and SQL script so if the code in the db is [CODE]`crystals` int(11) NOT NULL default '0',[/CODE] and in the php script is [CODE]$_POST['crystals']=(int) $_POST['crystals'];[/CODE] and other code in db is [CODE] `class` enum('Knight','Archer') NOT NULL default 'Knight',[/CODE] What the php script will be (in the …

Member Avatar for vibhaJ
0
94
Member Avatar for PixelatedKarma

G'd evening, So I built this script and figured that I had it all figured out, styled it with css only to find out something is messed up. The php script is set so that it retrieves a value from a mySQL database and if it is 0 the site …

Member Avatar for vibhaJ
0
154
Member Avatar for ebanbury

Hi I'm trying to practise with this form, which will eventually be part of a much larger form. What I'm trying to do is to validate my reg_agent field in which a user can choose whether they are an agent or private. The validation is supposed to say that when …

Member Avatar for ebanbury
0
141
Member Avatar for pbcomput

Hello I want to convert the date formate from Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time) to 06/06/2011 I have done something like this [CODE] $chkdt = "Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time)"; $month = substr($chkdt,4,3); if($month == 'Jan') $month = '01'; else …

Member Avatar for almostbob
0
4K
Member Avatar for patraghost

Its kind of complicated.well iam trying to create a search form,where the output will be like : Found (a number) results: Name: Surname: [View Button1] Name: Surname: [View Button2] and so on,depented on the results of query. i am calling a fun on pageload.in that i create the buttons,and i …

Member Avatar for masterjiraya
0
167
Member Avatar for DarkBerzerk

Ok i want freedomain to test on so i dont care if its domainname.blabla.com i just need some good domain to test on , i was testing on freehostia but they dont allow crons i want some one have php,sql (at least one free server allowed)and crons aaaaan no ads …

Member Avatar for DarkBerzerk
0
130
Member Avatar for yongj

So for my website I'm trying to have a page where the user can type in literally anything and the page would output a list of stock symbols that are close to the input. Anything unrealistic (e.g. 3548 random letters) would obviously not work but if the user were to …

Member Avatar for yongj
0
76
Member Avatar for dyingatmidnight

Hello all, I've been using Chrome to develop a database website for a school project and I've been having a couple of issues. The first being refreshing. When I logout or login I have to refresh the page for it to pick it up. Or if sometimes I'm logged in …

Member Avatar for dyingatmidnight
0
108
Member Avatar for jrotunda85

I recently moved a script I created for Google Maps over from my development site and I changed the information in the mysqli line and now I'm recieving an error mesage -- any idea what's going on here? Here's the error message: [CODE]Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user …

Member Avatar for diafol
0
367
Member Avatar for mrcniceguy

WELL GUYS,I HAVE A NAVIGATION IN MY WEBSITE WHICH IS SIMPLY A <UL> LIST. ALMOST EVERYTHING WORKS WELL,EXCEPT WHEN I WANT TO SHOW THE CURRENT PAGE WHICH IS BEING VIEWED,...I HAVE SUCCESSFULLY IMPEMENTED THE FUNCTIONALITY IN PHP WHICH CAN DETECTED THE PAGE BEING VIEWED BUT THE PROBLEM IS CSS WHERE …

Member Avatar for diafol
0
119
Member Avatar for dyingatmidnight

Urg, I will so happy when I'm finished this project, I feel like I'm spamming you guys every couple of days. So I have a couple date values in my tables. And I'm trying to do some calculations with them. Which are working fine. But I'm retuning the number of …

Member Avatar for dyingatmidnight
0
205
Member Avatar for Jollyyy100

Hi, i have a login section made through layers and tables within dreamweaver. At the same place i have a login button (i have coded it and it works all right) but at the moment i have an issue, because when i sign in the login section which says enter …

Member Avatar for Jollyyy100
0
171
Member Avatar for heshanm

HI all, I have a small problem regarding my php project. There is a page called [B]open_account.php[/B]. It contains all customer data such as NIC, full_name, date of birth, gender etc. When a user fills all the fields in that form it redirects to another page called [B]new_account.php[/B]. There are …

Member Avatar for heshanm
0
214
Member Avatar for muralibobby2015

hello... i am developing one realestate website. in there the properties will syndicate in to another web sites like yahoo-realestate,zillow. so how can i syndicate my properties in these sites. thanks.

Member Avatar for twiss
0
118

The End.