39,393 Topics

Member Avatar for
Member Avatar for arshialauddin

Sir I am learning core php and how to use multiple user login and admin login seperately

Member Avatar for diafol
0
35
Member Avatar for praba_web
Member Avatar for AntonyRayan

Hi, I used this code to translate in any language, what I am typing . It is working good. But, for English, I don`t know how to do? can anybody know it? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src="https://www.google.com/jsapi"> </script> <script type="text/javascript"> // Load the Google Transliterate API …

Member Avatar for AntonyRayan
0
263
Member Avatar for James_43

Hi all, I am aiming to create an array with the same structure as this: Array ( [798D25C0DEABD] => Array ( [quantity] => 1 ) [40B2B0FA3D222] => Array ( [quantity] => 1 ) ) The code I am using is therefore: for($i = 0; $i < count($response); $i++) { $ph[] …

Member Avatar for James_43
0
332
Member Avatar for adishardis

I have a couple of sites (on different servers) that I want to see if some critical urls are up and running and this is what I've tried: $handle = curl_init($url); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); /* Get the HTML or whatever is linked in $url. */ $response = curl_exec($handle); /* Check …

Member Avatar for adishardis
0
166
Member Avatar for janicemurby

hi im attempting to change my website from mysql to mysqli ive replace mysql with mysql on all the files and when i attempt to load site im gettting the following: Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /home/matureco/public_html/config/db_connect.php on line 6 heres code for this …

Member Avatar for diafol
0
266
Member Avatar for Mushfik

How can I add parameter to this <a href="javascript:;" Or is there any way to post data on the same page on that link above Thanks

Member Avatar for Taywin
0
230
Member Avatar for Aeonix

It might be obvious, but I can't seem to understand it. So don't laugh. Let's assume this scenario. My website has 5 themes, there are 5 buttons. Clicking each button changes theme respectively and uniquely. I use JavaScript to do that, so I set name of theme in a cookie, …

Member Avatar for Aeonix
0
503
Member Avatar for castajiz_2

For the last 5 months I've tried to organize myself and my friends in order to collect some relevant information on news sites (information about global warming, pollution, ecology etc.) The only solution that I've found was to use a local search engine from the news site and type in …

Member Avatar for jwenting
0
251
Member Avatar for Engr Chid

a PHP code for Matrix plan of Multi-level marketting software. This is a logic where a referal gets paid s his down line increases. a kind of social marketting.

0
69
Member Avatar for toxicandy

Hi all, I have been using this tutorial: [bootply.com](http://www.bootply.com/lxa0FF9yhw) and I almost have it working, the problem is that my table is generated VIA AJAX from a php file. Basically I see my table but no working pagination unless I open chrome web tools and go to console and paste …

Member Avatar for diafol
0
315
Member Avatar for toxicandy

I have a quick question, I am hoping it is an easy answer but if I wanted a query like the following: SELECT * FROM items ORDER BY date ASC Is there anyway to replace the order by information with prepared statement attributes? would either of the following work? SELECT …

Member Avatar for cereal
0
406
Member Avatar for Faiz97

How To connet mssql to php please please please help meeee. I'll wait for you guys to answer

Member Avatar for Faiz97
0
455
Member Avatar for 12Strings

Hi, been awhile. I'm fighting this captcha form; it's been a battle (flaws in code) now all looks fine but it doesn't send to email. What's the obvious prob?? <?php $name=''; $visitor_email=''; $user_message=''; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Preview</title> </head> <body bgColor=#ccffff onload=doCookie() onunload="thank-you.php"> …

0
75
Member Avatar for ivylyn

iam using php in developing our website which is our user has to check banana symptoms that he observe on his plantation,out of that checked symptoms our system will show the possible disease based on what he checked, but i have a problem, if i checked 1 and 4 checkbox …

Member Avatar for ivylyn
0
141
Member Avatar for Kadence

I'm looking for a graphic library to create a visual for data that involves between about 100 to 300 data points. Each set of data points covers a full day - so one day would have a few hundred data points total, and I'm looking to plot a graph of …

Member Avatar for diafol
0
258
Member Avatar for ivylyn

guys can you teach me how to construct a code for developing my website. for example i have a list of different symptoms of a banana diseases which is a checkboxes,if i checked one of the symptoms,my system will analyzed or calculate that information based on what i have checked. …

Member Avatar for jkon
0
155
Member Avatar for WebMedia_1

Pls i need your help here, im working on web page in which i want the user who register or subscribe will login to know thier status either membership expired or active but this code it is working manually if i set the date but not working from the database …

Member Avatar for WebMedia_1
0
2K
Member Avatar for jeffersonalomia

Hi, i just hosted my website on 000webhost for free and somehow i cant connect with my database resulting to that i cant login on my website. How can i solve that? Please help. thank you Heres my code for db connection '<?php $db_host="mysql1.000webhost.com"; $db_username="a1924971_user"; $db_password="*************"; $db = "a1924971_learn"; $cn …

Member Avatar for OtepTheThird
0
213
Member Avatar for Aeonix

Not so long time ago, I asked you for help with `preg_match()`. Pritaeas gave me nice answer and Cereal showed me nice webpage where I could try out the latest queries, live. The query provided seems to be working on the website granted, but not on my project. 4 out …

Member Avatar for cereal
0
135
Member Avatar for James_43

hi all, I have been coding a payment gateway using a company called SwipeHQ. Using their APIs I have programatically created products from my website and make sure they stay updated. However, I'm now completely stuck about how to have my checkout navigate to their payment form and then return …

Member Avatar for cereal
0
410
Member Avatar for shabbir04

Hello everyone, Please help me to create a chained select box here i created something , but when i select 1st one its load 2nd one's options from database, but get 1st one unselected <form action="" method="post"> Username: <br><select name="productforuser" id="option" onchange="location = this.options[this.selectedIndex].value;"> <option selected value="no_user_selected">No User Selected</option> <?php …

Member Avatar for diafol
0
938
Member Avatar for phoenix254

Hi I am new in php programming and learning this i have found a small problem.I am trying to creating a file called lib.php, where i add all my files jquery lib downloaded in /js and css files.My directory look like this: ** -practise + /css + /js + /images …

Member Avatar for bigtalk
0
663
Member Avatar for Aeonix

Is there a way to grab strings that match patterns `--*--` and `++*++` (two seperate queries) where `*` is a wildcard and `--`, `++`, are criteria to meet. I'd like to write matches within variable fully, like `--daniweb.com--` and `++this just an example++`. `preg_match()` provides solution on alphanumerical identities. And …

Member Avatar for Aeonix
0
269
Member Avatar for AntonyRayan

HI, I need a query for this. In a table, I have two date columns like fromdate and todate. My date format will be yyyy-mm-dd. I need to know how to compare dates including the given date to take all dates between the given dates For example,fromdate is 215-08-01 and …

Member Avatar for pritaeas
0
160
Member Avatar for James_43

Hi all, Been really trying to get a grips with objects in PHP. I think my lack of understanding isn't helping here! Basically, with the help of another user here I managed to filter some object values and add them a nice array. I used the following code: $i = …

Member Avatar for jkon
0
280
Member Avatar for paul.rothenberger

Hey everyone, I'm working on a project that allows the user to register but am running into an issue where when the registration page is submitted the user receives a blank page and no confirmation(database record isn't entered). I've read and re-read the code and can't seem to find the …

Member Avatar for Taywin
0
367
Member Avatar for calebcook

Hi. I need to be able to display each day of the current month excluding Sunday in a format: month/day (eg. 11/11). So I want the output to be: [CODE]11/11 11/12 //excludes Sunday 11/14 11/15[/CODE] etc. Does anyone know how to do this? Thanks

Member Avatar for Adriano_1
0
4K
Member Avatar for davidbcn

all the emails are sending together to all the recipients showing their emails in "TO", which i don't want. how to send mails individually instead of sending to all recipients together? my code is: function SendMail($msg,$subject,$addresses) { require "class.phpmailer.php"; //Fetch from email here foreach($addresses as $key=>$val){ $email = test_input($val); if((trim($email)=='') …

Member Avatar for davidbcn
0
131
Member Avatar for Edwin_7

Forum Hello people, my name is Edwin Galician and I have a problem about the Facebook API in its version 5 and consists of the following, it turns out that on my local server, I work well, but the production version generates me inconvientens the most important so far is …

Member Avatar for cereal
0
255

The End.