41,412 Topics

Member Avatar for
Member Avatar for roul

hi, I need php mysql image upload and resizer. The image uploaded through a uploading page should be resized and should kept in mysql server. and we need to retrieve it to another page. help me. thanks,

Member Avatar for qazplm114477
0
160
Member Avatar for qazplm114477

Hi, I`ve started doing PHP and MYSQL for a few months now and I am working on a project for a friend. Basically I had the code written down in mysql format and decided to change my code too mysqli. Everything was working fine except for one function. I keep …

Member Avatar for qazplm114477
0
7K
Member Avatar for preetg

hi i want to know to run php we use localhost as a server....can we use any other server??????or php is server side scripting language thats why we use localhost....but want to know can we use any other server??

Member Avatar for agraj1
0
2K
Member Avatar for kiransharma
Member Avatar for tunde011

[CODE]Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^myurl.com [NC] RewriteRule ^(.*)$ http://www.myurl.com/$1 [L,R=301] Header set X-UA-Compatible "IE=EmulateIE8" # PHP error handling for production servers # disable display of startup errors php_flag display_startup_errors off # disable display of all other errors php_flag display_errors off # disable html markup of errors php_flag html_errors …

Member Avatar for sourcez
0
492
Member Avatar for ConCon

Hi all. I've been having this problem and I was hoping someone could catch something I didn't. So here it goes: I have developed a registration system using PHP and mySQL, with usernames and passwords being encrypted by salt and md5 (and display names getting no encryption) on PHP's end …

Member Avatar for colweb
0
105
Member Avatar for nats01282

Hi all, I am after creating a small basic CMS sytem that will allow me to Change things after i have uploaded my site, How would i do this? I would like to change descriptions and add photos to the site?

Member Avatar for samarudge
0
134
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
166
Member Avatar for Barryt06

Hey, My name is Barry, new to this site and pretty new to coding, started a couple of months ago with PHP and MySQL and am looking to learn as much as I can really. Looking forward to hopefully helping some other people aswell...eventually :) Barry

Member Avatar for lovevietnam99
0
63
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
255
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
135
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
182
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
208
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
131
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
106
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
92
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
163
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 Member #334542
0
82
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
231
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
129
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
88
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
69
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
362
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
167
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 Member #334542
0
117
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
136
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
154
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
411
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
109
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
249
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
98
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
121
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
198
Member Avatar for Member #687975

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 Member #687975
0
343
Member Avatar for mitchelmarsh

Hi, I optimized my wordpress with All-in-one-SEO and on general settings - but my description on google still stands as I wouldn't like. Now, I found out that DMOZ put this description, but I didn't put that kind of description, how can I change it? Thanks.

Member Avatar for infinique
0
106
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
91
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
171
Member Avatar for rahul8590

i was just trying the new DBMS , herd it was kinda faster than MySql in some case. the below is the code i have taken (Standard example) and still i am getting error. [code] <?php // create new database (OO interface) $db = new SQLiteDatabase("db.sqlite"); // create table foo …

Member Avatar for jmoli
0
167
Member Avatar for woss

Hi all, Can anyone please help me about this problem? I want to upload file from one server to another using some sort of php class or some another PEAR file? For now I have downloaded pear file from pear.php.net. It works great but when I want to send files …

Member Avatar for i-ensan
0
92
Member Avatar for julio gomez

Hi, I am using a PHP parser to extract some contents from a RSS feed. The parser used to work just fine, but when I changed my hosting the parser stopped working and now it shows the following error: XML Error: not well-formed (invalid token) at line 11 The XML …

Member Avatar for julio gomez
0
227
Member Avatar for alokas88

Hi, I want to display a form in php..i hav this variable called $fields if($fields==1){ I want to print 1 text box} if($fields==2){ I want to print 2 text boxes and so on} The whole thing should be submitted to an action.php page how can i do dat in php??

Member Avatar for Member #334542
0
63
Member Avatar for alokas88

Hii, I am working on a php-mysql GUI..MY problem is iam asking the user to input the number of fields he wants on his new table.According to the number inputted dat many number of text boxes should come on the screen .How can i do this ?Is there any way …

Member Avatar for Member #334542
0
129
Member Avatar for caro88

Can anyone help?? I want to 2 sql command in a php file. The query is run in the search book, i want the query to get info from the loan table, if this table is empty then to display the details in the book table? Please help!!

Member Avatar for liamfriel
0
69
Member Avatar for AmieFeetandToes

Hello Everyone! I am working on a search form in PHP for a client's website. So everything works, the search brings results. What I am wanting to accomplish now is to be able to search more than one field, specifically first name and last name. Let's say if a user …

Member Avatar for colweb
0
265
Member Avatar for feroz28

I posted the same type of question for my one another jobs related site but still I have not got any solution. Now I have made one more jobs site and having the same issue so still looking for solution. I am using wordpress at [url]http://accounting-jobs-michigan.com[/url]. I am using permalinks …

Member Avatar for feroz28
0
75
Member Avatar for JerieLsky

Hi, im working on some project on php with mysql, and I'm only actually a beginner in programming with php and mysql. I created a table in mysql which contains several records. I have like 10 records in it. Now what I want to do is I only want to …

Member Avatar for Member #334542
0
122
Member Avatar for Explosivo22

I have a web page that has a folder on it say "folder1" that contains powerpoint files(.ppt). What i want to do is make a search box for someone to be able to enter say a specific name of a file and then when they hit submit it will search …

Member Avatar for Member #334542
0
85
Member Avatar for adsegzy

Hello friends, I have a html form saved as join.html as below [code] <form id="form1" name="form1" method="post" action="check.php"> Name: <label> <input name="name" type="text" id="name" /> </label> <p>Email: <label> <input name="email" type="text" id="email" /> </label> </p> <p> <label> <input type="submit" name="Submit" value="Submit" /> </label> </p> </form> [/code] and a php file …

Member Avatar for Member #334542
0
172
Member Avatar for juan83

Hi, Im new in this programming world. Here is my problem: I need to display result of which I need to show location and gred using colors. For example for total staff the color will be blue and green color for available post. Below is my coding but it will …

Member Avatar for Member #334542
0
68

The End.