39,388 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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: … | |
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(){ … | |
`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 … | |
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 … | |
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 ? | |
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. | |
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'] . … | |
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 … | |
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 … | |
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 … | |
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> … | |
I'm developing an online shopping website using HTML, CSS and Bootstrap. I just got stuck. * How do I create a responsive shopping cart that adds up all the shopping items/products and gives a full details and total price of items bought at checkout? * How do I access the … | |
Hi, i'm trying to enable users to upload to my db. at the moment i've just got a folder called 'uploads' in my root directory... (i'll worry about getting them into the db once i can uplaod to there!) here's my php... <?php $target_dir = "http://www.XXXXXX.com/uploads/"; $target_file = $target_dir . … | |
I recently had to mass insert a really large text file of strings into MySQL. Here's how I did it. | |
I am using two database one is default which I would like to set db name as per session value, second database I am using to login and registration and set session once user logged in. Can anyone have solution to manage this database name after login of user based … | |
<?php session_start(); if (!isset($_SESSION['id'])) { header('location:login.php'); } ?> <?php $nameErr = $emailErr = $usernameErr = $DateOfBirthErr = $departmentErr = $ageErr = $fileToUploadErr = $fileToUploadErrr = $fileToUploadErrrr = $fileToUploadErrrrr = $fileToUploadErrrrrr = "" ; $name = $email = $username = $DateOfBirth = $department = $age = $fileToUpload = $filename = $file … | |
Hi I have a php page called "list.php" which allows the user to select from a list of options to perform a filter query on a table. At the bottom of this page I have created an href link to a page called "create-file1.php". I would like to pass the … | |
Hello, i want create a class to manage tertiary tree. i mean tree which each node have only at most 3 childrens | |
I want to view records based on the selected drop down value so I used sql query with WHERE clause. When I echo that query, it is fetching the drop down value which I selects but it isn't showing me the records in the table. When I give the values … | |
Hi how do i automate data sharing or airtime using php. E.g i want a third party to able to share my airtime or data from my website. For instance if i dial *600*mobileno*amount*my secret pin# will automatically share my airtime with d owner of this mobile number. So my … | |
Want to check function source code using eclipse. Help pls I'm curious on how certain php functions are implemented internally. e.g. array_values(). So in eclipse, I control click on the function name, which took me to a page that contain function prototype definition,[ ](http://offingapp.com/)but contains no internal source code. ![eexm.png](/attachments/large/4/b25980a2e0f3d1b4e7d405a10afc23c2.png … | |
hi I have a login form, when i tried to login i got this two errors: **Notice: Undefined index: username in C:\wamp64\www\FormTutorial\php\luana_login.php on line 6** ** Notice: Undefined index: password in C:\wamp64\www\FormTutorial\php\luana_login.php on line 7 ** I have been busting my head to figure out how to solve it so … | |
Hi DW. Today just came across with something I didn't know of and it may be easy to someone else who had workded with it or had came across it. Look at this example code snippet: $a = '1'; $b = &$a; $b = "2$b"; echo $a. ", " .$b … | |
hello friends , i need a help to create a binary tree using PHP and mysql. Friends i able to create a tree which is start form parentID with 0 successfully , but when i try to create tree with parent ID=1 , this time i just getting all the … | |
Hello, I Am Building a web application.How can i implement sms service in my website?? Please show me some references..and guidence please.. | |
Requirements: Create a PHP application to allow a user to register for the website and enter profile information to be stored in cookies. Part I: Registration page Create a page called register.php that displays a user registration form with the following fields from the customer table: Email address - required, … |
The End.