39,323 Topics

Member Avatar for
Member Avatar for vijayram

Hi everyboby. plz help me. I created calendar using php and javascript.but the javasript function did not work.plz tell me what is the error. [CODE]<?php use_javascript('schedule') ?> <?php use_javascript("editProfile") ?> <?php use_javascript('unfinishedbussiness')?> <?php use_javascript('scheduleload')?> <script type="text/javascript" language="javascript"> function isAjax() { return isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER ['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'; } if(isAjax() && …

Member Avatar for pritaeas
0
224
Member Avatar for lastgame2007

i want to generate a student id, this is my code it is saving but, no output in dB. [CODE] $yr=date('Y'); $id=mysql_insert_id();--auto_increment $b="MATH"."$yr"."$id"; $a=$_POST['b']; MATH201201 -- i want my output to be this, [/CODE]

Member Avatar for diafol
0
242
Member Avatar for rahul8590

I want to make a user profile , where in the people can login and fill in profile details . Well basically i am wanting to make a connection between the alumni of my college with the existing students. So , i initially thought of making the alumni registered and …

Member Avatar for diafol
0
7K
Member Avatar for fika

how can i show current local date and time using php?? do i need to use new page or just add in the same page? and how can i insert time and date that show in the page into my database? i have search for a while for this, but …

Member Avatar for diafol
0
195
Member Avatar for simplypixie

I am not sure if this is a server issue as seemed to be working on my testing server but now live on the clients server this issue is arising. The email is generated from a form which includes a file upload in either word or pdf which is saved …

Member Avatar for simplypixie
0
4K
Member Avatar for shielaolid

[CODE]<?php // connect to the database include('connect-db.php'); // check if the form has been submitted. If it has, start to process the form and save it to the database if (isset($_POST['submit'])) { // get form data, making sure it is valid $employeeno = mysql_real_escape_string(htmlspecialchars($_POST['txtempno'])); $employeename = mysql_real_escape_string(htmlspecialchars($_POST['txtempname'])); $position = mysql_real_escape_string(htmlspecialchars($_POST['txtpos'])); …

Member Avatar for kk.fasil
0
425
Member Avatar for vaultdweller123

Hi guys i need your help, i need to know how run PHP on nginx, i already installed it but it only reads html files not PHP, it will prompt download the php file. Im super new to this and the tutorial on the net's are complicated. btw im using …

Member Avatar for vaultdweller123
0
76
Member Avatar for jpknoob

Evening, I am trying to grab information from a PHP script using JQuery when the user enters a value into a text input field. The text input box has an auto suggest function so that when the user begins tying they can see what matches from the database. If the …

Member Avatar for ko ko
0
268
Member Avatar for JeffCraw

I am building a basic PHP real estate website and am trying to link to County Tax Information and County Property information. The county uses the TMK #: [B]2540020130023[/B] (Tax Map Key) id number to give out this information. In my Database the TMK is called “propertyref”. When I “View …

Member Avatar for diafol
0
174
Member Avatar for issaru07

i am trying to do credit card validation. the card details are entered n creditcard.php and process in creditcard-process.php and this is the error for creditcard-process.php.. can i check whats wrong with creditcard-process.php ? Notice: Use of undefined constant ccnum - assumed 'ccnum' in D:\xampp\htdocs\book\creditcard-process.php on line 109 Notice: Undefined …

Member Avatar for issaru07
0
378
Member Avatar for gavin_am

Hi everyone forgive me I am a little new to php but I can get by.... I am trying to implement a pagination script into my sub cat page in a shop however I ahve most of it done but cannot seem to get the pageination to show can someone …

Member Avatar for gavin_am
0
117
Member Avatar for shaynadz

Hi! I'm new here! I have a quick question about an error I found in my script. I'll jump straight into the code and then make my question: [CODE]$description = $_POST['desc'];[/CODE] this is a text description for example "Monthly Tuition". [CODE]$amount = $_POST['amount'];[/CODE] price of tuition [CODE]$dlnumber = $_POST['cedula'];[/CODE] drivers …

Member Avatar for diafol
0
180
Member Avatar for accra

I have time [CODE]timestamp[/CODE] in my db,when i insert/update records it do not change. for Attributes i have [CODE]ON UPDATE CURRENT_TIMESTAMP[/CODE] and for Default its [CODE]CURRENT_TIMESTAMP[/CODE]. any help pls.

Member Avatar for accra
0
134
Member Avatar for accra

[ICODE] Why would an update script do an insert, and not update?[/ICODE] [CODE] $navtype = $_GET['nav']; if($navtype == "zjxpmovdtzjd") { $mileage_out = $_POST['mileage_out']; $mileage_in = $_POST['mileage_in']; $famount = $_POST['famount']; $vreg = $_POST['vreg']; $driver = $_POST['driver']; $vtype = $_POST['vtype']; $desti = $_POST['desti']; $date_out = $_POST['dy']."-".$_POST['dm']."-".$_POST['dd']; $date_in = $_POST['ay']."-".$_POST['am']."-".$_POST['ad']; $cur_date = date("d-m-y …

Member Avatar for accra
0
143
Member Avatar for yanwick

I have this file x.php but it doesnt work. Php only works if it is in a pure php file (with no html code).Im using xampp 1.7.7. Any ideas what might be the problem ? [CODE]<html> <body> <?php echo ("HELLO"); ?> </body> </html>[/CODE]

Member Avatar for yanwick
0
231
Member Avatar for klemme

Hi all, I want to integrate SSL on my localhost, so that I can tjeck/use it while developing. Is it allready in my version of php and apache, and only need to be activated? It didnt show up as a heading when i tjecked the phpinfo(); Do I need to …

Member Avatar for diafol
0
173
Member Avatar for sean888

Hello Folks, We have a site in PHP, Zend Framework......that uses FFMPEG to compress and upload videos on the same. This site has Photos and Videos that can be uploaded by it's users. Issue we are facing is that it's hosted on hostway.com's cloud Server, and they, or anyone for …

Member Avatar for mschroeder
0
128
Member Avatar for nil_gh_80

I want to run video files in browser ............... which format will be suitible for it.. and how to do this using HTML & PHP... Need help.......

Member Avatar for amit.singh9
0
1K
Member Avatar for cskinittest

I want to create online self evaluation system like Question No:1/2 Linux is a 1.Operating system 2.Middle ware system 3.Server system 4.Super computer Next Previous Summary I configured mysql to php is completed. the question and options are displayed.. I press next button, in question panel second question will display …

Member Avatar for diafol
0
64
Member Avatar for bhallarahul
Member Avatar for bhallarahul
0
102
Member Avatar for adityamadhira

My code of drop down box is [CODE]<select name="dname"> <?php $data = @mysql_query("select * from Department"); while ($row = mysql_fetch_assoc($data)) { $ID = $row['dept_ID']; $dname = $row['department_name']; echo "<option value=$ID name=not>$dname \n"; } ?> </select>[/CODE] I retrieving department name into dropdown box.. ID - is department ID.....when user click submit …

Member Avatar for cigoL..:)
0
301
Member Avatar for rubai

I want to learn PHP CSS. If you have any good reference or books(free) plz inform me.

Member Avatar for cigoL..:)
0
300
Member Avatar for INF-P

What code do i add in order to let logged in users to download pdf files or any attachments i would like them to download? <?php if (isset($_POST['login'])) { $query = "SELECT * FROM users WHERE uuser='".$_POST['user']."' AND upass='".$_POST['pass']."'"; $result = mysql_query($query) or die(mysql_error()."<br><b>error</b>: failed to execute query <i>$query</i>"); if …

Member Avatar for INF-P
0
205
Member Avatar for melbahtoast

So I've done quite a few forms before but I'm running into trouble with this one. I'm not exactly sure what I need to do, but let me explain. I have: Form A Form B Form A collects basic data from a customer. Form B give you the option to …

Member Avatar for melbahtoast
0
236
Member Avatar for theonlylos

For the past few days I have been trying to get a Drupal 7.12 install to function on my CentOS 6 x64 VPS which is using the latest version of Webmin however no matter where I upload the files, I keep getting a server 500 error when trying to launch …

Member Avatar for ko ko
0
211
Member Avatar for eman neercs

This simple query is proving to be a problem for me as I'm missing something obvious. Its a query to show Sales by Market ($var2) by Month ($var1). Any pointers as to what I'm doing wrong. [CODE]<html> <head><title>Monthly Sales Rank </title> <LINK REL=StyleSheet HREF="style.css" TYPE="text/css" MEDIA=screen> <script src="sorttable.js"></script> </head> <body> …

Member Avatar for ko ko
0
130
Member Avatar for nova37

[ICODE]$w3 = mysql_query( "SELECT * FROM w3" ) or die("SELECT Error: ".mysql_error()); $worth = mysql_query( "SELECT * FROM worth" ) or die("SELECT Error: ".mysql_error()); // fetching data while ($get_w3 = mysql_fetch_assoc($w3db) && $get_worth = mysql_fetch_assoc($worth)) { // Loading Urls for Comparing echo $w3url=$get_w3['domain']; // cant echo echo $worthurl=$get_worth['domain']; // ok …

Member Avatar for ko ko
0
105
Member Avatar for zrony

hello everybody how can bind all username exit in database with dropdownlist(means it fetch all the data from database and can apply on dropdownlist).so that i can used in searching time

Member Avatar for vaultdweller123
0
71
Member Avatar for MikeFL

I'm still kinda new to php and have been getting this error: PHP Parse error: syntax error, unexpected T_STRING in /var/www/index.php on line 33 It's all running on a LAMP server in a local VM. Been looking at it for the last 2 days and can't find what is wrong, …

Member Avatar for MikeFL
0
3K
Member Avatar for clc_services

Hi, I'm creating a web page which links to a mysql database. I have managed to get all of the data to appear in a table and i have also been able to get the combobox to be populated based on a table in the database. The part which I …

Member Avatar for clc_services
0
2K

The End.