Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #818
~42.6K People Reached
Favorite Tags
Member Avatar for sam1

hi, I am creating a form for user to update their details which is saved in the database. So far i can show their details in the form where i have a submit button but the updating part doesnt work(it doesnt update at all). here is the code: [CODE] <html> …

Member Avatar for diafol
0
3K
Member Avatar for akshit

hey guys... i know this is a very common problem and has been posted earlier also... but nobody seems to have figured out a solution... i am making a program using PHP/MySQL. I need to update 3 columns in a table. when i use a single UPDATE-SET command(using commas/AND etc …

Member Avatar for TomH.PG
0
8K
Member Avatar for lordx78

auth.php [code=php] <?php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST['username']; $_SESSION['password']=$_POST['password']; } // query for a user/pass match $result = mysql_query("SELECT * FROM users WHERE username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted …

Member Avatar for markashworth
0
4K
Member Avatar for agrarian

Any could give me a PHP script on how to call or execute a MS SQL Server stored procedure, passing parameters to it and receiving a value from it using an Output parameter?

Member Avatar for 99developer
0
4K
Member Avatar for lunac

I'm trying to send an html/plain text email for an invoice program I am writing. I really want the html message because it offers better layout options for invoicing and some features to help my customers with their payments. However, some email clients don't work with html email -- especially …

Member Avatar for pircoThe0ne4nd0
0
2K
Member Avatar for kuteinheart

Hi, I have two forms: one which displays the list of projects in a dropdown box from mysql db second one is a date picker form. after this i have a submit button. Now, when i click the submit button I want to get the details of the Users corresponding …

Member Avatar for jessica007
0
6K
Member Avatar for teedoff

Hi new to php and I'm trying to learn how to set up connections to the database on my remote server. I'm using dreamweaver to create recordsets, then dispaying the results. Dreamweaver creates a connection file(I named student.php) automatically based on your database connections and login info. However, this poses …

Member Avatar for teedoff
0
329
Member Avatar for skier

I keep getting a T String parse error. I am not sure what I'm missing? Any help would be appreciated! <?php $filename = "http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf"; if (file_exists($filename)) { echo "<a\href="http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf </a>"; } else { echo "The file $filename does not exist"; } ?>

Member Avatar for hielo
0
706
Member Avatar for ReMoN SaMiR

Hello, Few days ago I was searching online for a way to create a PHP forum though which the visitors can leave their messages and to automatically appear on the page. I found the a code and I used it to create the PHP form, but unfortunately I discovered the …

Member Avatar for ReMoN SaMiR
0
198
Member Avatar for mickeyci

I have no problem connecting to database, and the form is okay i guess. ¿Do anybody see the problem in here? It keeps returning me ERROR! PHP code: [code=php] <?php mysql_connect("$host", "$mysql_user", "$mysql_pass")or die("Error connecting."); mysql_select_db(users)or die("Can't access to database."); if($id) { $sql = 'UPDATE members SET '; $sql .= …

Member Avatar for anojs
0
158
Member Avatar for zia zia

I need some help with my coding:(. I have a php file with a delete link. It flags the user record with "1" when delete is clicked. What I don't know is that "how to remove the user record from my php file". The user record is fetched from mysql …

Member Avatar for manzarr
0
4K
Member Avatar for kunnu

Hello, I have a custom script. I want to add cart function in my script but I can't find any tutorial. Please help me, any step by step tutorial?

Member Avatar for EverWebby
0
114
Member Avatar for ariffin246

[code=mysql] SELECT * FROM fb.order LEFT JOIN item on order.item_name = item.item_name WHERE fb.order.order_status = 'Served' and tab_name='A' [/code] I have two different tables "order" and "item" which i joined using left join. In order table there is a column name called quantity and in item table, there is a …

Member Avatar for ariffin246
0
118
Member Avatar for andrewliu

Hello, This might be an easy solution for you guys, but I'm learning php on my own and I'm having problems with this code. Its giving me an output of what I want but I'm also getting this error "Notice: Undefined variable: construct in C:\wamp\www\search_exp\data.php on line 27" the line …

Member Avatar for silviuks
0
174
Member Avatar for mangel.murti

hi , [B]all i want to delete files after xx days from a folder using php [/B] thnx in adv..

Member Avatar for mangel.murti
0
156
Member Avatar for canterorist

Hi! i know you already experience to use this two cms software. I only want to know which of this two is the best. I have planned to create a site and then i am hesitate. I want your opinion or suggestions. please help me!

Member Avatar for nazar22
0
118
Member Avatar for nabilamn

hai all. i got a problem to display a total from a few data in my database for example, in my database i got these fields: TABLE STUFF food double; clothes double; groceries double; total double; ---> should i put this in my table to save my total that will …

Member Avatar for scaiferw
0
180
Member Avatar for Barrett1

[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE]

Member Avatar for Barrett1
0
85
Member Avatar for LalinM

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a1420653/public_html/processform.php on line 46 Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php // include MySQL-processing classes require_once 'mysql.php'; try{ // connect to …

Member Avatar for silviuks
0
1K
Member Avatar for scaiferw

This code does a nice job reading the members from my database and setting up a form with checkboxes for each member in one long single-column list. What I need to do is to write some sort of loop that sets out 3 or 4 columns and splits the names …

Member Avatar for scaiferw
0
218
Member Avatar for help_lucky

Hello Everyone, I have 2 checkboxes in a form and onclick of these. Once the checkbox is checked, only the fields that are relevant to the checkbox are displayed, with default values in it and to fetch the default values i need to trigger php code. So i can't perform …

Member Avatar for help_lucky
0
245
Member Avatar for notmasteryet

well there is the code and its not emailing me anything when i fill in the form. kind of new to php :((actully first time doing it.) [code=php]<?php /*code for form */ $emailSubject = ' PHP Scripting'; $webMaster = '******@gmail.com';/*just made stars for this site*/ $email = $_POST['email']; $name = …

Member Avatar for rajarajan2017
0
146
Member Avatar for demontro

[B][COLOR="Green"]Hey Guys i just was asking if i had data called zf and table cq_user and there is coulmn called emoney and i wanna increase This emoney Value By sumbit Like Increase at php page... but i need This emoneyvalue if it's 100 i need to increase it by 10 …

Member Avatar for silviuks
0
92
Member Avatar for silviuks

Hello, Do you have any idea how can i "read" the homepage of a website and then to create an image and display it. Best regards, Silviu

Member Avatar for R0bb0b
0
67
Member Avatar for ishlux

Hi all, i am getting `Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\demo\help.php on line 23` this error. how to overcome by this problem, <?php include 'database.php'; $email = $_POST; $firstname = $_POST ; $lastname = $_POST ; $tphone = $_POST.$_POST.$_POST ; $message = $_POST; …

Member Avatar for Shanti C
0
148
Member Avatar for praveen_dusari

hi, iam working in php for 4 months iam still trainee iwant to study a sample project so,that i can improve my knowledge i really fed up with tutorials. can anyone please help me in finding sample projects thanx

Member Avatar for silviuks
0
89
Member Avatar for forwardlookguy

I've got some code using a lot of complex if statements that I'm using for a VIN decoder. I finally got it working and I'm hesitant to alter it but these if statements are huge! If a switch statement could be used to accomplish what the if statements are doing, …

Member Avatar for silviuks
0
131
Member Avatar for Zemfik

I have a client who I simply don't have the time for any more. I wrote his website in PHP and it's worked fine for over 6 years now. I've told him to find someone else, but upon telling him I want him to find someone else: 1) he's only …

Member Avatar for msteudel
0
120
Member Avatar for razer.anthom

Hi all. I am having a weird problem with PHP sessions. I create a session but when I click a link inside my site, other session is created. To test it I copy this code below and tried to run in same environment (WAMP at localhost). The same behavior was …

Member Avatar for nav33n
0
213
Member Avatar for Sheridan

Hi: I'm not sure that this problem has a solution but here goes. I am retrieving a list of names from a database and displaying them on a web page. The list would have the form: Doe, John Smith, Harry Jones, Dan I want each name to be a hyperlink …

Member Avatar for silviuks
0
160