39,323 Topics
| |
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) … | |
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 … | |
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 … | |
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 | |
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 = … | |
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 | |
| 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 … |
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 … | |
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 … | |
hello....... how to do cronjob in windows. i am using wamp server. give any suggestions. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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)) { … | |
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 | |
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 … | |
i want select values in list ,then it automatically stored in database. how to do ? if anybody know say to me.... | |
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 … | |
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 … | |
Hi anybody can suggest me the way to start learning cakePHP, Online resources , Different online links , Different books available for cakePHP | |
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]; … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.