1,168 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for hadiyaa

hello, my sign in working fine..but not my logout and signin script...help please. this is my logout script: <?php session_start(); session_unset(); session_destroy(); header("Location: index.php"); and my signin script: <?php if (isset($_POST['login-submit'])) { require 'dbh.inc.php'; $mailuid = $_POST['mailuid']; $password = $_POST['pwd']; if(empty($mailuid) || empty($password)) { header("Location: ../index.php?error=emptyfields"); exit(); } else{ $sql …

Web Development php
Member Avatar for nanakumi75
0
361
Member Avatar for ronel24

Hello all i am a newbie and i would love to learn from you all. Please help me as i am making a project with phpmysqli where i need to approve a pending status! Here's my code. Kindly help me thanks. <?php //////////////////////////////////////////// // Collecting data from query string $id=$_GET['id']; …

Web Development mysql php
Member Avatar for pritaeas
0
287
Member Avatar for ahmed_101

How to return value of longtide and latitude from json using angular 7? my url as following : http://192.168.7.xxx:9200/location/_doc/27737 json returned from url above is : {"_index":"location","_type":"_doc","_id":"27737","_version":1,"_seq_no":5577,"_primary_term":1,"found":true,"_source":{"Locid":27737,"GPS1":"25.0173, 121.462","GPS2":"25°01'02.2\"N 121°27'44.8\"E","CompanyID":1005070,"ads":"142 Sec. 1, HsIn Nan Rd cung Ko Dšst, New Taipei City, Taiwan","Crid":75,"con":"Taiwan","Ctid":5894,"Cn":"Zhonghe District","pushdate":"2019-12-26T03:38:20.883"}} I need to return two values from GPS1 …

Web Development javascript json
Member Avatar for Dani
1
1K
Member Avatar for Mr.M

How can I perform both ajax and form post sametime? currently the code only sends one that is called first and dont call the second one

Web Development first-post javascript
Member Avatar for Mr.M
0
2K
Member Avatar for abdulazeem
Member Avatar for QuilhaSoft
0
3K
Member Avatar for nanakumi75

Hello, I need some help from experts. I am testing a site I have created. I have an issue with login system. It worked fine using XAMPP on my computer but when I uploaded to a live server, login has been a problem. This is what I get when I …

Web Development mysql perl php sql
Member Avatar for rproffitt
0
754
Member Avatar for vipula65

this is my script but cannot connect. errot message error . user root has no password. I have created databse using phpmyadmin Warning: mysqli_connect(): (HY000/1049): Unknown database 'shop' in C:\wamp64\www\online_shopping\admin\index.php on line 4 pls help <?php //error_reporting(1); //include("config.php"); $conn=mysqli_connect("localhost","root","", "shop") or die(mysqli_error()); extract($_REQUEST); if($_REQUEST['sub']) { $name=$_REQUEST['t1']; $pass=$_REQUEST['p1']; $sel=mysqli_query($conn,"select name, pass …

Web Development mysql php
Member Avatar for vipula65
0
544
Member Avatar for anand9796

$(document).ready(function(){ var obj1 = { } var obj2 = { } if(obj1 === obj2) { alert('true'); } else { alert('False'); } }); Why if(obj1 == obj2) returns false eventhough obj1 and obj2 are objects of same type?

Web Development javascript
Member Avatar for Dani
0
380
Member Avatar for Danny159

Hey! Having some more fun with htaccess again! - I have tired everyhting and cant get it to play... Below is my code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteBase /v2/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f # Admin Pages …

Web Development apache php
Member Avatar for andrevanzuydam
0
290
Member Avatar for vipula65

Hi I have this script to show items in the database. but it is not showing the results. Pls can anyone help? <html> <div><br/><center><h2><font face="Lucida Handwriting" size="+1" color="#00CCFF">Casual Shirts</font></h2></center></div> <div style="width:100%;float:left" > <?php include("config.php"); $dress=$_REQUEST['dress']; $catg=$_REQUEST['catg']; $subcatg=$_REQUEST['subcatg']; $sel=mysqli_query($conn,"select * from items where catg='$catg' and subcatg='$subcatg'"); echo"<form method='post'><table border='0' align='center'><tr>"; $n=1; …

Web Development mysql php
Member Avatar for andrevanzuydam
0
267
Member Avatar for Artyom66

Hello, I would like to install an Angular Template on my web hosting, on a sub domain. I found several for free on google, but I have a white page when i try it on the browser. I am completely beginner on Angular. Do you know how to activate it?

Web Development javascript web-browser
Member Avatar for Andrew107
0
218
Member Avatar for Laurens_1

I am trying to add Jquery validation to the comments page in WordPress. Everything works except it won't post the fields. May someone help? FUNCTIONS PAGE function comment_validation_init() { if(is_single() && comments_open() ) { ?> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#commentform').bootstrapValidator({ message: 'This value is not valid', feedbackIcons: { valid: 'glyphicon …

Web Development javascript-jquery php wordpress
Member Avatar for Dani
0
1K
Member Avatar for jonsan32

I'd like for my page (https://fiftyallstars.com/tour.html) to load, and for the TOUR to start automatically. Right now visitors must click a button with id "starttour" Here's what I've added so far, but it doesn't do the trick: <script> $(function () { window.onload = $('#starttour').click(); }); </script> <a class="start-tour" href="#" id="starttour"><span …

Web Development javascript
Member Avatar for Biiim
0
2K
Member Avatar for Dani

Does anyone have any experience using Ezoic to increase site speed? Namely ... * Is their site speed increase predictor accurate? * Does complicated Javascript still work perfectly? What are the trade-offs? * What is their pricing?! It says it's based on traffic, once the free trial ends, but I …

Web Development
Member Avatar for adaomacarl
1
1,000
Member Avatar for JamieBek04

Really hoping someone can help me out or point me in the right direction. This is my first ever post in a coding forum so I apologize in advance if I’m breaking any forum rules. I already have a bunch of php code sorted from modifying web resources. I need …

Web Development file-system mysql php sql
Member Avatar for Dani
0
962
Member Avatar for xtrogvar

Hi, I need advice on how to implement a Review Management System. Something like realized on mypresences.com or brightlocal.com Not all services allow you to interact with their API. Review services are productreviews, trustpilot, tripadvisor, whirlpool, wordifmouth, seek, indeed, glassdoor. Maybe you now a script or have an offer how …

Web Development api javascript php
Member Avatar for sandy02
1
1K
Member Avatar for guruglenn

So I'm faced with a CSS mystery. Developing a project, came across an unexpected result, and can't explain it, nor have I been able to come up with a workaround. First I define 8 custom properties properties on a custom selector <b->. Then I conditionally (based on classes defined on …

Web Development html-css
Member Avatar for Dani
1
860
Member Avatar for syria718

<?php include 'ProcessDAO.php'; $dest=""; if(isset($_POST['login'])){ session_start(); // i get an error in this line !! $_SESSION['status']='online'; $_SESSION['breadcrumb']='home'; $pro = new ProcessDAO(); $dest = $pro->LogIn($_POST['username'],$_POST['password']); }else{ session_start(); $dest ="Location: ../index.php"; session_destroy(); } header($dest); ?> guyss can you help me out because in my Login.PHP file when i login i always get …

Web Development caching php session
Member Avatar for Dani
0
8K
Member Avatar for Allan_8

This is a partial of the code I have on my script. I have tried to make the backgrounds change color depending on the values and can't get it to read the arrays correct. Placing the conditions outside the while or inside the while returns same results when printed. If …

Web Development php sql
Member Avatar for Biiim
0
2K
Member Avatar for aveeva7

I am using magento for sending mail with condition, My code: <?php class Gta_MerchantNotification_Model_Observer { public function merchantremainder($Observer) { $order = $Observer->getEvent()->getOrder(); $order_details = $order->getAllVisibleItems(); $itemData = array(); foreach ($order_details as $list) { $incrementid = $order->getIncrementId(); $sku = $list->getsku(); $name = $list->getName(); $price = $list->getPrice(); $Qty = $list->getQtyOrdered(); $extra = …

Web Development php
Member Avatar for aveeva7
0
940
Member Avatar for Денис_2

Hello, I'm quite nub in web development, so be gentle please. If this place is wrong for such problems point me to a more appropriate resource please. To became more familiar with web-programming I found good (as I thought) area for self-improvement. One of my friends owns web project. This …

Web Development mysql php
Member Avatar for Денис_2
0
826
Member Avatar for praveen_29

Hi This is Praveen, I am working since 8years as a FrontEnd Developer with strong Knowledge in below mentioned Skills HTML 4 HTML 5 CSS CSS 3 JavaScript jQuery Bootstrap 3 and Bootstrap 4 Angular 2 to 8 React PWA (Angular and React) Require JS KnockOutJS NodeJS Magento 2 FrontEnd

Member Avatar for Dani
0
532
Member Avatar for iverve

Now every web developer need a local web development envoiurment but i don't know how to set up Full-Stack ASP.NET Web Developmental Environment. any one can here to explain me.

Web Development asp asp.net mysql
Member Avatar for pritaeas
0
516
Member Avatar for Marinos_1

Hello. I am using a lightbox form with a drop-down list. When I choose a value from the dropdown list, I want it to be assigned to a php variable which I will then use to update the total price of the form (the total price is already defined in …

Web Development javascript php
Member Avatar for Biiim
0
349
Member Avatar for Aman_22

<?php include 'connect.php'; $output = ''; if(isset($_POST["export"])) { $query = "SELECT * FROM order_details"; $result = mysqli_query($conn, $query); if(mysqli_num_rows($result) > 0) { $output .= ' <table class="table" bordered="1"> <tr> <th>MAIN BILLING NO</th> <th>ORDER TYPE</th> <th>ORDER NO</th> <th>DATE/TIME</th> <th>PORTING</th> <th>SWITCH PREFIX</th> <th>LCP</th> <th>LCPCUPID</th> <th>RH</th> <th>RH CUPID</th> <th>PORT DATE</th> <th>PORT TIME</th> <th>ASSOCIATED …

Web Development php
Member Avatar for pritaeas
0
292
Member Avatar for Sherin Mathew
Member Avatar for Dani
0
281
Member Avatar for cthornval

![Scooch.gif](/attachments/large/4/13717be4f5be2345d3ca84ac1c6a79ce.gif) I am working on a page where I currently have a menu of 12 projects. On hover a project is underlined and on click a project expands vertically displaying a description. I have used a table to layout this menu. I wish to create a function where the menu …

0
270
Member Avatar for MikeGore

Hi, I have been trying to code an timetable which allows timeslots to be booked. What I am finding difficult is the schedule settings. So three things, "schedule settings", "find common slots" and "make booking". The "find common slots" and "make booking" seems to almost work. But "schedule settings" is …

Web Development data-structure php
Member Avatar for rproffitt
-1
3K
Member Avatar for ashleyplott

I need to add a name to a Telephone number which appears on the sceen on the phone in replace of the phone number any suggestions?

Web Development html-css php
Member Avatar for praveen_29
-1
337
Member Avatar for subhraakasuny

Hi Team, I have an excel which has multiple rows and each row can have multiple images associated with that , which are postioned on a specific cells of that particular row.I know while we are positioning a image on top of a cell, that is not associated with the …

Web Development image microsoft-office
Member Avatar for orichisonic
2
1K
Member Avatar for chloooo

I'm looking to change the source of an image by using onclick to have the image source change more than once. The expected outcome is basically to have the user click one image, then it will change to image 1, once that is clicked it will chance to image 2, …

Web Development html-css image javascript
Member Avatar for Biiim
0
865
Member Avatar for jonsan32

I'm trying to setup the links on this page: http://limitlesshoops.com/levels.html to lead to specific pages within this PDF: https://fiftyallstars.com/a2z.pdf --- I've found I can lead people to whatever page like this: https://fiftyallstars.com/a2z.pdf#page=7 but I'd like to lead them to a page based on Today's date. I've added a few example …

Web Development javascript pdf
Member Avatar for Biiim
0
984
Member Avatar for FarrisFahad

I let users earn money through my site, and I want to record their daily earnings. I want to record their earnings starting from 00:01am I don't know how to do this using PHP and MySQL. I know how to create, update, etc database. But I am streuggling with PHP …

Web Development mysql php
Member Avatar for XxRedSteelxX
0
2K
Member Avatar for benson.tairuakinsola

I am trying to set up a json object.array to retrieve the data from this mysql query. the data required is posted from java and that seems to work fine, but I get parsing errors. I tried testing the php file and I get the "Parse error: syntax error, unexpected …

Web Development android-development json mysql php
Member Avatar for Veera_2
0
4K
Member Avatar for "ICode"

i dont know if im suppose to post it here or in the C# form, but since im using it in a ASP.NET projet ... i'll write it here. how can i send an SMS from a PC to a phone, and in details please, explaining EVERY step thanks you. …

Web Development asp.net c#
Member Avatar for anand9796
0
2K
Member Avatar for M_27

I am in a pickle in trying to implement a turn based game where two players join the game and is assigned a role randomly where they alternate roles after each successive round, the problem with that for me personally lies in trying to figure out how to make it …

Web Development html-css javascript
Member Avatar for rproffitt
0
565
Member Avatar for Ashley_16

I am creating a web slider (responsive), but I need it to have a wave transition, what would be my best option? Thanks.

Member Avatar for Purvi_1
0
553
Member Avatar for Gayathri_2

Hi, I am developing a webpage using servlets.The main page, with simple sing-up and sign-in form along with forgot password. So when i try to reset my password password-reset link, when i try copy paste the link from fire-fox to chrome browser empty page is getting displayed. But I want …

Web Development java-jsp
Member Avatar for DGPickett
0
355
Member Avatar for faaramin

Hi i am trying to view my blog or post in detail description at that time my browser title shows %page_title%, But it has to show my blog or post title in that place. please help me to solve this issue. My permalink settings as below /%category%/%postname%/ Note: i have …

Web Development php
Member Avatar for faaramin
0
254
Member Avatar for Kathy B

Hello, I am new to this site and to php and mySQL...and I need some help. I know this topic is all over the web but after a couple of days of looking and refering to several text books it still doesn't work so please bear with me. I have …

Web Development mysql php
Member Avatar for Biiim
0
1K
Member Avatar for Varnisha Kalra

Now as the automated cms are coming in power for eg. wordpress. Is it leading to ending of web development career.?

Web Development html-css javascript php
Member Avatar for Biiim
2
2K
Member Avatar for Rizi004

hi hope you are all fine. When user login in my web site the table update in database that the user is online and when they click on logout the table updated in database that the user is offline, it working fine but the problem is that when user login …

Web Development javascript php web-browser
Member Avatar for juniors464
1
6K
Member Avatar for FarrisFahad

My site use to work fine. But today for some reason pages with mysqli_num_rows takes a very long time to load. I can visit the page but it takes a long time to load. When it loads there are no errors but the error file in the root directory have …

Web Development mysql php sql
Member Avatar for Dani
0
1K
Member Avatar for zoro007

Hello, Please i need help with python 2.7 i use "from string import Template" and there error with Unicode if i print the string without Template working good and if i print it under Template appear error ""AH01215: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 8: ordinal not …

Web Development python
Member Avatar for zoro007
0
420
Member Avatar for anand9796

How to display error messages and details of error occurred during jQuery AJAX Call

Web Development display javascript-jquery
Member Avatar for pankaj_patel
0
362
Member Avatar for Rodney_6

I have a form <form action="frame.html" method="GET"> <input type="text" name="SOMEID" /> <input type="submit" value="Submit" /> </form> I'd like to pass SOMEID to the frame.html page in a few places as html links: link/embed/$SOMEID link/analytics/$SOMEID link/blah/$SOMEID where $SOMEID was the form input on the previous page. If someone types 1234, i'd …

Web Development javascript web-server
Member Avatar for rproffitt
0
315
Member Avatar for zao2k

Hi, While I have some basic js coding skills and a few APIs uses in the past, I get stuck with one because it basically contains 3 calls. All async. Step 1 is pushing a file to the service and get back an ID in return. Step 2 is requiring …

Web Development api javascript javascript-jquery
Member Avatar for pankaj_patel
0
246
Member Avatar for Artyom66

Hello everyone, I created an extension for Magento This is the demo: http://carte.mageaction.fr/mapclick do you like?

Web Development
Member Avatar for Artyom66
0
216
Member Avatar for John_74

<?php $con = mysqli_connect("localhost","root","","register"); if (!$con) { die(' connection error: ' . mysql_error()); } $name=$_POST['name']; $fname=$_POST['fname']; $dob=$_POST['dob']; $address=$_POST['address']; $ph_no=$_POST['ph_no']; $email=$_POST['email']; $zip=$_POST['zip']; $phd_marks=$_POST['phd_marks']; $ph_out=$_POST['ph_out']; $ph_study=$_POST['ph_study']; $ms_marks=$_POST['ms_marks']; $ms_out=$_POST['ms_out']; $ms_study=$_POST['ms_study']; $ma_marks=$_POST['ma_marks']; $ma_out=$_POST['ma_out']; $ma_study=$_POST['ma_study']; $ba_marks=$_POST['ba_marks']; $ba_out=$_POST['ba_out']; $ba_study=$_POST['ba_study']; $fa_marks=$_POST['fa_marks']; $fa_out=$_POST['fa_out']; $fa_study=$_POST['fa_study']; $matric=$_POST['matric']; $matric_out=$_POST['matric_out']; $matric_study=$_POST['matric_study']; $exp=$_POST['exp']; $experience=$_POST['experience']; mysqli_select_db("register", $con); $sql="INSERT INTO cv (name, fname, dob, address, …

Web Development email mysql php
Member Avatar for pritaeas
0
16K
Member Avatar for LloydFarrell

Hi all, this is my first post and would appreciate some insight as to where im going wrong. I have the following form that successfully registers a new user to my mysqsl database via PHP - with the following $sql INSERT Function The problem im having is sending the activation …

Web Development email php
Member Avatar for sbaset
0
14K

The End.