39,393 Topics

Member Avatar for
Member Avatar for Lapixx

Hi, I'm creating a simple analytics script to use on my website(s). I started of very simply by just creating a new record for every session, and updating the sessions (i.e. incrementing the number of pageloads for that session) when a new page is loaded. I also save the browser/version …

Member Avatar for Lapixx
0
463
Member Avatar for Ambislm

Since am new to php i have the following doubt. I have a combo box within a form in my home page.The combo box will display data from mysql database. When the user chooses an item, i have to pass it to an query and display the result in a …

Member Avatar for meffe
0
213
Member Avatar for phpdev13

My company has a IIS server which is hosting a PHP intranet application. The IIS basically authenticates the user by using Windows Integrated Authentication so once the user is logged on his/her machine he doesnt have to provide credentials again. One of the employees is using Remote Desktop to logon …

Member Avatar for sknake
0
262
Member Avatar for sugikrish

Hi friends, I get some error for storing into database. I given that coding.any body know pls say to me. accep.php <?php $check=$_REQUEST['submit']; mysql_connect("localhost","root",""); mysql_select_db("menus") or die(mysql_error()); $projectid=$_REQUEST['pid']; $projectname= $_REQUEST['pname']; $projectcat= $_REQUEST['pcat']; $scope=$_REQUEST['psco']; $location=$_REQUEST['plo']; $rate=$_REQUEST['prate']; $query="insert into order values('$projectid','$projectname','$projectcat','$scope','$location','$rate')"; $dbase=mysql_query($query) or die(mysql_error()); if($dbase==TRUE) { include("congrat.php"); } ?> Detail.php <body> <h3> …

Member Avatar for rajarajan2017
1
244
Member Avatar for ressaince

i have an ASP web services to change byte array that given from the client and change it to a file the code is like this : [WebMethod] [CODE=asp] public string UploadFile(byte[] f, string fileName) { try { MemoryStream ms = new MemoryStream(f); String path="/images/"; String location=HttpContext.Current.Server.MapPath(path); FileStream fs = …

0
41
Member Avatar for Roses89

Hey guys, I need an idea on how to determine wether a user that has been logged in is a supervisor. Ive made my login.php file and my choosereview.php.I have a very slight idea on how to do it but i just cant get it right.I want to determine whether …

Member Avatar for Roses89
0
161
Member Avatar for ben.matthews18

Ok here is the situatation, I have three tables set up; 'Users' 'Profile' 'Linkingtbl' The 'Users' table holds the following data; [LIST] [*]Email (PK) [*]Password [/LIST] The 'Profile' table holds the following data; [LIST] [*]ProfileID (PK) [*]Firstname [*]Lastname [*]DOB [/LIST] The 'Linkingtbl' table holds the following data; [LIST] [*]ID (PK) …

Member Avatar for madison12
0
449
Member Avatar for jazz_vill

I want to know how will I pass this table values using a form. I have a list of products and each item belongs to a section and each section has different attributes. The attributes section are columns where the user can input a number of products he wants to …

Member Avatar for Designer_101
0
188
Member Avatar for prem2

Hi DaniWeb Team, I need to split the below contents by using the mobile number and email id. If the mobile number and email id found the content is splitted into some blocks. I am using the preg_match_all to check the mobile number and email id. For example : [U]The …

0
42
Member Avatar for mayuri_desh

hi all, thanks in advance m new to php,ajax, i want to create a grid and ftech data into it from mysql please help me with the code

Member Avatar for muralibobby2015
0
60
Member Avatar for WaleedaaN

Dear all, i have project for invoice system. i use in this project php,mysql,html,javascript first mysql table's Products: id,name,price billing: id,products,total_price now i have create php file with tables to get all product from products db to show in invoice file javascript [CODE] <script type="text/javascript"> function toogle(element){ var c = …

0
48
Member Avatar for veledrom

Hi, I need a script to resize JPG, GIF, BMP, TIFF so on. [B][COLOR="Red"]NOT only[/COLOR][/B] for JPG please. I'll be happy if anyone can help me out. Thanks in advance

Member Avatar for muralibobby2015
0
94
Member Avatar for dan_ord

Hi all, I'm currently having an issue with an array, which when i loop through it, it returns random results, or only 1 result even though it should contain more. What i doing atm is calling some information from a database and displaying it. im outputting a hidden field with …

Member Avatar for dan_ord
0
75
Member Avatar for freiheit

Hello everyone I have a hard time making this work.. I have some data that i wish to sort by date , and i would like to sort them asc and desc using a jump menu. I know that within the jump menu i have to call 2 queries to …

Member Avatar for urtrivedi
0
234
Member Avatar for niths

hi all, I am having a page where we can add users. so when i add a user and click submit his details can be seen in a table.For that page should refresh, so i am using [CODE]<meta http-equiv="refresh" content="3">[/CODE] so for every 3 sec it is refreshing,so it doesnt …

Member Avatar for n_e
0
47
Member Avatar for muralibobby2015

hello....... how to do cronjob in windows. i am using wamp server. give any suggestions.

Member Avatar for diafol
0
806
Member Avatar for ressaince

i have a Web services that i build in ASP i need to pass byte array parameter or stream to consume the web service? are php can convert uploaded file into byte array or stream? please help me thx

Member Avatar for qualitybrains
0
152
Member Avatar for vwdmt

Hi all... I've been teaching myself PHP and MySQL for the past few weeks so I'm pretty new at it. But this question has more to do with javascript (which I have been using for some time) than it does PHP. I am letting the user enter a date into …

Member Avatar for cloud09
0
173
Member Avatar for ben.matthews18

I have a problem working out how to return users data when the user logs in. It needs to work so that when any user logs in only their data is shown. This is the current table structure; I have three tables set up; 'Users' 'Profile' 'Linkingtbl' The 'Users' table …

Member Avatar for diafol
0
102
Member Avatar for LloydFarrell

Hi all, im sure this will be areally quick solution for you masters out there, Im trying to create a SELECT query but I am continually getting a parse error ? [code] $query="SELECT * FROM friends WHERE (user_id = '$_SESSION[SESS_MEMBER_ID]' AND request_id = '$profile_id') OR (request_id = '$_SESSION[SESS_MEMBER_ID]' AND user_id …

Member Avatar for diafol
0
115
Member Avatar for GrahamLawton

All the add/remove/modify/display functions are now working for my little Customer Call Tracker web app thanks to the help of a few others on this site. Currently to manipulate the data after it has been entered I have 3 separate form fields to paste/type in a work order number which …

0
70
Member Avatar for griffith

How do you set database timezone for MySQL database? I tried: ALTER DATABASE SET TIME_ZONE = 'US/Eastern'; and it's not working, i get this error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for griffith
0
125
Member Avatar for ShArKss

Hey guys, I have been looking for hours, and I can't find the correct solution or know where to even start... I got this script, and when I click on a radiobutton from the part of the website, it needs to change the reasons (other radiobuttons). Can anyone help me …

Member Avatar for ShArKss
0
110
Member Avatar for samsons17

Hi.. I try to make a link while calling the data in php. This is the code : [CODE] while ($row = mysql_fetch_array($subject_set)) { echo <a href="example.php">$row["menu_name"]</a>; $page_set = mysql_query("SELECT * FROM pages WHERE subject_id={$row["id"]}"); if (!$page_set) { die ("Database query failed: " . mysql_error()); } while ($page= mysql_fetch_array($page_set)) { …

Member Avatar for Designer_101
0
133
Member Avatar for Zurompeta

Hi all, Basically what I'm trying to do is allow users to download multiple custom wallpapers I have made at the same time if they so choose to. Is this at all possible? Thanks, Zurom

Member Avatar for Lapixx
0
62
Member Avatar for tanha

Hi. I don't know what is wrong with the following attachment, actually I have two drop down list on my html form, and which is one retrieving the value from MySQL table, and the second is dependent to the first one, and that one also gets its value from another …

Member Avatar for cavalry
0
2K
Member Avatar for sugikrish

i want select values in list ,then it automatically stored in database. how to do ? if anybody know say to me....

Member Avatar for qualitybrains
0
69
Member Avatar for Valkyrian

Hi all! My first post in Daniweb. I'm making a invoice script with textfield to input some numbers (Belopp_1 , Belopp_2, Belopp_3 and Belopp_4) among other stuff. These numbers ar inserted ia a MySql database wthout problems. Tere are also some calculation made in the script to add the numbers …

Member Avatar for Valkyrian
0
2K
Member Avatar for aceriker

Hi guys, I'm fairly new to PHP and mySQL, using a book to help me learn. I want to create a small site to help me improve my skills, but I'm a bit stuck on the database design part. I want to be able to list various public companies and …

Member Avatar for rajarajan2017
0
103
Member Avatar for mithesh

Hi anybody can suggest me the way to start learning cakePHP, Online resources , Different online links , Different books available for cakePHP

Member Avatar for qualitybrains
0
148

The End.