39,316 Topics

Member Avatar for
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
377
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
235
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
210
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
Member Avatar for porkchop970

Hello, I would like to ask the way to change [url]http://abc.com.hk/article.php?product=1&side=2[/url] to [url]http://abc.com.hk/article/1/2[/url] I just write in .htaccess as below: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php It works only for this link: [url]http://abc.com.hk/article[/url], but not valid for [url]http://abc.com.hk/article/1/2[/url]

Member Avatar for vaultdweller123
0
201
Member Avatar for aodpreacher

Hi i am currently a Computer Science undergrad and i was just doing some thinking for a Master degree. I like software and web development and i am leaning towards more of a web development specific for my masters but what are the options i have for trying to get …

Member Avatar for bjelline
0
295
Member Avatar for Jdsiteworks

[CODE] <?php # Script 16.6 - register.php // This is the registration page for the site. require_once ('includes/config.inc.php'); $page_title = 'Register'; include ('includes/header.html'); if (isset($_POST['submitted'])) { // Handle the form. require_once (MYSQL); // Trim all the incoming data: $trimmed = array_map('trim', $_POST); // Assume invalid values: $fn = $ln = …

Member Avatar for vaultdweller123
0
304
Member Avatar for nova37

[CODE]$book = simplexml_load_string($data);[/CODE] i have parsed xml string ($data) with simplexml_load_string function i get below output by printing $book now i want to assign this data to php variables like $ip_address, $ip_type;$organization etc .. .. so how to assign [ICODE]SimpleXMLElement Object ( [ip_address] => 69.72.129.3 [ip_type] => Mapped [Network] => …

Member Avatar for jkon
0
114
Member Avatar for lowtekotc

Hi all, hope I can get some help. I am very very new to PHP so bare with me. I am doing a system that has information about cars. My drop downs are populated with MySQL data (working ok) I want to have one drop down for Make of car, …

Member Avatar for lowtekotc
0
238
Member Avatar for perfectweb

[CODE] RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php/$1 [/CODE] my url = localhost/mvc/ i work on windows in xampp i have a problem when i go to my url /404 i thinks i am on localhost/ so it redirects me to localhost/xampp/splash.php but it …

Member Avatar for blocblue
0
306
Member Avatar for issaru07

can i check is there anything wrong with my if else, if seems like it will only go banktransfer.php instead. [CODE] if ($_POST[Payment] = "Bank Transfer") { $btpage = "banktransfer.php"; echo '<script language="javascript" type="text/javascript">window.location.href="'.$btpage.'";</script>'; } else if ($_POST[Payment] = "Credit Card") { $ccpage = "creditcard.php"; echo '<script language="javascript" type="text/javascript">window.location.href="'.$ccpage.'";</script>'; } …

Member Avatar for almostbob
0
2K

The End.