39,402 Topics

Member Avatar for
Member Avatar for dealerit

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 …

Member Avatar for cbenedict
0
1K
Member Avatar for Tu Dinh

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 …

Member Avatar for diafol
0
169
Member Avatar for stanley87

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

Member Avatar for Lilantha
0
425
Member Avatar for Raadha

<?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>"; …

Member Avatar for decade
0
132
Member Avatar for saadi06

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.

Member Avatar for authcate
0
188
Member Avatar for TIM_M_91

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 = …

Member Avatar for diafol
0
97
Member Avatar for topdude155

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.)

Member Avatar for topdude155
0
110
Member Avatar for seanboy50

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 …

Member Avatar for Lsmjudoka
0
2K
Member Avatar for chrisschristou

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> …

Member Avatar for chrisschristou
0
676
Member Avatar for Izzah_1

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 …

Member Avatar for Izzah_1
0
309
Member Avatar for puvi

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 …

Member Avatar for Laura_5
0
4K
Member Avatar for Laura_5

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.

0
63
Member Avatar for mwenyenia07

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 …

Member Avatar for vjadeja
0
3K
Member Avatar for sallaudin

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 ( …

Member Avatar for decade
0
182
Member Avatar for tqmd1

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 …

Member Avatar for OsaMasw
0
200
Member Avatar for kanoy83

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.

Member Avatar for OsaMasw
0
217
Member Avatar for Ghaddab

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 …

Member Avatar for diafol
0
606
Member Avatar for tony75

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> …

Member Avatar for tony75
0
529
Member Avatar for Ayency

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 = …

Member Avatar for diafol
0
107
Member Avatar for joseph.lyons.754

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: …

Member Avatar for Tpojka
0
151
Member Avatar for davy_yg

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'>|&nbsp&nbsp&nbsp&nbspHome&nbsp&nbsp&nbsp&nbsp|</a></li> <li class='has-sub'><a href='index.php'>&nbsp&nbsp&nbsp&nbspProduct & Services&nbsp&nbsp&nbsp&nbsp|</a> <ul> <li class='onelayer'><a href='connection.php'>&nbsp&nbsp&nbsp&nbspConnection &nbsp&nbsp&nbsp&nbsp&nbsp <img src="images/arrow.png"></a> <ul> <li class='onelayer'><a href='vsat.php'>&nbsp&nbsp&nbsp&nbspVSAT</a></li> <li class='onelayer'><a …

Member Avatar for Tpojka
0
134
Member Avatar for droid2014

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 …

Member Avatar for droid2014
0
230
Member Avatar for Mangesh1612

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 …

Member Avatar for Tpojka
0
64
Member Avatar for imchivaa

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), …

Member Avatar for imchivaa
0
2K
Member Avatar for dean.ong.14

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" …

Member Avatar for pzuurveen
0
209
Member Avatar for ghosh22

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 …

Member Avatar for diafol
0
288
Member Avatar for griselndria

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 …

Member Avatar for diafol
0
169
Member Avatar for printusher

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

Member Avatar for JorgeM
0
188
Member Avatar for nadiam

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 …

Member Avatar for diafol
0
11K
Member Avatar for Lilantha

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

Member Avatar for Lilantha
0
128
Member Avatar for jay.barnes

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 …

Member Avatar for jay.barnes
0
313
Member Avatar for callmerex

i am using hpage to create my site and i want to creat a form of my own to send feedback to email

Member Avatar for pzuurveen
0
112
Member Avatar for dean.ong.14

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' …

Member Avatar for diafol
0
358
Member Avatar for mmcdonald

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> …

Member Avatar for mmcdonald
0
284
Member Avatar for Dane2259

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?

Member Avatar for rubberman
0
89
Member Avatar for RLS0812

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'] ); …

Member Avatar for RLS0812
0
234
Member Avatar for barry.gold.963
Member Avatar for ultmt.punisher

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'; } …

Member Avatar for diafol
0
294
Member Avatar for dean.ong.14

"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 …

Member Avatar for dean.ong.14
-1
183
Member Avatar for david.roun.7_1

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 …

Member Avatar for david.roun.7_1
0
174
Member Avatar for casey.li.146

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 …

Member Avatar for casey.li.146
0
294
Member Avatar for Tko_1

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 …

Member Avatar for Tko_1
0
191
Member Avatar for sigvewinter

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?

Member Avatar for pritaeas
0
91
Member Avatar for Siberian

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 …

Member Avatar for Siberian
1
184
Member Avatar for tomcromp

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

Member Avatar for cereal
0
151
Member Avatar for Abdul Qayyum_1

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 …

Member Avatar for pritaeas
0
371
Member Avatar for MaddTechwf

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 …

Member Avatar for pritaeas
0
197
Member Avatar for Indians

![1085c1c3bd57d0a1fb75f1b1edbbda0f](/attachments/small/4/1085c1c3bd57d0a1fb75f1b1edbbda0f.PNG "align-left") 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?

Member Avatar for Tpojka
0
266
Member Avatar for fheppell

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, …

Member Avatar for fheppell
0
328
Member Avatar for meempat

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()); …

Member Avatar for diafol
0
5K

The End.