Member Avatar
hya all i have sorted the checkbox group out and its echoing through ok but its also echoing through userid, username twice and email address when all i want is to echo options ticked any ideals of what can be causing this please php block at top of page: ... …
by janicemurby in Web Development ()
Member Avatar
Hello i want to make notification when new message is received, i have a row ... with values ... and ... if is 0 then its unread else is seen i got this code but when it displays the output shows the number of rows but for example i have …
by Stefan_1 -3 in Web Development ()
Member Avatar
My php file connnects to my sql database , following code works ... after that a staff listing which is written in html shows BUT if i use following code to get data out of my sql to display I only get a blank screen ... I wonder where is …
by latrellvie in Web Development ()
Member Avatar
i have followed a tutorial for a working checkbox group after failed attempts with others. On test file it was working but when i add it to my site i dont get any results after submitting form. First of all here is the file from tutorial. Sorry in advance for …
by janicemurby in Web Development ()
Member Avatar
hi i have followed a online tutorial to replace photo system on my site and all went well till i attempt to upload photo i get no file selected even if i have just gone on the page but after pressing submit i get a success message and the photo …
by janicemurby in Web Development ()
Member Avatar
hi i got another syntax error in a script that i am fixing to add onto my main site can someone take a look to see whats going off this error is You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …
by janicemurby in Web Development ()
Member Avatar
hi i managed to change my site from mysql to mysqli with all your help although i have one line thats causing me problems in inbox.php can someone check this out and see whats wrong the error im getting is Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given …
by janicemurby in Web Development ()
Member Avatar
PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given on line 31 ... if anyone can see whats going off on this be much appreciated ty
by janicemurby in Databases ()
Member Avatar
I'm trying hard with displaying details from a selected option in a drop down list for my project. I have a drop down list which is populated from a MYSQLi query. I want the user to select an option and the values associated pulled from the database and displayed to …
by Abbas Ansari in Web Development ()
Member Avatar
hi i have just picked up a script of the net for my site and when i uploaded in onto my site i get the following message: Warning: Cannot modify header information - headers already sent by (output started at /home/matureco/public_html/new/php/connection.php:4) in /home/matureco/public_html/new/php/session.php on line 19 ive tried different things …
by janicemurby in Web Development ()
Member Avatar
Hii..this is mysql query ... i need to convert this into ** mysqli**. Any Help??
by shashigowda in Databases ()
Member Avatar
Hello to everyone, Currenty I have a php project that uploads files to the server and save some extra information into the database. My problem is that I want to make a feature that copies a folder structure with files included to a database. I am trying to copy the …
by klaus.veliu in Web Development ()
Member Avatar
The program below is just a simple test to see if I can get it to fetch the correct data from MariaDB and then display it on the screen but so far I'm not having any luck. I left the action attribute's value blank because I want the PHP form …
by lewashby 14 in Web Development ()
Member Avatar
I have a problem with mysqli syntax. I really can't see what the problem is in this code. I dont know much about it. When i use it on a function like this ... its ok when i am trying to use it like i did natively on a page …
by SimonIoa 39 in Web Development ()
Member Avatar
I posted earlier today about converting my MySQL to MySQLi - Upon further research I came across the following, Prepared Statements. It seems that this may be a good way to go but I am a bit confused about how to implement it. I am simply taking User-entered data from …
by mattyd 89 in Databases ()
Member Avatar
Hello. I am beginning the process of coverting all of my MySQL to MySQLi. I have been doing much research on this but find it a bit confusing. I have two questions at this point regarding the matter: 1) What does it exactly mean to "escape" a string and where …
by mattyd 89 in Databases ()
Member Avatar
Hi guys! I have a database which holds a table called users. in there i have a balance column which contains a numeric value. I have the following code and for some reason it doesnt work: ... I have a textbox called newBalance and want the update statement to add …
by spud91 in Web Development ()
Member Avatar
Have a gpps sending data to mysql db, but am having hard time ploting the values on google map. My javascript skills are not very good, pls help... javascript code php code am at a lot as to how to get lat and lon values to show on map...
by accra 1 in Web Development ()
Member Avatar
I am inserting answer of each of my questions I need to get the question id and inserted into the answer table see my code <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" id="quiz" class="container width_648"> ... What I am getting now is the last question id for all the answers I need …
by johnef_sh in Web Development ()
Member Avatar
I have a form that has two parameters amenities and attributes. The amenities parameter has a dropdown menu that whose value gets populated from a separate table. The second parameter is attribute whose value will be entered by the user and will get saved in a database. View of database …
by learner001 in Web Development ()
Member Avatar
I am using PHPASS to store password encrypted and compare when login. here is the code ... so far it always give the same message 'Invalid Login Information' I have made the registration form that store my password like this. ... when I checked my database the password seems hashed …
by johnef_sh in Web Development ()
Member Avatar
I am try to figure out how to check current time against time in database and header the user to "expired page" if the current time is greater than the one in database "1 hour" ...
by johnef_sh in Web Development ()
Member Avatar
I'm converting old MySQL code to MySQLi, and running into some questions. When selecting data from the database, is it necessary or strongly advised to use prepared statements, or can I safely escape my user-derived parameters like the sample below? In a perfect world I'd have all the time I …
by scaiferw 15 in Web Development ()
Member Avatar
Hi, am interfacing gps tracker TK106 with our online platform. The data we get from gps device is in this format Instractions form explains the variours data sets in the string above, for example the first 11 digits is the device's programmable ID ,used in placed of the IMEI number.The …
by accra 1 in Web Development ()
Member Avatar
Hi, i found this code online. After installing and running code on my website, the screen shows nothing back, though code is firmly in place. Php code here
by accra 1 in Web Development ()
Member Avatar
I want if the user clicks submit to return the the selected value when the form reloads that what I try and no luck clearing the question I have a validation for every field on the form so if any of this fields return false the options on the drop …
by johnef_sh in Web Development ()
Member Avatar
Is there another function for creating php sockets apart from this ? Really need to know, thanks.
by accra 1 in Web Development ()
Member Avatar
Hi I have a problem with inserting into the database. This is my code :
by keloa in Web Development ()
Member Avatar
Hello, i want to allow my users to reset their passwords if they forget it. My problem is that i lose the code sent to user via email, if this is the link sent to user via email , when the user get to forgot.php and type in the new …
by accra 1 in Web Development ()
Member Avatar
I have this form to send an email and the visitor can send an attachment with his email as will everything gos well the email sent but the attachment comes to the email like this this is my php code to send my email Now I understood the problem, but …
by Yousef Altaf in Web Development ()