39,323 Topics

Member Avatar for
Member Avatar for gopi17

Heyy, guys...i have developed a php/mysql program...now i would like to run it from a handheld...should convert or do anything...1st time doing this...thank u in advance

Member Avatar for gopi17
0
129
Member Avatar for priyadharsinism

Im doing a project based on students information. Im looking for the code to add the student details to alumini form when their period of course is completed(based on their date of completion). The below code is registeration of student information. [CODE]<?php $link = mysql_connect('localhost','root',''); if(!$link) { die('Failed to connect …

Member Avatar for priyadharsinism
0
180
Member Avatar for fpaquin

I am writing a site that sends the following: [url]https://accounts.google.com/ServiceLogin?service=cl&passive=1209600&continue=http://www.google.com/calendar/event?action%3DTEMPLATE%26text%3DEventTitle%26dates%3D20120107T152000Z/20120107T162000Z%26location%3D1%2BNicholas%2BStreet%26details%3Dhttp://dev.uocal.uottawa.ca/en/node/354&followup=http://www.google.com/calendar[/url] to Google to add to the Google calendar. How would I write the URL if I want to add a calendar event every Monday until a specific date to Google calendar. I looked in the Google API and I did …

Member Avatar for fpaquin
0
310
Member Avatar for whojstall11

Im trying to write an else statement in php where: if keyword is equal to letter or word it will give me an error message. right now my statement looks like this. [code] mysqli_stmt_close ($query); } else //problem with a query echo "Error: " . mysqli_error($conn); } else { //no …

Member Avatar for whojstall11
0
126
Member Avatar for FaisalSarfraz

Hi every one I am trying to upload a file on server but it is not uploading and always giving an error HEre is code. Please help. Its urgent [CODE] <?php session_start(); if(!session_is_registered(username)){ header("location:login.php"); } if($_REQUEST['title'] != '' && $_REQUEST['type']!='' && $_REQUEST['category'] != '' && $_REQUEST['sub']!=''&&$_REQUEST['elm3'] != '') { require("db.php"); …

Member Avatar for veedeoo
0
327
Member Avatar for gilgil2

Hi, I am having some trouble echoing into a drop down menu. Instead of the bandnames that I would like to appear, $band is appearing. Here is my code: [CODE] <form action="insert.php" method="post"> Band Name <select name="band"> <? $link = mysql_connect(); if (!$link) { die('Could not connect: ' . mysql_error()); …

Member Avatar for gilgil2
0
128
Member Avatar for sIpIt_nya

I have a proble in getting parent url address in iframe from my project. so, i have let's say ads.php located in [url]www.domain1.com/ads.php[/url] it's look like this [CODE] <?php //iklan.php if($_GET['klik'] == 'yes') { //klik process exit; } $some_content = ' document.write('<iframe src="www.domain1.com/ads.php"> <a href="www.domain1.com/ads.php&klik=yes">klik_link</a> </iframe>'); '; echo $some_content; ?> …

Member Avatar for 123.sarang
0
3K
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
380
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
107
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
551
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
102
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
135
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
319
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

The End.