39,320 Topics

Member Avatar for
Member Avatar for Whilliam

Hi guys. I've stayed away from web development for 2 years so forgive me if I'm a bit outdated. I'm planning to make a website. One of features is anti-spam registration. So, as the title says, I want to capture the client's IP Address and store it in the database. …

Member Avatar for matrixdevuk
0
274
Member Avatar for nadiam

hello i have this code: $event_id = $_POST['event_id']; $euser_id = $_POST['euser_id']; $getpic = $dbh->prepare("SELECT chair_id,chair_image,ext,posx,posy FROM cinema WHERE cuser_id = ? AND event_id = ?"); $getpic->bindParam(1, $euser_id, PDO::PARAM_INT); $getpic->bindParam(2, $event_id, PDO::PARAM_INT); $getpic->exectue(); but im getting error: `Fatal error: Call to undefined method PDOStatement::exectue() in.... on line 10`; line 10 being …

Member Avatar for nadiam
0
730
Member Avatar for OsaMasw

I've noticed recently there is a javascript tag generated in html code only while viewing page <script type="text/javascript" src="6_S3_"></script> search for it in file but couldn't find it, and am worried about this.

Member Avatar for Zvz
0
218
Member Avatar for Rabia_3
Member Avatar for imti321
0
108
Member Avatar for emaus9

index.html file <form id="form" method="post" action="formdata.php" enctype="text/plain" autocomplete="on" target="_blank"> <!-- onsubmit="return confirm('Your request have been submitted. Thank You.')" onsubmit="this.submit(); this.reset(); return false;">--> <fieldset> <legend>Get a FREE Quote</legend> <label for="flname">First and Last name:</label><input type="text" name="flname" autofocus placeholder="Please type your first and last name." size="40" required /><br> <!-- <label for="lname">Last name: </label><input …

Member Avatar for emaus9
0
194
Member Avatar for Stefce

Hello everyone have a nice day or night where ever you are so i hope i will have a great night if i fix this problem i have right here :D i have a array list with some match tips and i have a 16 input fields so i want …

Member Avatar for Stefce
0
213
Member Avatar for PinoyDev

good day! I have a php form. I have made some ajax validation on it but everytime i click the submit button it does not validate, and when I try to issue an alert command on ajax function, it returns undefined on certain variables? Here is my present code: <Form …

Member Avatar for PinoyDev
0
242
Member Avatar for VernonDozier

I have a Yahoo website that uses phpMyAdmin. I've been given the directive "Please run the script mysql_fix_privilege_tables that should be included in your MySQL server distribution to solve this problem!" I do not know how to run this script (or any script) through phpMyAdmin. I've been looking online and …

Member Avatar for Nishant_3
0
3K
Member Avatar for Jon94

Hi guys, im new here and new to web development. I want to build a marketplace for tutors where they can upload their profile and information. Students who want to find a home tutor can go there and find a suitable one by submitting a home tuition request. I want …

Member Avatar for almostbob
0
221
Member Avatar for AntonyRayan

<?php include('connect.php'); $upid=$_POST['id']; $upname=$_POST['categoryname']; $updesc=$_POST['description']; $newupid=mysql_query("update tbl_category set categoryname='$upname', description='$updesc' where id='$upid'")or die(mysql_error()); echo "<script type='text/javascript'> alert('Updated Successfully'); window.location.href='view.php';</script>"; ?> This is updated code. It works successfully. but I want to show alert box "Nothing can be updated" if no changes made. And it should have the same .

Member Avatar for pixelsoul
0
189
Member Avatar for PinoyDev

Good day! I just want a little help on how to get all data from mysqltable where month=january or feb.. etc. and year =2015 or maybe 2014 I have a table with datefield(yyyy-mm-dd) example dates data are: 2015-01-17 2015-02-17 2014-12-17 2014-10-17 2014-03-17 And I have a span list of months …

Member Avatar for PinoyDev
0
143
Member Avatar for fireburner29

sorry for my bad english... Is it possible to create a Pharmacy Portal(multi-Portals) online Pharmacy delivery system using Drupal commerce? It has multiple Pharmacy Portal (Pharmacy) in different locations which can be manageable by individual portal admins and Portal admin will have n number of medicals and medicals will have …

0
128
Member Avatar for Khoo

Currently I'm using xampp, and creating chat-app with AngularJS and integrated with Laravel framework. My AngularJS front-ends is actually placed in Laravel's views folder. And the back-ends stuff (Angular's controller, services) placed in public/app folder. I try to integrate chat-app template (front-end) into my video template. So it's actually a …

0
177
Member Avatar for Stefce

I have a little problem over here this code doesn't work well what is the problem if anyone know ? $getUsername = getUserData('Username'); $sql = "INSERT INTO `kladilnica` VALUES ('', '".$getUsername."', '".$betAmouth."', '".$gain."', '".$date."', '".$match1."', '".$match2."', '".$match3."', '".$match4."', '".$match5."', '".$match6."', '".$match7."', '".$match8."', '".$match9."', '".$match10."', '".$match11."', '".$match12."', '".$match13."', '".$match14."', '".$match15."', '".$match16."', …

Member Avatar for broj1
0
215
Member Avatar for double_cola

Hey guys. I have a function that is returning options that the user has selected. I need to get these options in an array for matching. Here is my rough code. $test = array(); $newVals = (printList($file_names)); $newArray = array_fill_keys($test, $newVals); if (in_array("this.pdf", $test, TRUE)) { echo "Match found<br>"; } …

Member Avatar for double_cola
0
213
Member Avatar for klemme

Hi all, I am using Ardent as a standalone package, together with Laravels Database package. Things are set up, and I can query just fine - But when I define my relations, I get a white screen when I try to dump the expected data. I have double checked and …

Member Avatar for diafol
0
313
Member Avatar for Stefce

Hello is there a way of checking the input field have a value but with out clicking a button, for ex. if i write any letter inside the field to give me result for example `hello` or something else...

Member Avatar for diafol
0
256
Member Avatar for fireburner29

Is there any simple PHP based backend system that has multi user and multi roles access control?

Member Avatar for fireburner29
0
499
Member Avatar for Ana_2

i want to add another function for level of access in this code. admin=3 artist=2 client=1. like that. but need some help to to that :( thankyou in advance (: <?php include('password.php'); class User extends Password{ private $_db; function __construct($db){ parent::__construct(); $this->_db = $db; } private function get_user_hash($username){ try { …

Member Avatar for fireburner29
-1
234
Member Avatar for sergio_pb

Hello guys, I create an aplicattion for read value from a PLC. When I used one function socket the php page works fine, but when i put two or more I need around 20secundes to open one php. Somene Knwos i can improve my code or sockets in php are …

Member Avatar for sergio_pb
0
562
Member Avatar for Stefce

Hello i have this code and something isn't working but i dont know what, the code it does not updating the database at all and i don't get any errors. <?php if(isset($_POST['howMuch']) && isset($_POST['where'])) { $howMuch = $_POST['howMuch']; $where = $_POST['where']; if(!empty($howMuch) && !empty($where)) { $user_mBalance = getUserData('payCheck'); if($howMuch > …

Member Avatar for broj1
0
458
Member Avatar for ernesto22

i have a problem with generating a one time password that will expire once used or after a few miute. this is what i want to do page 1. create a captcha. if verification is valid then direct me to page2 page 2. this page asks for my name or …

Member Avatar for ernesto22
0
226
Member Avatar for harishprakash
Member Avatar for admins
Member Avatar for rpv_sen

Hi I am having two textbox, textbox1 is having autosuggest feature. i want to display related value based on textbox1 value. can any one pls help me. i collected the code from internet **Output Example** Report Name : PHP Report Version: It has to display the Verison from the database. …

Member Avatar for rpv_sen
1
460
Member Avatar for AntonyRayan

how to change the password for already existed user in php can anyone give me the sample code?

Member Avatar for AntonyRayan
0
293
Member Avatar for sandeepgkumar
Member Avatar for AntonyRayan

How to show multiple pictures in between a period of time. Can anyone give me with example?

Member Avatar for AntonyRayan
0
110
Member Avatar for harishprakash
Member Avatar for Priti_P

Hello, I want to fetch database table in csv file format. I tried but in my output file every fethced line is getting printed on new line. code is as below <?php $host="a.b.c"; $uname="root"; $pass="test"; $database ="TEST"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); // Fetch Record from Database $output = ""; $table = …

Member Avatar for Priti_P
0
224

The End.