39,323 Topics

Member Avatar for
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
447
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
186
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
59
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
46
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
92
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
74
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
233
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
45
Member Avatar for muralibobby2015

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

Member Avatar for diafol
0
802
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
151
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
170
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
100
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
110
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
68
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
123
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
107
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
127
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
61
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
67
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
101
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
147
Member Avatar for fiona@vas

I'm very new to php and am trying to fix code that was previously working. Initially, i was getting an undefined error and changed code from: [code] function printChapter($committee){ echo "<table width=\"99%\" border=\"0\" cellspacing=\"10\">\n"; foreach($committee as $name => $c){ $alt = $name; $names = explode(" ", $name); $fname = $names[0]; …

Member Avatar for n_e
0
93
Member Avatar for harry88

Hi, I can't seem to work around the problem. If someone could please point me in the right direction for why the login.php page reloads when I enter the correct empid and password from the database. here is my code: [CODE] <?php require_once("nocache.php"); if (isset($_POST['submit'])) { $id = $_POST["empid"]; $pword …

Member Avatar for qualitybrains
0
118
Member Avatar for Roses89

Ok so I have a login page which actually gets an employees ID and password and includes the employee id and surname+firstname in a session. Now in the following page: [code] <?php require_once("nocache.php"); session_start(); if (!$_SESSION["who"]) { header("location: logoff.php"); } else { $emp = $_SESSION["who"]; $sn=$_SESSION["surname"]; $fn=$_SESSION["firstname"]; } require_once("dbconn.php"); $sql="SELECT …

Member Avatar for Roses89
0
114
Member Avatar for prathapji11
Member Avatar for prathapji11
0
47
Member Avatar for irx

Hey all, I have been searching and searching no luck yet. I think what i have come up with is using apaches rewrite map, but clueless as to where to begin. Here is the situation I have. I have a url [url]http://www.somesite.com/post.php?id=13[/url] and want to turn it into a SEO …

Member Avatar for abohmeed
0
147
Member Avatar for paragouldgamer

I am pretty new to php, and trying to work with dates right now from a mysql table, the idea is that I want a table to update every week to show what is happening this week. The dates are stored in the mysql table in $table labled as date …

Member Avatar for urtrivedi
0
104

The End.