38,020 Topics

Member Avatar for
Member Avatar for blueguy777

How to search a string in table i.e. searchstring = "Gandhi Chowk" actual code: if(isset($_POST['companyId'])){ $companyId = $_POST['companyId']; } if(isset($_POST['RouteName'])){ $routeName = '%'.$_POST['routeName'].'%'; } if(isset($_POST['cityName'])){ $cityName = $_POST['cityName']; } // We Will prepare SQL Query $STM = $dbh->prepare("SELECT routeName FROM route WHERE routeName LIKE :route"); // bind paramenters, Named paramenters …

Member Avatar for blueguy777
0
239
Member Avatar for Jiby_1

*) when we click addmore and add content for the below code 2 textboxes will appear extra?? how to avoid that??please help <?php include_once 'config.php'; if (isset($_POST['submit'])) { $text1 = $_POST['boxes']; $text2 = $_POST['boxes1']; foreach($text1 as $a => $b){ if (!isset($text1[$a])) { $text1[$a] = null; } echo "<input type='text' name='boxes12' …

Member Avatar for diafol
0
134
Member Avatar for babir

I want to create a page that contains all searches from my Database. And want to create link for individual searches like- index.php?db=my_db&token=f019813a84dedee74a047b66f489d508 please help me....

Member Avatar for diafol
0
128
Member Avatar for Subrata_1

Hi all, I am trying to develop client server web service using soap wsdl but my code giving proper out put where input given is correct.If any body can fix this? My code attached herewith...and I got the code from the link https://tommorrisblog.wordpress.com/2015/02/07/soap-wsdl-examples-with-php-and-python-scripting/ client.php <?php require_once "lib/nusoap.php"; //$client = new …

Member Avatar for Subrata_1
0
293
Member Avatar for gtel

Ok, i need your expertise on this. Would you still consider a procedural type of a php project that uses the obsolete mysql connect, as long as it works great and the ui is awesome? *someone used it.so i'm wondering

Member Avatar for diafol
0
142
Member Avatar for davy_yg

Hello, I am trying to style google map: like: http://www.akronyms.net/demo/arvin-html/v_1.5/ How? Here is a references: https://developers.google.com/maps/documentation/javascript/styling What I do not understand is to create a grey map I should include the following array variable: var styleArray = [ { featureType: "all", stylers: [ { saturation: -80 } ] },{ featureType: …

Member Avatar for cereal
0
597
Member Avatar for anmol.raghuvanshi1

I am trying to populate dropdown with database what i am actually trying to do i have 3 drop downs country ,state and city and i want if user select any country crossponding states are shown in dropdown and crossponding cities releated to state are shown in city dropdown.I don't …

Member Avatar for anmol.raghuvanshi1
0
373
Member Avatar for Olalekan J

Hello all, I have a problem with geting the div content which was populated from a php/mysql script. please i need help. in the modal. the only echo i get is the last variable passed, regardless of the which ever dif i click. <?php require_once 'connect.php'; if(isset($_GET['userID'])){ require_once 'dbconfig.php'; $query …

Member Avatar for jkon
0
247
Member Avatar for chaitu11

Hi please go through this issue and suggest me http://stackoverflow.com/questions/32294820/where-to-locate-facebook-sdk-v4-vendor-directory-in-codeigniter-3-0

Member Avatar for cereal
0
249
Member Avatar for basketmen

Hi guys, In WHM > Easyapache, there is this PHP extension : Safe PHP CGI - prevents users from overriding system php.ini my question, can i exclude a user from this, so the user can increase like memory_limit in they account? if not, is there alternative for this that allowed …

Member Avatar for rubberman
0
260
Member Avatar for praba_web

Ajax form submission not happening. **view:** <form method="post" name="addwishlists" id="addwishlists" enctype="multipart/form-data" > <input type="hidden" name="deal_id" value="<?php echo $deal_id; ?>" > <input type="hidden" name="cust_id" value="<?php echo $cust_id; ?>"> <input type="submit" value="Add Wishlist" id="addwishlist" class="btn btn-primary" /> </form> **My code is:** <script> //no need to specify the language $(document).ready(function(){ $("#addwishlist").click(function(e){ // passing …

Member Avatar for gabrielcastillo
0
578
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for gabrielcastillo
0
541
Member Avatar for chibex

I have web based inventory system written in PHP and going to attach barcode reader to the web interface. Any idea how to use webbased interface to extracting information from barcode data? Does anybody have expirience with barcode and webforms ? Thanks.

Member Avatar for saskico
0
2K
Member Avatar for babir

my code cannot send all image data. it sends odd or even no of data.please help <?php session_start(); include("dbcon.php"); if (isset($_POST['submit'])) { $j = 0; //Variable for indexing uploaded image $a=0; $target_path = "uploads/"; //Declaring Path for uploaded images if (count($_FILES['file']['name'])<6) { $k=count($_FILES['file']['name']); } else { $k=6; } for ($i …

Member Avatar for Dilovan
0
174
Member Avatar for vampz

i have an array of usernames and if a specific name is entered then code should say i know you concatenated with input name...this part is working fine...the problem is in `if(!$knowyou)` this line of code is giving the error of **undefined variable** i'm not getting it i tried to …

Member Avatar for vampz
0
346
Member Avatar for vampz

<body> <?php if(trim($_GET["submit"])){ if($_GET["uname"]){ echo "your name is".$_GET['uname']; } else { echo"please enter your name"; } } ?> <form> <label for="uname">Name</label> <input type="text" name="uname" /> <input type="submit" name="submit" value="Submit" /> </form> </body> hello, i'm new to php watching some tuts and trying to learn...my proble is when i load this …

Member Avatar for vampz
0
192
Member Avatar for Mysquldata
Member Avatar for Kelly Burby
0
105
Member Avatar for SimonIoa

Hello i did a research about a import contacts script. The best script i find this is https://www.design19.org/blog/import-google-contacts-with-php-or-javascript-using-google-contacts-api-and-oauth-2-0/ On the last comment as Simon you ll see where i stuck with. Although i think its the best import gmail contacts script

0
96
Member Avatar for paul-lucas

Hello, I have a file (01.php) <?php abstract class Sender { const E_NEW_APPOINTMENT = 1; /** * Send instant confirmation/notification emails. * * @param int $type (E_NEW_APPOINTMENT) * @param CustomerAppointment $ca */ public static function sendEmails( $type, CustomerAppointment $ca ) { list ( $codes, $staff, $appointment, $customer ) = self::_prepareData( …

Member Avatar for pritaeas
0
394
Member Avatar for devianleong

Hi guys, currently I have 3 groups of user which is A, B and C. A will handle tasks for first week, B will handle tasks for second week, C will handle tasks for third week, C will handle tasks for 4th week, A will handle tasks for 5th week, …

Member Avatar for cereal
0
140
Member Avatar for anmol.raghuvanshi1

I have been struggling from last few days in this problem and also my css knowledge is some what got expired! I want full page bootstrap carousel slider and i want some images over this slider[4 * 4] as shown this my attempt if any one can help ?? **JS …

0
137
Member Avatar for Amaina

I'm at my wits end, perhaps after working non stop for 7 hrs. I'm trying to develop a simple search engine using Php and Mysql. I have borrowed my idea of doing this from a wonderful [youtube tutorial](https://www.youtube.com/watch?v=OPmBJhhuwSM) by nick frosty. Unlike Nick, i'm not doing this the procedural way …

Member Avatar for rpv_sen
0
894
Member Avatar for James_43

Hi all, I'm quite a new developer, and I've spent a long time trying to figure out what is causing this error: "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" As far as I can tell, all my parameters are defined? My code is below: $mySQL_query = "INSERT INTO vd_users …

Member Avatar for James_43
0
168
Member Avatar for babir

Hello all, There is my table in database. want to delete multiple rows from MYSQL database. I have created this selectcon.php file to select various links and delete them using checkboxes. but it doesn't here is my code <!DOCTYPE html> <?php include("emty.php"); ?> <center> <?php include("dbcon.php"); $result = mysql_query("SELECT * …

Member Avatar for rpv_sen
0
326
Member Avatar for SimonIoa

Hello i have created an API account for oauth services. I did it so that our users could log in to our website through their google acount credentials i want to use that google API so that the users could import their contacts to out website and i am getting …

Member Avatar for SimonIoa
0
344
Member Avatar for nevek

Hi I have a php script which creates an xml file //Select the Database mysql_select_db("personeelsbestand",$db); $result = mysql_query("select * from XMLAfdeling", $db); //Create SimpleXMLElement object $xml = new SimpleXMLElement('<xml/>'); //Add each column value a node of the XML object while($row = mysql_fetch_assoc($result)) { echo $row['Afdelingnaam']."\n"; $mydata = $xml->addChild('mydata'); $mydata->addChild('AfdelingID',$row['AfdelingID']); $mydata->addChild('Afdelingnaam',$row['Afdelingnaam']); …

Member Avatar for nevek
0
512
Member Avatar for Nguyá»…n_6

Hi all, I have website links: $link = animeid.moe/stream/QXQt3tPjEPskXRE4MxGmU8/1439976893.mp4 Now I want to download video from this link. I searched and used different ways but no result. Help me. Tks all.

Member Avatar for Nguyá»…n_6
0
130
Member Avatar for kannasekar

Hi all. Here is my problem. I'm a newbie to PHP programming. For my project I just need to run 3 Insert statements in a single button click. The concept is I have a registration form. It has parent details and children details. If parents want to register more than …

Member Avatar for kannasekar
0
220
Member Avatar for Jiby_1

//How dinamically adding textbox and textarea of the given code can take after submit button is clicked in php? <!DOCTYPE html> <html> <head> <title>Add or Remove text boxes with jQuery</title> <script type="text/javascript" src="//code.jquery.com/jquery-latest.js"></script> <style type="text/css"> <!-- #main { max-width: 800px; margin: 0 auto; } --> </style> </head> <body> <div id="main"> …

Member Avatar for Jiby_1
0
218
Member Avatar for cyb3r khan

how to ransomize multiple choice questions from mysql database which i had imported from excel style sheet and then print it ..

Member Avatar for pritaeas
0
73

The End.