39,316 Topics

Member Avatar for
Member Avatar for mangel.murti

hi , i have two table i want result in tree view.how to do it. if i have n level question and answer then what is db design for it thnx for any help

Member Avatar for pritaeas
0
148
Member Avatar for marifard

I have four database tables locality table: localityid, locality. jobtype table: typeid, type. applywork table: id, userid, applyfor applicationsent, jobtypeid, vacancyseenon companyname, doorno buildingname, street, localityid, postcode, telephone, website, email, notes users: id, role, name, surname, gender, username, password. I have a page to edit selected field from applywork. I …

Member Avatar for marifard
0
2K
Member Avatar for jjimesh_koli

how can i do image update mean i want change my image using php code......... and previosly store image del and new image is overright previously image and image information store in mysql database such as image name and image path...

Member Avatar for jamied_uk
0
83
Member Avatar for Argyrisv

Hi there i m having some problems in creating and handling multiple buttons. The idea is that i have two buttons "Accept" and "Reject" and i want to give them differnt names using the variable $i from the for loop. Below i give you the code which shows what i …

Member Avatar for Biiim
0
2K
Member Avatar for smartcard

I am currently testing a desktop application which is sending some data to a web URL in XML format, for some reason this data seems to be not sent in the correct format. I need to know if there are any website or script that I can use to troubleshoot …

Member Avatar for aquilax
0
212
Member Avatar for lastgame2007

can anyone help me what is the problem .. here is the situation, there is USER1 logged in name ex JAMES a student, and on the other hand the admin updates the other student in his account,, why is it the current logged in replaced the updated one... ? this …

Member Avatar for lastgame2007
0
71
Member Avatar for cleggy1987

hi im trying to use my login class file with my database class file using class extends and i cant seem to figure out how to connect the two [CODE]<?php class access extends MySQL{ var $user_column = 'username'; var $email_column = 'email'; var $pass_column = 'password'; var $user_level = 'user_level'; …

Member Avatar for cleggy1987
0
197
Member Avatar for twoclicks

Hi guys, i'm a php beginner I was trying to create a function to merge two images into one. I have been successfully merging a frame(png) on top of an image uploaded (jpeg) on low res. Then i move on to increase the image file size so that i have …

Member Avatar for jbennet
0
379
Member Avatar for aianne

Hello. :) So I am creating a grading system where users can compute student's grades on selected ID Number. The problem is after clicking the COMPUTE button, an "Error!" message display. So far I can save the grades in database but I can't compute it. I'm sorry I'm new to …

Member Avatar for urtrivedi
0
496
Member Avatar for lyrico

Hello Guys, Can anyone help me regarding this search engine I want to implement on my script? Let's say i have 5 files (file11.txt, file12.txt, file13.txt, file14.txt and file15.txt) on my folder named FILES. Now i want to write script that when i search for a particular words, it will …

Member Avatar for pritaeas
0
83
Member Avatar for jacob21

I want a Jquery Popup Form which will appear on Page Load but only one time (for newsletter purpose). After filling form.. I want to store values into a table.

Member Avatar for pritaeas
0
97
Member Avatar for piotrekw

Hi How to write code mod-rewrite for 3 variables. Ma actualy code: [CODE]AddType text/x-component .htc AddType application/x-httpd-php .html Options FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]+)/([^/]+)$ index.php?s=$1&pods2=$2&pods3=$3 [L][/CODE] variables $1 and $2 correctly work, but $3 does not work, what can I do?

Member Avatar for aquilax
0
106
Member Avatar for backblack

hello, i need some help with my source code. can anyone explain how to create a button to view next record from my database in php? sorry for my bad english <?php session_start(); if(isset($_SESSION['id'])) echo "Selamat Datang,".$_SESSION['id']."!"; else die('Tiada maklumat yang dicapai. Sila <a href="../index.php">login</a></h1> semula!'); $con = mysql_connect("localhost","root",""); if …

Member Avatar for diafol
0
2K
Member Avatar for OnIIcE

Hi guys, im trying to upload files to my script and have hit an anoying problem. if the file is bigger than what I allow in in my php.ini config, the $_POST and $_FILE comes through empty - and I cant check that there's been a post to then check …

Member Avatar for veedeoo
0
106
Member Avatar for Blacklister

i want to display data from mysql database in table form on the web page . Ex. - If there are 100 entries in the database then only 10 entries can be displayed i should be able to use 'next' and ' previous' buttons to display consecutive data tables containing …

Member Avatar for tulalit
0
550
Member Avatar for melbahtoast

Okay I'm sure you read the title and rolled your eyes, but I can't seem to figure this out - so I need some help. I'm a bit of a newbie when it comes to php. I've read a bunch of various forums threads (from here and else where), and …

Member Avatar for veedeoo
0
277
Member Avatar for tstory28

I am trying to figure out why the PHP will not check the database level and echo the proper message. Hopefully someone can help me figure this out. [CODE]<?php $connect = mysql_connect("localhost","goforgol_master","!rach22*") or die("Couldn't connect!"); mysql_select_db("goforgol_phplogin") or die("Couldn't find database"); session_start(); $email = $_POST['email']; $password = $_POST['password']; if ($email&&$password) { …

Member Avatar for joydeepd
0
247
Member Avatar for Jamesiv1

I've got a form that on submit two things occur: 1. all the data is passed to a shopping cart (a php script) 2. it emails me all the data (using a [B]separate[/B] php form-to-email script) In the form-to-email script, I want to delete/strip/remove some of the data that is …

Member Avatar for diafol
0
101
Member Avatar for arthurav

I have one variable already set (received through GET, too). I want to pass it, together with the variables of the form. The problem is that the new page takes only the variable from the from. This is the code: [CODE]$insertion_type=$_GET['insertion_type']; echo "<form action='index.php?insertion_type=".$insertion_type."&' method='get'>"; echo "Number of registrations<br /><input …

Member Avatar for Dexx
0
154
Member Avatar for Ctechnology24

Guys can anybody help me, I'm trying to fetch records from my database and use those records as links, my codes work but the first two records are not converted into a hyperlink, why it happened? what is wrong in my codes? [CODE] <?php $username = $_SESSION['username']; $query = "SELECT …

Member Avatar for diafol
0
133
Member Avatar for aianne

Hi everyone! I am sorry I'm new to PHP and MySQL. So, I am creating a form for user to update their details and compute student's grade but the updating part doesn't work. Here is code: [B]COMPUTE.PHP[/B] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Compute Grade</title> </head> <body> …

Member Avatar for aianne
0
316
Member Avatar for adityamadhira

$date =date("m-d-Y"); $selected =$_REQUEST['sel_day'];// Selected date $today = strtotime($date); $expiration_date = strtotime($selected); if ($expiration_date > $today) { echo $valid = "yes"; } else { echo $valid = "no"; } not working? please help

Member Avatar for almostbob
0
131
Member Avatar for JerieLsky

I encounter an error message when I click on my submit button. The error is: [QUOTE]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:\wamp\www\Duplicate of Edited Site\question.php on line 17[/QUOTE] Line 17 contains the …

Member Avatar for rafaelcarioca7
0
278
Member Avatar for lastgame2007

Hi i'am try to insert multiple data on a single submit, but i'm a total noob to Arrays, can any one help me out here... one of the members send me this out, but still i can figure it out how to insert the fields onto my database. it inserts …

Member Avatar for lastgame2007
0
130
Member Avatar for momonq1990

error msg: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mon'@'localhost' (using password: YES) in C:\xampp\htdocs\project\include\connection.php on line 7 Could not Connect ///my connection.php code <?php define("contype","localhost"); define("user","mon"); define("passwd","affinity"); define("db","project"); $con=mysql_connect(contype,user,passwd) or die('Could not Connect'); $dbcon=mysql_select_db(db); ?> //here's my scenario. i add new USER to my mysql in phpmyadmin and its …

Member Avatar for momonq1990
0
175
Member Avatar for ychan623

Hi all, I'm working on a webpage with 2 dropdown menu and a submit button. both the dropdown menu has a default value="" selected. I am trying to figure out a way to filter mysql query. Here is the drop down menu <form action="showJobs.php" method="post"> <select name="Locations"> <option value="" selected="selected">All …

Member Avatar for LethargicCoder
0
1K
Member Avatar for alexgv14

I am trying to create a form that exports my mysql database , and can also reimport the mysql database using like a form. I am trying to do this in PHP any ideas on how it can be done or if it''s already been done? I know there is …

Member Avatar for vincentwansink
0
177
Member Avatar for aianne

So I'm trying to create a PHP and MySQL program where users can add, update, delete, view and search records. But the problem is I can't update records whenever I click update button. Here's my code --> [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Update Record</title> </head> …

Member Avatar for rajeevphp2011
0
317
Member Avatar for OldDeveloper01

Im creating a community website and have a little problem working out what my if statment should look like. there is a default profile image and the one that is stored in the users directory. so basically i want to display the image which is in the users directory, but …

Member Avatar for rajeevphp2011
0
140
Member Avatar for PF2G

Hi, i have this code which is a table with login form, history of website and the news. ths news are here: [CODE] <td> <h2>DESTAQUES</h2> <table> <tr> <td> <?PHP include "db_connect.php"; $sql_destaque = "SELECT data_destaque, descricao_destaque FROM destaques ORDER BY cod_destaque DESC LIMIT 4"; $executa=mysql_query($sql_destaque,$connect); $dados = array(); while ($linha …

Member Avatar for broj1
0
103

The End.