39,402 Topics
![]() | |
I'm having an issue mail()ing XML in the ADF format to my CRM tool. In a nutshell, ADF stands for Auto-Lead Data Format ([url]http://www.autojini.com/ADF1_0.pdf[/url]) and is XML based and used by many auto dealer CRMs. The XML will work when sent as an email from Gmail over to the CRM … | |
First of all, I'm a newbie to this forum, so sorry if i'm posting the thread to incorrect place. I ve been trying to search for the usage of function **wpsc_category_image()** (WP e-commerce wordpress plug-in), there were some results but unfortunately I still cannot achieve what I expected. I want … ![]() | |
Hi.goog morning, guys.Anybody here know any others dynamic pie chart library(don't want the google api chart) that is open source and free, can give me any recommendation?Thanks. Regards, Stanley | |
<?php $con=mysqli_connect("localhost","root","","trial"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } if(isset($_POST['submit'])) { $day = $_POST['day']; { $result = mysqli_query($con,"SELECT * FROM cust WHERE DATE(day)= '$day'");} while($row=mysqli_fetch_array($result)) { echo " <br><br><h2> EDIT Record of " . $row['name'] . " for the day " .$row['day'] . "</h2>"; … | |
Hi, Can anyone tell me that how can I check through openssl that the given certificate has a valid trust anchor or not. Thanks in advance. | |
Ok so what I want to do is only execute the folowing code when the user enters a postcode to be within Greenwich according to the Latitude and Longitude of Greenwich how do I do this? As each time the postcode changes both the latitude and longitude changes? $val = … ![]() | |
I can't use PHP. Every time I put it on my website, it either doesn't pop up or shows the code itself. How do I fix this? (Just started using PHP, I'm not good.) | |
Hi all, I'm working with a PHP mail form and so far all is working well. It is returning everything from the form except the checkbox results. For them, it just says 'array'. I've searched high and low for a fix but I can't seem to get it working using … | |
hello dears friends i get a error on my page but i don't know what i do wrong the error code is "Notice: Undefined index: MM_Username in c:\folder\page.php on line <form name="form1" method="POST" action="<?php echo $editFormAction; ?>"> <label for="textfield"></label> <input name="article" type="text" id="article" value="<?php echo $row_N9389['article']; ?>" readonly><br> <label for="price"></label> … | |
I have a login page that uses email and password and also an admin checkbox. i have already created the coding for email and password login but not the coding if checkbox is checked it will direct admin.php coz well im not sure how. normal users will be directed to … | |
Hi frens, I have already asked this question in another thread, but then felt this issue was irrelevent to that thread. I have a requirement to generate a invoice in pdf format and download it. i have a dynamic form, where user can enter date, choose option from dropdown, add/remove … | |
Hello, I try to make a pdf in my web app. But when I built pdf, it always display "Failed to Load PDF Document". I will send my code with all library to you when u comment on this forum. cause I cant explain it well. :( Thanks before. | |
I have created a login page using CodeIgniter 1.7. its code is shown below: <?php class login extends Controller { function login() { parent::Controller(); } function index() { $this->load->view('loginview'); } function verify() { if ($this->input->post('username')){ $uname = $this->input->post('username'); $upass = $this->input->post('password'); $result=$this->dblogin->verifyUser($uname,$upass); if($result){ redirect('dashboards','refresh'); }} } } /* End of … | |
Array ( [results] => Array ( [0] => stdClass Object ( [status] => No [student_id] => LR0s646RYl [examiner_id] => mA0b2mv51s [audio] => stdClass Object ( [__type] => File [name] => a038ddfc-67e8-4cb9-ba6b-87613f355ceb-test_26-11-2013-10-32-pm.mp3 [url] => http://files.parse.com/96571424-15c1-4ad5-8c56-404c6b4b930a/a038ddfc-67e8-4cb9-ba6b-87613f355ceb-test_26-11-2013-10-32-pm.mp3 ) [createdAt] => 2013-11-26T17:38:46.097Z [updatedAt] => 2013-11-26T17:38:46.097Z [objectId] => NfiG4j80ON ) [1] => stdClass Object ( … | |
Dear Sir, I have following codes if(isset($_POST['delete'])) { // Get values from form $sno = $_POST['txtsno']; $pro = $_POST['txtpro']; $wet = $_POST['txtwet']; $query = "delete from test WHERE sno={$sno}" ; $result = mysqli_query($con, $query); if(!$result){ echo "<script>alert('Record not deleted')</script>"; }else{ echo ("<script>alert('Record deleted successfully')</script>"); } } It works fine, but … | |
hi guys, What will happen if the PHP developer leaves the company and what might be the consequence if his/her program will be used by another developer of the company. Some concerns that the 2nd programmer will have the chance to steal the program. niu any comments are much appreciated. | |
I am new to php and been following various youtube tutorials and boought a few books, I am now however clueless with my latest error and really need some help. This is my error Parse error: syntax error, unexpected T_STRING unexpected '?' in /web/com/138601040918006/main.php on line 17 Please have a … ![]() | |
HI I'm working with a php script and connecting via PDO to a database My php file retrieves all data from datebase when I selected one radio button for example 2GB usb driver. This is my html code <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>form php pdo</title> </head> <body> … | |
Rewrite the following piece of code using only if() and while() statements: case'a': p = one(q); break; case'b': p = p %2; case'c': do { r += p*q; p *=2; } while (p < 20); break; case 'd': case 'e': for(i=0;i<4;i++) { p += q+r; q = q/2; r = … ![]() | |
Tryin to get this project to open on the server but before i can even see the php file inside i am getting errors. Solved a few but cannot see the error here hopefully ye can help. Error 1 = SCREAM: Error suppression ignored for Error 2 : Parse error: … | |
navigation.php <div id="navigation"> <div id="logo"><img src="images/logo2.png" width="160" height="60"></div> <?php include('include/con_database.php'); $result2 = mysql_query("SELECT menu_name FROM menu_order WHERE menu_id='1'"); while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.$data2['menu_name'].'</td>'.'<br>'; } ?> <div id='cssmenu'> <ul> <li class='active'><a href='index.php'>|    Home    |</a></li> <li class='has-sub'><a href='index.php'>    Product & Services    |</a> <ul> <li class='onelayer'><a href='connection.php'>    Connection       <img src="images/arrow.png"></a> <ul> <li class='onelayer'><a href='vsat.php'>    VSAT</a></li> <li class='onelayer'><a … | |
Hi - I am having an issue and can't seem to get my head around it. I am trying to calculate GBP from EUR - which should be easy but for some reason my returned value is always a few GBP more than it should be, yet I do the … | |
hi i am mangesh i have a problem i.e. i have a menu form in that menu items nad it name and values it come from my datavase i mean i featch that menu from my db now i waana uhen i select checkbox then i waana the sum of … | |
Hi everyone, Again, i am here for the second time. My current problem is kinda complecated for me. I am developing a project using Codeigniter framework for php. I am using SSE to display notification from a table in the database without user refreshing the page. From a view (view1), … | |
Fatal error: Call to undefined function dean-ueki@hotmail.com() in F:\xampp\htdocs\contact.php on line 87 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Abel|Satisfy' rel='stylesheet' type='text/css'> <link href="style.css" … | |
Hi I am a beginner programmer and I am really interested about learning new skills. So I need your help. I have a question regarding designing. I want to design a website where the user will be first shown couple of example page designs/template and then the user chooses one … ![]() | |
Please if u can send me the code or any example of the code of this game because i have on project on my univesity on app inventor . the game is like that this link http://www.mathplayground.com/numberballs.html but my project really contain :With the start of the game, from the … ![]() | |
Hey programmers, I am working for my website http://www.printusher.com and when i wish to make it open fast for seo reasons. the website speed is slow. How can i speedify my website to open it seen. Please give me some suggestions who know about this problem | |
so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the user clicks on the save button what it does first is, it checks if a record of that user already … ![]() | |
I have a web page with highcharts jQuery library and I used CSV file as a keep my data. Now I waht get data from my server mysql data base. Any one can me explain how highchrts link with mysql data base | |
Hi, all I've been banging my head on this one for about a day, now, so I figure it might be time to consult experts. I've got a form, here, that has 3 fields (First, Last Name, and E-Mail address). It's supposed to auto-generate a username and password, insert into … | |
i am using hpage to create my site and i want to creat a form of my own to send feedback to email | |
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in F:\xampp\htdocs\s.php on line 95 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR...l1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googlea...=Oswald:400,300' rel='stylesheet' type='text/css'> <link href='http://fonts.googlea...css?family=Abel|Satisfy' rel='stylesheet' … ![]() | |
Hi all. I'm having a mad issue... totally mad. I mean I've never had this before. I have the following HTML form: <form action="" method="POST" name="createForumCategory"> <label>Create a new category:</label> <input type="text" name="category" class="m-wrap placeholder-no-fix" /> <input type="hidden" name="id" id="id" value="<?php echo $forumOrange['id']; ?>" /> <button class="btn green" type="submit">Add Category</button> … | |
I just got a new laptop that is running os x maverick. I opened the /etc/apache2/httpd.conf file and uncommented the # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf and LoadModule php5_module libexec/apache2/libphp5.so lines, but I still can't run php files. Does anyone have any idea how I can run php files locally again? | |
I am attempting to use preg_replace to purge everything except letters and numbers in the $_POST, however is seems to be failing to work. Sample code below demonstrating the problem. <html> <?php if( isset($_POST["name"]) || isset($_POST["age"]) ) { $x1 = preg_replace('[^A-Za-z0-9]', "", $_POST['name'] ); $x2 = preg_replace('[^A-Za-z0-9]', "", $_POST['age'] ); … | |
i want to know how to develop and run my own smtp server ![]() | |
I want to put 1 variable in my send.php page and get its value by if statement on 2nd (page-contact-us.php)page, because I have my form in 2nd page with <form action="<?php bloginfo('template_directory');?>/send.php" method="post" id="contactform"> and in my first page (send.php) i have if statement like, if($security=="10") { mail($to,$subject,$message); $var='1'; } … ![]() | |
"The page isn't redirecting properly" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR...l1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googlea...=Oswald:400,300' rel='stylesheet' type='text/css'> <link href='http://fonts.googlea...css?family=Abel|Satisfy' rel='stylesheet' type='text/css'> <link href="style.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <div … | |
![]() | I have a webiste and would like to send an email to someone, and myself, when they request their lost password. For some reason, I can't get the mail() function to work, no matter what I do. I unsuccessfully tried to model it after the listserv I created and am … ![]() |
Hi, I have a already designed web page with tables and stuff, but there are challenges for me to insert or include php and inserting the data that is from mysql to the tables in the webpage. I do not know how to do it to maintain the integrity of … | |
Hello, so the code i have gets the files in the directory and lists them in a dropdown. what im trying to do is rename the selected dropdown file with the input of the text field. error i get is: Warning: rename(test.php,) [function.rename]: No such file or directory in..... For … | |
What is the easiest way to retrieve templates from database in Smarty? I've tried http://www.smarty.net/docs/en/resources.custom.tpl to make this work, but unsuccessfull. I can't figure out how to implement it right. No errors really, it just don't work. Any suggestion or ideas? | |
Hi, this script is suppose to back up most if not all directories, all files within each directory then compressed those files and directories in a zip file and save it to a directory. A typical web server can be in the hundreds of megs, the script works except it … | |
In my wordpress theme my logo is built into my background, how can I make part of the background (where my logo is) a link? Any help would be greatly appreciated Tom | |
Hello, I am trying to get HTML source of my vendor website's URL using cURL but I am not getting correct result, the output is coming only Header Template and Footer Template. I have given code below which I m using. Please help me out to get correct result. Thanks … | |
I've started using Bitbucket recently for version control and I have to say I like it a lot. I've only been using it for HTML/CSS development. I would really like to use it for when I convert those page from html to a Wordpress template. Is there any way to … | |
 look at this image. when i send this page via email it shows the php code. it does not fetch the details from mysql and then i'm fetching the mysql records based on the particular voucher id. how to send mysql fetch records page via email? | |
The output of this code is a 0 byte file: if ($_GET['download']== 'true'){ $downloadarray = array(); while($row = mysql_fetch_array($res)){ $url= $row['loc']; $path = 'tmp/'; $path .= rand(100,999); $path .= $row['name']; $fp = fopen($path, 'w'); $ch = curl_init($url); curl_setopt($ch, CURLOPT_FILE, $fp); $data = curl_exec($ch); curl_close($ch); fclose($fp); echo print_r($data); $downloadarray[] = array($path, … | |
I am just trying a simple code which executes on a form submission ( self). It runs perfect in local. But shows "Error: No database selected" in the remote server. Can anyone say why ? Thank you [CODE]<?PHP $con = mysql_connect("localhost","aby","pass123"); if (!$con) { die('Could not connect: ' . mysql_error()); … ![]() |
The End.