39,323 Topics
| |
Hi, below code gives me error in line 8. 1. i had paymentform.php where i entered data. 2. below is paymentinsert.php where i am getting error in line 8. Fatal error: Function name must be a string in /home/content/59/8390659/html/COUPONDISCOUNTS/php/MySQL/paymentinsert.php on line 8 [CODE]<? $username="aaa"; $password="bbb"; $database="aaa"; $amount=$_POST['amount']; $description=$_POST['description']; $sender=$_POST['sender']; $mysql_connect("host",$aaa,$bbb); … | |
I have been searching for an answer to this for the last two days. I am trying to add a list of manufacturers to an existing form in php. This worked out ok and I got it to work somewhat. Here is the problem when the user makes the selection … | |
Hi, So, let's say i have a string "--_some_String_123". What is the correct regular expression pattern to remove those "-" and "_" from the beginning of the string? They only need to be removed from the beginning, so after removal the string looks like this - "some_String_123". There can be … | |
I have one html page with a form for searching. The form action posts to a new php page. I get results but when i click next(next page) i get the undefined variable error. i know undefined variable error means i'm using a variable that has not be defined but … | |
Am designing the page where by the user is directed after loging in. am using php code to generate the profile of the user who is in session/logged in user. below is the code that i has come up with but its not working. the problem seems to be in … | |
i am runing this script it is fine for one contect but when i try this on 4 recepients it is not working just showing this error.. Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\8011955\html\admin\newsletter.php on line 60 please help me to improve this code.. Thanks i … | |
I want know the reason why this code is not running ? My Wampserver IP address is 127.0.0.1:8080 or localhost:8080 ! The username is the default "root", but I changed my password to "abcd" ! [CODE] <?php /** * @author * @copyright 2011 */ $con = mysql_connect('127.0.0.1:8080','root','abcd'); if (!$con) { … | |
[CODE]<?php require_once 'library/config.php'; require_once 'library/functions.php'; if(isset($_SESSION['sql_view'])) { $sql_view=$_SESSION['sql_view']; $result = dbQuery($sql_view); extract(dbFetchAssoc($result)); }else { //header('Location: index.php'); } $FileName ="view.doc"; header('Content-Type: application/word; name="word"'); header('Content-Disposition: attachment; filename="' . $FileName . '"'); header('Content-Type: application/word;'); ?> <!--<form id="frmSample" name="frmSample" method="post" action="" enctype="multipart/form-data" onsubmit="return ValidateForm()" >--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="11%"></td> <td … | |
Hi! I have tryed do it from examples, but without succes. So my problem is - i have form where can change settings, but i have problem i need scripy wich will not insert into database new numbers or laters, but update(change) them. I have found some examples but i … | |
Hello Dear Brothers & Sisters how are you....? Well, i am facing a problem while handling a script and database. actually i am trying to shift some data (user id form database) form one page to another. through $_GET (if you have any other technique also suggest.) and after transfring … | |
Im trying to create a php webpages to update information in an access database using a odbc connection the page1 sends the variable to page3 and displays the result page two allows you to pick which row to update then goes to the update page where i want text boxes … | |
Hi I used the script from this old thread: [url]http://www.daniweb.com/web-development/php/threads/60795/page3[/url] on a vps I have running drupal on a lamp stack. I'm fetching the email address to send to from my database and then loops through all fetched addresses and sends the mail. It works brilliantly, but my problem is … | |
Hi friends, i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation. so far i've been able to list the folders in the directory … | |
i want the code of passing form elements with post in php with ajax.. i am trying a number of codes,but all in vain:( can anyone send me please, full code | |
[CODE]<?php $author_id = $_GET['author']; $subject = $_GET['subject']; $pubtype = $_GET['type']; $year = $_GET['year']; $college = $_GET['college']; $department = $_GET['department']; $keyword = $_GET['keyword']; $keyword = mysql_real_escape_string($keyword); $subject = mysql_real_escape_string($subject); $year = mysql_real_escape_string($year); //If any of the fields were left blank, we will assign % to the variable to use as wildcards … | |
Hello EveryBody, Today i planned why not myself to do project in php... The idea behind in this is ... to avoid people just like that answering questions in objective type.. like if a person who ans a question who suppose to ans further Q..Who discovered php? a.ramus b.denis c.srini … | |
I have the following PHP code [CODE]<?php // SimpleHTMLDom Library require_once('simple_html_dom.php'); // Source Data $source = 'table-array-data.htm'; // Displays Extra Debug Info $dbg = 1; // Read DOM $html = file_get_html('http://www.ercot.com/content/cdr/html/real_time_system_conditions'); // get the table. Maybe there's just one, in which case just 'table' will do //$table = $html->find('#theTable'); // … | |
Hi! I have question, is it possible from web page change information in php file? If it is then how? I tryed search google, but nothing. For exemple : I open settings page in my browser and there i have section Background color : <and here have input tag> and … | |
With the code below I have the plant information printing out first and then all of the availability printing out last. Is there any way I can get both printing together, but not have duplicate pictures and information for the numerous sizes that sometimes list per plant. Ex. Buxus Green … | |
Hello Everybody ! i have a few questions for u I have already made an appointment booking website on PHP using PHP Designer as editor and on WAMP platform, i run it on localhost. The website consults Database and puts forward the times available and lets users fix appointments and … | |
I have an intranet using php 5.3.8 on Server 2003 using IIS 6.0 and SQL 2005. I run a command to call a batch file that starts and stops sql server and then calls a stored procedure to delete records from a table Items and then refreshes the records from … | |
Hello world ! First of all, i'd like to say that this is my first page in PHP, so i may have made the most basic of mistakes :) I wrote most of this from a tutorial i found somewhere on the web. I get the following errors : Notice: … | |
I currently have fields on my form which are set up as integers in phpmyadmin. I want to be able to display error messages if any field has been left blank when save is clicked, but at the moment i keep getting column '......' cannot be null. or maybe an … | |
| Hello people, I have downloaded a datepicker in order to use it in my script so as to allow people to pick their date of birth. The date picker in question is this one : core.ui.datepicker/ui.datepicker.js It works, but the problem is that it shows only the years that start … |
hello guys.i have an issue.i want to show certain tabs based on user level. my user levels are: master admin supervisor gp patient But it an admin might be a gp also.how am i supposed to do that? | |
Dear all friends, Currently I want developing an API so that others web site also can use the API's information by using the API code generate by my web site.Any people can give the idea on how exactly the API works?My basic requirement are: 1.my website generate the public API … | |
Here is the code It's an Open type free use code for convert css to inline style codes by capturing from your own html code or a url and it outputs an html code when finished. Because i need to send webpages in an e-mail. I am brand new to … | |
having much problem in email. i tried everything..but dont know whats hapening im getting simple plain text email while im sending the html input [CODE] { $from_name= ADMIN_NAME; $from_email=ADMIN_EMAIL; $subject="Simple html email"; $message = '<h1>Hello, World!</h1> </br>'.$_POST['msg']; $headers = "From: $from_name <$from_email>\r\n"; $headers .= "Reply-To: $from_name <$from_email>\r\n"; $headers .= "Return-Path: … | |
I want to make a simple anti proxy (anti internet filter) how do I should start it? is there any OpenSource anti proxy? is there any articles about making anti filters? |
The End.