39,323 Topics

Member Avatar for
Member Avatar for JoeyG7

I've been altering code back and forth for an hour or so to get my form to send data to a mysql database if a radio button is checked. Right now it is not filling the table. other tables are getting populated. Here is the part of the html of …

Member Avatar for saiprem
0
150
Member Avatar for zippee

Hi, I managed to use the full-text search on a single table (product) and would like to search two tables (product and article) simultaneously, when user enter a keyword. Can anyone help? Thanks

Member Avatar for jsalis
0
242
Member Avatar for ElegantElephant

I don't know if it's obvious but I'm not entirely sure how to delete joined table records? For example. I have a project which also has associated contracts, files etc in other tables. They are all linked using the project foreign key. How do I construct a query to that …

Member Avatar for sandimcp
0
123
Member Avatar for SMHouston

I'm having a little trouble understanding saving state data properly. What I have is 3 forms, which go into a summary, and then the user can click on register and register for the seminars. The data is then submitted to a database. Each form has a next and back button. …

Member Avatar for SMHouston
0
169
Member Avatar for Arianna

I'm coding a simple forum, for a user system that I'm making. By simple I mean very simple - viewing categories, threads, and topics, as well as posting, editing, and reporting to a moderator. Moderators can also delete, sticky, or lock threads, or delete posts. Now, I'm doing quite well …

Member Avatar for Arianna
0
191
Member Avatar for stangn99

I'm trying to build a room booking web application with php+mysql. I'm close, but something keeps going wrong. The way it works is this: 1. User logs in 2. User redirects to "booking" page, where they can choose from 1 of 2 rooms to book 3. there are drop downs …

Member Avatar for stangn99
0
121
Member Avatar for whiteyoh

Hi all, taking the following function, id like to know how to get a single value out of the array (assuming 1 record is returned). i know my syntax is wrong for the function, im just typing fast....... [code] function user($id){ //connect DB SQL = "username, password, name age" // …

Member Avatar for colweb
0
89
Member Avatar for boyRevolt

Hello DaniWeb. It's my first time to do PHP, so please bear with me. I've read books and viewed tutorials just to solve this one. I want to have a variable number of text fields. Then, I want to have the contents of those text fields loaded in an array …

Member Avatar for saiprem
1
68
Member Avatar for surya_nar

I have a table from which I populate a list box. I need to display/edit the details of the particular record which I click on, which has to be retrieved from the same table from which the list box is populated. I need the correct coding for both the events. …

Member Avatar for saiprem
0
154
Member Avatar for alexgv14

I have this array below. [CODE]$LOGIN_INFORMATION = array( 'user1' => 'user1password', 'user2' => 'user2password' );[/CODE] And I want to make the array so that it loads all the username and passwords from a datbase instead. How could I do that? Any help is appreciated.

Member Avatar for rajarajan2017
0
67
Member Avatar for neethub3@gmail

code to link database selected through dropdownlist with corresponding database in mysql.Plz reply as soon as possible. Dropdownlist will list all database names inserted in a particular table

Member Avatar for saiprem
0
220
Member Avatar for D4n1sD

So for example I want to create a list of inputs and the user is able to choose from that list 1 option. And if that option is checked without pressing any button the image reloads or whatever.

Member Avatar for rajarajan2017
0
86
Member Avatar for lisles

i cannot pass the result of mysql_fetch_object to another function. [code=php] function sessionStartCase($challenge,$user,$pass){ global $conn; $ipaddress = $_SERVER['REMOTE_ADDR']; $url = $_SERVER['PHP_SELF']; if (isset($challenge) && isset($user) && isset($pass)) { $password = getPasswordForCase($user); echo $result->case_user_id; //if( @mysql_num_rows($row) ) { //$result = @mysql_fetch_object($row); if (validate($challenge, $pass, $password)) { echo "valid"; $result->case_user_pass; echo $result->case_user_id; …

Member Avatar for whiteyoh
0
117
Member Avatar for JerieLsky

How am I going to create a relationship from one table to another in phpmyadmin? Like a one to many relationship?

Member Avatar for pritaeas
0
79
Member Avatar for Virangya

Hello.. I'm an university student and I'm developing an ecommerce system using OOPHP in MVC architecture. I find it difficult to find related articles regarding PHP in MVC. Can some one please provide me with any example or a link which would give me an idea about how i can …

Member Avatar for vitana
0
55
Member Avatar for softx

I would like to make a tree menu with category and sub category in Php. When i click on category then display subcategory with link that subcategory page. it is with mysql database. I m tiered to make this but i can't. Please help me. I m providing a Example....... …

Member Avatar for vitana
0
312
Member Avatar for rukshilag

working on a form to update particular user details if required. as you can see there is also a print button. i want to know how i can print out the div=formData if print button is clicked. according to my current code when print is pressed the whole form itself …

Member Avatar for vitana
0
156
Member Avatar for stu9954

I have started to code a website with a simple PHP dynamic page. I am getting a error message on the homepage "Notice: Undefined index: page in C:\w\www\index.php on line 26". However the page does come up underneath the error. Can some one please take a look at the code …

Member Avatar for rajarajan2017
0
105
Member Avatar for Venom Rush

Hi all I'm having the most frustrating time trying to select data from two different tables that relate to each other. I have a database that has the following tables: [B]images[/B], [B]gallery[/B], [B]categories[/B], [B]news[/B] ([B]news[/B] is somewhat irrelevant to my current problem) The [B]gallery[/B] table has the following columns: [QUOTE]_____________________ …

Member Avatar for Venom Rush
0
121
Member Avatar for itisnot_me

hey all, i know in this day and age tech it linked with each other. is there a way to send faxes and receive faxes just using php. or if there is a service what is the cheapest. what i would need to do is have a system set up …

Member Avatar for sophiagregs
0
144
Member Avatar for Molinski

I am new to most the web programming experience and I have a php page (lets call it form.php for brevity) that posts some form information (including an attachment) to another php file that validates organizes the information (which I will call sendMail.php) and then mails it to the destination. …

Member Avatar for Molinski
0
399
Member Avatar for futhonguy

Hi, i am trying to extract number out from a text which i grab from the database. [B]EG: ACK9734N[/B], I would like to extract just the number [B]9724[/B] from the text, how can i do so? i understand about using preg_match() but when i tried to do that, the number …

Member Avatar for futhonguy
0
98
Member Avatar for atzaman

Hi In desperate need of some help! I'm having trouble with a mod I'm make on the threadbit template. I'd like to add some additional information from new columns added to the thread table which will show on forumdisplay. To do this I need to use the threadid in the …

Member Avatar for atzaman
0
229
Member Avatar for Raka0

[CODE]<input type="checkbox" name="opid[]" id="<?php echo $row['opid'];?>"value="<?php echo $row['opid'];?>"value="<?php echo $_POST['opid'];?>" /> <label for = "<?php echo $row['opid'];?>"></label> <?php $opid= $_POST['opid']; $opids =""; foreach ($_POST['opid'] as $opid ) $opids.=((int)$opid)."," ; $opids=substr($opids,0,-1); $sql="DELETE FROM opentopic WHERE opid IN ($opids)"; $res = mysql_query($sql) or die(mysql_error() ) ; ?>[/CODE] Hi, I used the above …

Member Avatar for LethargicCoder
0
75
Member Avatar for TheVendor

Hello, I'm new at php. I have this simple problem I can't figure out. So I have the variable $name and I want the name to appear on a page plus be linkable. But the link has use the variable.. like this: http://www.website.com/$name And also I only want $name to …

Member Avatar for TheVendor
0
106
Member Avatar for capoon

Good day Experts ,this form displays error as shown below [CODE] Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Tomcat 6.0\webapps\fphp\email-contact\send_contact.php on line 15 ERROR [/CODE] the code is as follow [CODE] ---------------------contact.php------------------- <table …

Member Avatar for capoon
0
183
Member Avatar for Elemen7s

Hi all, I am doing a website which will have a large amount of files uploaded to it which only the admin will upload files to it, users can't. I split the template in parts, the banner in its own .php file, the navigation bar in its own and so …

Member Avatar for Elemen7s
0
329
Member Avatar for nonshatter

Hey guys, I am really close with this but can't quite get it right... All I am trying to do is retrieve the users details based on their 'u_id' and display them. [CODE] <?php require ('dbconnect.php'); $user = $_SESSION['username']; //Get the users username $requestuid = mysql_query("SELECT u_id FROM user_usr WHERE …

Member Avatar for nonshatter
0
81
Member Avatar for rizwan6feb

I am working on an application in Vb.NET the pulls data from an online MySQL server. The problem i was facing was that my application had no direct access to internet. The application connects to a proxy server which was blocking access to database server because the proxy server only …

Member Avatar for nik00726
0
1K
Member Avatar for gunnarflax

Hi! I'm currently using Dreamweaver as my code editor for web development but I'm considering using open source applications instead. I've always supported open source development and let's face it, Adobe's programs costs a whole lot. So I read about using Eclipse for web development and did some searching and …

Member Avatar for gunnarflax
0
161

The End.