39,326 Topics

Member Avatar for
Member Avatar for Robert_79

Hi I am struggling with some code and was wondering any someone could please help me. My php skills are VERY limited and only get stuff done by reading forums like this and watching YouTube videos :-[. I am enjoying learning so that is why I am sticking with it …

Member Avatar for alan.davies
0
453
Member Avatar for UK-1991

Hello, just created a code for login using encrypted password method when user is registering at that time i made a passsword encryption script. But the main problem is that when it comes to verify login how do i veryfy the password as that password is saved as encrypted password …

Member Avatar for tejpal_3
0
2K
Member Avatar for mysterious_1

Hello, I am looking for a new IDE. I am currently using netbeans to develop a website in php/mysql. I like a lot of things about netbeans, but I don't like that it doesn't come with built in compilers/debuggers. You have to manually go and add/link them on a language-by-language …

Member Avatar for mysterious_1
0
657
Member Avatar for Mohd_13

if($_REQUEST['subview']=="add") { $title = mysqli_real_escape_string($db->conn,$_POST['title']); $cat_id = mysqli_real_escape_string($db->conn,$_POST['category']); $area = mysqli_real_escape_string($db->conn,$_POST['area']); $bedroom = mysqli_real_escape_string($db->conn,$_POST['bedroom']); $bathroom = mysqli_real_escape_string($db->conn,$_POST['bathroom']); $garage = mysqli_real_escape_string($db->conn,$_POST['garage']); $content=mysqli_real_escape_string($db->conn,$_POST['text']); $data = array("title"=>$title, "cat_id"=>$cat_id, "area"=>$area, "bedroom"=>$bedroom, "bathroom"=>$bathroom, "garage"=>$garage, "content"=>$content, "status"=>"active", "added_date"=>date("Y-m-d H:i:s", time()) ); if($db->insert($data,'bk_property') == true) { $last_id = mysqli_insert_id($db->conn); if($_FILES['image']['name']!="") { $check = getimagesize($_FILES["image"]["tmp_name"]); if($check !== false) …

Member Avatar for Dani
0
404
Member Avatar for Sergi_1

Hello,I need an SMS gateway like Twilio. I am testing it right now, but before investing in a commercial product I would like to map the better alternatives.Plivio was recommended for me, but Plivio PHP based configuration more difficult to integrate. Do you know any good International alternative to Twilio?In …

Member Avatar for rproffitt
0
293
Member Avatar for Prateek_2

I am using codeigniter 2.1.2 on Win 8.1 and the following code is not working $this->load->library('image_lib'); $config['image_library'] = 'GD2'; $config['source_image'] = 'C:/xampp/htdocs/imgt/wall/wallpaper2.jpg'; $config['create_thumb'] = TRUE; $config['maintain_ratio'] = TRUE; $config['width'] = 75; $config['height'] = 50; $this->load->library('image_lib', $config); var_dump( $this->image_lib->resize()); // this returns true What is the problem i checked GD is …

Member Avatar for nhantam
0
2K
Member Avatar for OMG_1

Hi, I am a legacay (cobol) developer and wants to learn how to build websites. For this I decided to do a little project for myself. The site would be a places/travel tracker kind. It would show a certain map (ex, London, Taiwan, Greenland). Then you can click on a …

Member Avatar for pty
1
536
Member Avatar for MD_28

how I can substract value from balance when i input value. when i add value , it will be added to balance. please see like example below: https://imgur.com/a/9EeviDi

Member Avatar for MD_28
0
264
Member Avatar for David_133

I have db table called **subscription** and a column called **duration**. I want the column** duration** to be incremented by +1 in every 24 hours until it gets to 30 then stop. I would love the query to start execution if the column duration is = 1.

Member Avatar for prof php
0
498
Member Avatar for Hamsterking

hello hope you all are going well, so my vacation is comming and i was wondering whta if i did a big project or small project, how hard is it to make my own multivendor website like amazon, i would like to do everything like the code in php, the …

Member Avatar for overwraith
0
556
Member Avatar for Jun_7

In this query i want to display the unbooked rooms, but the booked rooms are displayed instead of the unbooked rooms... create table guest ( guest_id int auto_increment primary key unique not null, guest_lname varchar(50) not null, guest_fname varchar(50) not null, guest_email varchar(100) not null, guest_password varchar(50) not null, guest_address …

Member Avatar for ryantroop
0
548
Member Avatar for Hajar_1

Hello everyone , well am using a script with javascript that gives me some values , that i decided storing in a var JSON : {"user_IP":"192.168.*.**","page_name":"Nous suivre","path_name":"/test/suiv.html","nbre_visites":"3"} //var s=JSON.stringify(cookieso); //document.getElementById("affichage").innerHTML = s; the thing , is that i wish i could store directly on my database : P.S i m …

Member Avatar for overwraith
0
406
Member Avatar for Dani

Are there any scripts that can go through a collection of PHP files and detect multiple functions with the same name?

Member Avatar for pty
0
415
Member Avatar for baig772

I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function …

Member Avatar for PARDEEP_2
0
975
Member Avatar for Amaina

I have been cracking my head on this mater in the past couple of days. I am faced with a situaton where i need to write a MySQL equivalent of PHP code to loop through sql select results. The Php code looks like this $query = "SELECT pubid, author FROM …

Member Avatar for flashx4u
0
19K
Member Avatar for anitg

I have two tables like below tb1 Date Cr Dr 2018-04-29 100 50 2018-04-30 0 150 2018-05-01 250 100 2018-05-02 150 100 2018-06-10 300 250 2018-06-11 0 50 tb2 Date Cr 2018-05-01 350 2018-05-02 250 2018-06-10 300 2018-06-11 100 2018-06-15 200 2018-06-18 100 I need the following Result Apr May …

Member Avatar for flashx4u
0
560
Member Avatar for terrymold

Hi everyone I have a little problem that I'm sure someone here can help me with. I have a web page with a text input field and a couple of submit button. The user would enter something in the text field and then click on one of the buttons. Each …

Member Avatar for deep_7
0
7K
Member Avatar for anitg

I am trying to get access toke from FB through Developer App. But I am not able to json_decode the call back response. If I use the token_url call from browser, it returns the access token. But from within the script it does work. I searched online and foun that …

0
277
Member Avatar for Dave_20

Hey guys. So this should be a pretty simple question (but doesn't appear to be) that I'm hoping some of the database wizards out there can help me with. I'm not too long outta university with a BSC in Computing, I didn't get a full classification due to the fact …

Member Avatar for overwraith
0
619
Member Avatar for janicemurby

hi all i have recently purchased a script and im attempting to fix it would anyone know how to solve these 2 errors which appear to be coming from this function [09-Jun-2018 12:40:57 UTC] PHP Warning: Division by zero in /home/public_html/includes/functions.php on line 126 [09-Jun-2018 12:41:19 UTC] PHP Fatal error: …

Member Avatar for rproffitt
0
317
Member Avatar for Stefce

Is there possible chance of changing the WooCommerce "Add to Cart" button functionality or removing it and creating new button, inside the item page? I found this code but it only replaces the button on the item itself and not in the item page add_filter( 'woocommerce_loop_add_to_cart_link', 'replace_default_button' ); function replace_default_button(){ …

0
346
Member Avatar for gdi888

`Hey guys!` For the past few days, my database was working fine for both tables but just recently (I must have done something to my code but can't remember), my memberships table has stopped inserting information from my sql query. I am also trying to get my multiple select option …

Member Avatar for benanamen
0
305
Member Avatar for janicemurby

hi all im getting the following error PHP Notice: Array to string conversion in /home/public_html/includes/database.php(23) : eval()'d code on line 1 in this file <?php $link = @mysqli_connect($hostname, $username, $password, $database); if (!$link) { die('Could not connect !'); exit(); } else{ mysqli_set_charset($link,'utf8'); } $sqlcf = 'select Variable, Value from '.$table_prefix.'site_settings …

Member Avatar for alan.davies
0
3K
Member Avatar for Asim_10

I want to ask that " In some sites we see that when some peoples comments or share or click they got coins or points" so how to make this type of scirpts ?

Member Avatar for Dani
-1
543
Member Avatar for Sergi_1

I am looking for an API that will be easy to use, also allows me view reports of sended SMS, that also has documentation and examples to how manage it.

Member Avatar for Tran_10
0
301
Member Avatar for Narayanan_1

echo '<td><a href="details.php?id=' . $row['ServerName'] . '">' . $row['ServerName'] . '</a></td>';--> it's working as expected( but it always display the one table value without any matching criteria hence i am trying with if condition as below) if($row['ServerName']=='DataBase')<< curly start brace>> echo '<td><a href="db.php?id=' . $row['ServerName'] . '">' . $row['ServerName'] . …

0
160
Member Avatar for Publitio

Hello, I would like to introduce myself and share a bit of information about the new API we are developing. The product was just launched in February and is in the beginning phase. I would highly appreciate any kind of comment or advice when it comes to improving the development …

Member Avatar for Bivhab
0
915
Member Avatar for tscina

I have a php script which requires phpmailer and I got it to work already but I need to send the email to 3000 persons. How do I do that? I've tried searching over the net but all the examples show only to enumerate the emails addresses. Mine comes from …

Member Avatar for navjot_2
0
3K
Member Avatar for divinity02

hi all presently am doing an assignment. for the past hour or have been experiencing one error to the next with it. it is website am doing where a user can register, login, view their profile etc. one part of the assignment is where u have to insert and display …

Member Avatar for EvolutionFallen
0
283
Member Avatar for ychan623

Hi Im working on using 2 drop down menu to filter mysql query. Here is the drop down menu <form action="showJobs.php" method="post"> <select name="Locations"> <option value="All" selected="selected">All states</option> <option value="arizona">Arizona</option> <option value="alaska">Alaska</option> </select> <select name="Jobs"> <option value="All" selected="selected">All jobs</option> <option value="arizona">Carpenters</option> <option value="alaska">Plumbers</option> </select> <input type="submit" value="search jobs" /> </form> …

Member Avatar for teja_2
0
2K

The End.