39,323 Topics

Member Avatar for
Member Avatar for nadiam

I am trying to update data but i get this error. `Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' username …

Member Avatar for nadiam
0
272
Member Avatar for Moin_3

[Click Here](http://dev.appcotech.com/pwrdup/static/become-postie.php)[1] UnderConstruction please go to upper link and click on SIGNUP TO DRIVE (Blue cruve Button) there will be a tab open type `london` (Not From Drop Down) only just type `london` and hit enter page will redirect to dev.appcotech.com/pwrdup/static/become-postie-vehicle.php page (This mean post keyword matched 100% with database) …

Member Avatar for pixelsoul
0
383
Member Avatar for praba_web

Hi there , How to write multiple update_batch query in codeigniter? My script is not working ... Please give some solutions for multiple update row using update_batch... getting below Error: A Database Error Occurred You must use the "set" method to update an entry. Filename: D:\xampp\htdocs\DEAL\system\database\DB_active_rec.php Line Number: 1273 mycontroller …

Member Avatar for praba_web
0
9K
Member Avatar for Paul_31

For some reason my forms have stopped working and I cannot get themt o send any emails. I have checked the server logs and I can see on form submition it throws the following error. PHP Notice: Undefined variable: email_message on line 21, <?php if(!isset($_POST['submit'])) { //This page should not …

Member Avatar for pritaeas
0
974
Member Avatar for Stefce

i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, match7, match8, match9, match10, match11, match12, match13, match14, match15, match16, tip1, tip2, tip3, tip4, tip5, tip6, tip7, tip8, tip9, tip10, …

Member Avatar for pritaeas
0
204
Member Avatar for Mushfik

How can i show user "Your account is not confirmed yet" when the login form check whether confirm column is YES (If yes then tke it to member page & if NO then shows that error message.) I already have error message for invalid details but I want a cofirmation …

Member Avatar for diafol
0
398
Member Avatar for jeffersonalomia

how can i display the name of the user after he/she logs in? Do i need to use ajax on it together with php? Please help me.. thank you :)

Member Avatar for joshl_1995
0
83
Member Avatar for Nathaniel10

I want to increase my knowledge of PHP by learning about classes. I wrote the following very simple test program. It works. But I would like to know improve it. I plan on writing more complex test programs and that won't be the time to iron out smaller issues. Thanks …

Member Avatar for diafol
0
441
Member Avatar for Mushfik

Please someone help. I want to put the $url which is created into $shorturl = to generate a custom url ($url actually outputs a http://something.com actual link) but don't know how. or can you help me put the $url in header("Location:" ## .$url ## ']); to redirect users to the …

Member Avatar for Mushfik
-2
248
Member Avatar for pavithra madda

i have a doubt that is i have login form like user name and password and after that doing some selections the page show an body of email like this and my question is how to send that body of email to all users in a database using php and …

Member Avatar for Gideon_1
0
261
Member Avatar for UK-1991

Hello delete record not working if(isset($_POST['delete'])) { $ida = $_GET['delete']; $coupen = $_GET["code"]; $update_query = "delete from shortenedurls where id=".$ida; $query = mysqli_query($connection, $update_query); if($query) { header('Location: ../coupon.php?id='.$id.'&code='.$coupen); exit(); } else { header('Location: ../update_link.php?id='.$id.'&code='.$coupen); exit(); } }

Member Avatar for UK-1991
0
200
Member Avatar for Priti_P

Hello, I wanted this in chronoform, to select timezone and then check for the time. I hav eprovided calendar below, but now I need to show timezones there. I am not getting this on google even. Does any master have idea about this?

Member Avatar for pritaeas
0
150
Member Avatar for edbr

im trying to work/modify with a class i downloaded. sadly im not getting it. I have yahoogled oop and its not making me any wiser. can some one explain please what i shold be doing? first of all the classes have a number of vars in the original form like …

Member Avatar for edbr
0
140
Member Avatar for jstfsklh211

Stupid constant in class declaration issue One of our live servers is still on php 5.3 and is breaking on the second line with this message Parse error: syntax error, unexpected '.', expecting ')' in ....... systemAdministrator is a defined constant that i can echo out with no problem before …

Member Avatar for diafol
0
256
Member Avatar for Kalaivani Nair

I'm referring to this tutorial: http://www.techfounder.net/2009/02/02/selecting-closest-values-in-mysql/ My query and code to execute search (This doesn't return any result).I need to get 100 closets value to the postcode given by user which is collected by $postcode = $data['postcode']; ERROR shown are: 1) Fatal error: in C:\wamp\www\search\ajax2.php on line 79 2) PDOException: …

Member Avatar for pritaeas
0
197
Member Avatar for UK-1991

Hello, I have created a website and clicnt needs a link shortner to be integrated on the website the link shortner and is of https://po.st they have an API key as well so please let me know how do I integrate the link shortner is there a way using an …

Member Avatar for UK-1991
0
243
Member Avatar for sanket044

Hello, I am using Multi Curl right now. THe problem is it was working for a month correctoly. But suddenly one day it stoped working. I am accessing about 50 different APIs. So, the problem is i cant connect to some APIs, when i use curl_error() it gives me response …

Member Avatar for sanket044
0
157
Member Avatar for Nguyá»…n_6

Hi all, I'm taking the content of the page html kissanime.com. I use curl taken but no way to get. Everyone helped me get this way with

Member Avatar for Nguyá»…n_6
0
251
Member Avatar for Benjamin_13

i would like to know how to make a filling form saved automatically without submit tag? i am just developping a mobile application! it will be a pleasure to have your surpport thank you

Member Avatar for Benjamin_13
0
147
Member Avatar for cristian.stilpeanu.1_1

Hi guys , I have a pretty big problem and I don't know how to fix it. I have a contact page that I did not work on my web hosting service. I tried the same contact page on several free hosting companiese and works without a problem. I sent …

Member Avatar for cereal
0
1K
Member Avatar for Nikhilesh_1

Hi, I have a query ... I have changed php max_execution_time in **php.ini** to say 600 seconds. It worked on Windows platform. However the same code doesn't work in Linux redhat5. I even tried **ini_set('max_execution_time', 600);** in a php file but it still executes its default time that is **10 …

Member Avatar for diafol
0
250
Member Avatar for phoenix254

I am trying to creating websocket with php and here is my connection that i used for create socket connection <?php if(!($sock = socket_create(AF_INET, SOCK_STREAM, 0))) { $errorcode = socket_last_error(); $errormsg = socket_strerror($errorcode); die("Couldn't create socket: [$errorcode] $errormsg \n"); } echo "Socket created \n"; //Connect socket to remote server if(!socket_connect($sock …

Member Avatar for jkon
0
536
Member Avatar for riwakawd

I have a helper function in codeigniter php where I can use helper like so load_controller('column_left', 'index'); for example "column_left" is the file and class name. How ever that works fine but I would like to be able to type a folder name in load_controller('some_folder/some_class', 'index'); and it would detect …

0
116
Member Avatar for Justin_14

Here's dish. When I submit a form, it straight up crashes my site on my network. Here are the details. 1. The form submits to itself. The form is on site.php (fictional name for reference on this post) and the action= "site.php". 2. When it crashes, it crashes for every …

Member Avatar for Justin_14
0
442
Member Avatar for Israel_2

I need help parsing json data to a specific format so I can put it on a line chart. More specifically a line graph using [highcharts](http://www.highcharts.com/demo/line-basic) This data comes from a query $data['graph']=$this->mymodal->graphmodal($id); foreach ($data['graph'] as $row) { //modify array.. } echo json_encode($data['graph']); The result this produces is the following …

Member Avatar for Israel_2
0
200
Member Avatar for Mike Askew

I have the following $subUsername = trim($_POST["user"]); $sql = "SELECT userID, username, password FROM user WHERE username = ':user')"; $q = $conn->prepare($sql); $q->bindParam(':user', $subUsername); $q->execute(); $result = $q->fetch(PDO::FETCHASSOC); print_r($result); echo "</p>"; print_r($subUsername); echo "</p>"; print_r($subPassword); However `$result` is always just an empty array, if I run the SQL on the …

Member Avatar for Mike Askew
0
371
Member Avatar for Stefce

I have this code for checking the username and ticket availability but something doesnt work well if someone can tell me whats the problem, this error shows me if i enter the right info `Invalid Ticket or Receiver` here is the code: <?php if(isset($_POST['sendTicket'])) { $ticketID = $_POST['ticketID']; $ticketReceiver = …

Member Avatar for cereal
0
439
Member Avatar for paul-lucas

Hello, This is my case: - In file abc.php, I have mentionned two other file as two tabs (tab1.php and tab2.php). Their links are: abc.php#tab1 and abc.php#tab2 - On tab2.php, I have a form: <form action="" method="POST"> <select name="slot" id="slot"> <option value="1"> <option value="2"> <option value="3"> </select> <input type="submit" value="Update" …

Member Avatar for paul-lucas
0
191
Member Avatar for stokie-rich

Morning guys hope that you are all well. need to pick your brains because I'm ready to bang my head against a brick wall. I'm building a multipolchoice quiz I want to just show 20 random questions from the 80 questions that I have in the question bank, in my …

Member Avatar for stokie-rich
0
248
Member Avatar for skthree

Hi, I need to create a image editing tool in php. I'm begginer to the php. I tried it in 'javascript' but I need it to create it in php. my javascript code also didn't work(crop box is didn't work properly even it didn't move). I have no idea to …

Member Avatar for skthree
0
380

The End.