… failed: " + textStatus); }); } // party_search.php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
… is like this <?php include_once("includes/connectsql.php"… Reply by phphp
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Sir, it is like this ![Untitled.png](/attachments/large/4/57c2c60d12ba9cfee6070f3e338e2eb5.png "align-center") Reply by phphp
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Look, it works fine for me. Do this: open the **Web Developer Console** which is available in Google Chrome, Chromium and Mozilla Firefox, hit the **Network** tab and enter a letter in the autocomplete input field, you should see a request to the server, … Reply by cereal
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Yes Thanks, Now when I enter any string then data appears in autocomplete box like this ![15401396_10202672896140691_934130179_n.png](/attachments/large/4/53a79623e304b5b96bc3dd0d045d57b1.png "align-center") but when this box … Reply by phphp
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Can you show your current code? (HTML, JS and PHP) The above results seem to be originated by your previous code. Reply by cereal
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
… is autocomplete.php <?php include_once("includes/connectsql.php"… Reply by phphp
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Why don't return the results as object of the search instead of combining both in autocomplete.php? Return both code and desc as object and combine code - desc1 in your php view. Access the object in your view and append the string there. Reply by imchivaa
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Sir, You mean I should chnage this part while($row=sqlsrv_fetch_array($select)) { $data[] =$row['code'].' - '. $row['desc1']; } If yes then how? Reply by phphp
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Ok, the blank list of results happens because JQuery expects to receive `label` and/or `value` as index keys of the result set. > Multiple types supported: > Array: An array can be used for local data. There are two supported formats: > >… Reply by cereal
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Thanks sir for helping But... ![Untitled.png](/attachments/large/4/4f47e7cf028a059c34a5bbf493141de4.png "align-center") about 80% solved. Please Reply by phphp
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Spaces in URLs can be represented by `%20` or by `+`, it depends on the browser and by the enctype attribute of the form tag. Your script can receive requests like these: term=abc++++ term=abc%20%20%20%20 Which in your code equals to:… Reply by cereal
2 Months Ago
… has these codes <?php include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
sir I also used trim() in this line to get correct party name $data[$i]['label'] = trim($row['desc1']); Thanks sir, now everything is ok. Reply by phphp
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
Your pages are not right. You are including a page and then supplying another page. Have a look at the page source in the browser and you'll see the mess. I assume it's going to look something like this: <!DOCTYPE html PUBLIC "-//W3C//DTD … Reply by diafol
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
Another common approach is to make a basic index.php page and do something like: include "..includes/header.php"; include "..includes/getcontent.php"; include "..includes/footer.php"; The `getcontent.… Reply by diafol
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
…; <body> <?php include_once("includes/header.php"… Reply by phphp
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
Away till tues. Anybody else? Reply by diafol
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
Try to give it a z-index, because it might behind the #container div which has a min-height of 100% and a white background color. This might be covering the header. #header1 { width: 100%; font-size: 28px; font-weight: bold;… Reply by gentlemedia
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
Thanks I have added z-index:100; But now Container div is behind HEADER div shown in this image ![Untitled.png](/attachments/large/4/d1e4ed2603769fe7f04f88068f94b862.png "align-center") What position should I apply to CONTAINER div to … Reply by phphp
2 Months Ago
… <?php $error_reporting = E_ALL; session_start(); include_once("includes/connectsql.php"…;); include_once("includes/header.php"); ?&… Discussion Thread by phphp in Web Development
Give container a top margin of 60 px (the height of the header) and I'd recommend to take out the `min-height: 100%` and `height: auto`, because they don't make much sense in the way you have your mark-up. Reply by gentlemedia
2 Months Ago
…;location: admin/login.php"); } include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
1 Month Ago
…;location: admin/login.php"); } include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
You can use a datepicker and set it to run the script on change. Reply by diafol
1 Month Ago
… error_reporting(E_ALL); ini_set('display_errors', '1'); include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
1 Month Ago
… error_reporting(E_ALL); ini_set('display_errors', '1'); include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
I'm no PHP expert, so forgive my ignorance. If you test in a basic manner, rather than by using AJAX, what happens? By using your browser's inspector, you can see that doing: $.ajax({ url: "my_service", data: {f_date1: &… Reply by pty
1 Month Ago
… these codes <?php session_start(); include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
4 Weeks Ago
… these codes <?php session_start(); include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
instead of doing the redirect, do a var_dump on $_SESSION and see whats in there. Then, do the same on index.php as well. Something obviously isnt being set, or carrying over - it may be that headers have been sent before your session begins (but that … Reply by ryantroop
4 Weeks Ago
… these codes <?php session_start(); include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
Sir, this is first time when I am trying to upload my website on this windows hosting https://somee.com/default.aspx my all files work fine on Wampserver32, on local host there is no issue but when I upload via cpanel then session_save_path error … Reply by phphp
4 Weeks Ago
… these codes <?php session_start(); include_once("includes/connectsql.php"… Discussion Thread by phphp in Web Development
php
You must have session_start on the top of every page before your includes. Reply by diafol
4 Weeks Ago