39,402 Topics
![]() | |
hi All, we have to integrate litmus api in our email marketing product. we got the Litmus api php classes but can not get clear idea about how to integrate. we have to do spam test for our email campaigns. what the paramaters of email(either email source or .eml file) … | |
Hi friends how are you? I am a professional website designer, I recently have joined web development area. Its very interesting and amazing field. I am making a blog website and needing some php scripts, Please! can any body help me? Also like in website designing there are lots of … | |
Hello, Lets say I have a users Database. When the user registers, it assigns a random id to the user using the mt_rand(); function. What if there is a slight chance that there would be already the id of that user in the db. How can I prevent this from … | |
hello forum, i work with oscommerce and i have to upgrade from 2.2 to 2.3. since all my tables --products, categories etc. are in 2.2 i thought i would just install 2.3 and then import the 2.2 db and viola!! but it did not, and does not work like that. … | |
trigger i am wrting on mysql table i have a tool in which i am calcultaing marks 140 atomic questions and now i want add 4 questions marks and assign to one major questions. how should i approach it. begin ("$value.governance and accountability") = ("$value.existence of a governing board") + … | |
This is basically what i need. I need users to select a manufacturer to post on a classified ad. When the users make the selection I need that information processed and sent to the page I point it to permanently for other users to see. The same for any user … | |
I just started getting into php recently and I wanted to create a simple login with(out any SQL (haven't learned it yet :$). So Here is my code for login page: [code=php] <form action="index.php" method="post"> Username<input type="text" name="user" /> <br /> Password<input type="password" name="pass" /> <br /> <input type="submit" /> … | |
Hey, out of the following codes: product_edit.php [CODE] <h2><center>Product Preview</center></h2> <p></p> <?php $data = array(); if(!empty($_GET['id'])) { $result = mysql_query("SELECT * FROM produk AS p, kategori AS k WHERE id_produk='".mysql_real_escape_string($_GET['id'])."'AND p.id_kategori = k.id_kategori") or die(mysql_error()); $data = mysql_fetch_array($result); } else { $data['nama_produk'] = ''; $data['nama_kategori'] = ''; $data['harga'] = ''; … | |
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? ![]() | |
Good day, I am having problem with the wordpress add_action function. currently, I tried the code provided in wordpress.org forum without success: [CODE] $comment_ID="15"; function echo_comment_id( $comment_ID ) { echo "I just received $comment_ID"; } add_action( 'comment_id_not_found', 'echo_comment_id', 10, 1 ); [/CODE] When I run the code, $comment_ID does not … | |
[CODE]$ClassName=mysql_real_escape_string($_POST["ClassName"], $con); $query="SELECT ClassID FROM Class WHERE Name='".$ClassName."' "; $q=mysql_query($query,$con);[/CODE] its not working..any help...please............!!!!!!!!! | |
I have built a site completely off of tutorials. aonentertainment.com in the pursuit of learning and profit to pay for classes. I want to add (Next,1,2,3,Previous) so I do not have to manually create new pages. I searched DaniWeb.com and found >> [URL="http://www.daniweb.com/web-development/php/threads/1720"]Clean Previous Next Script for MySQL[/URL]. Link to … | |
Hello,I'm new here and I'm not here to beg for code or anything i just need some help as to something I'm doing. I'm fairly good with php and I have been trying to do something with no luck. I want to make 3 links and 3 hidden images. When … | |
Hi everyone, Can you please let me know why I am getting error on populating Persian(Arabic)Numbers?! I have saved the php file as "Uncode in UTF-8" format which can display the dropdown list in a HTML correctly but when I want to retrieve them in PHP I encountered with following … ![]() | |
Hi I have created a site, but I am stumped on how to make the back ground click-able where the Nike graphig is with out making the whole page click-able. [URL="http://aonentertainment.com"]Link to my site[/URL]. [URL="http://aonentertainment.com"]http://aonentertainment.com/[/URL] ![]() | |
Newb here. Parse error: syntax error, unexpected '{' in /home/litt6041/public_html/listing/wp-content/plugins/great-real-estate/templatefunctions.php on line 1502 Heres the code I have in that doccument. Sorry its so long. For some reason dreamweaver adds a bunch of spaces when viewing. Please help, Thanks! [CODE] <?php /* * public functions provided by the Great Real … | |
hi, i created the page that it contains captcha for submitting my form and insert it inside the data base but in the main page i putted my text fields later i created iframe which is displaying my captcha images with refresh button in the insert page i need to … | |
Hi, I am using PHPBB for my forum. My intention is if someone registers to my website, he/she will be login to forum as well, automatically. That means no need to register twice to use the forum. Is there a way forward to achieve this? Will greatly appreciate your suggestions. … | |
How do i write an export script in php from mysql data base Regards | |
Hi, I am php developer and I would like to embed a expert system in my site. I have made a form in my site and when I click Ok I would like to run a .clp file via Jess (Java Expert System Shell) But I don't know how ... … | |
I am currently developing an intranet Search Engine. I have succesfully searched out the files from a collection of small files. I could blend in database information too. The issues is that while searching for a collection of files my algorithm slows down or else it crashes in between. Any … |
The End.