Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
85% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~69.8K People Reached
Favorite Tags

98 Posted Topics

Member Avatar for janicemurby

hi my husband is customising a website template and wants to add content over a teransparent image but when he adds the tex it goes underneath how can he do this here is where the image is placed `<div id="homepage" class="clear">` `<section class="main_slider"><img src="images/demo/1200x400.gif" alt="">` `</section>` and a preview of …

Member Avatar for anand9796
0
749
Member Avatar for janicemurby

hi all i have recently purchased a script and im attempting to fix it would anyone know how to solve these 2 errors which appear to be coming from this function [09-Jun-2018 12:40:57 UTC] PHP Warning: Division by zero in /home/public_html/includes/functions.php on line 126 [09-Jun-2018 12:41:19 UTC] PHP Fatal error: …

Member Avatar for rproffitt
0
318
Member Avatar for janicemurby

hi all im getting the following error PHP Notice: Array to string conversion in /home/public_html/includes/database.php(23) : eval()'d code on line 1 in this file <?php $link = @mysqli_connect($hostname, $username, $password, $database); if (!$link) { die('Could not connect !'); exit(); } else{ mysqli_set_charset($link,'utf8'); } $sqlcf = 'select Variable, Value from '.$table_prefix.'site_settings …

Member Avatar for alan.davies
0
3K
Member Avatar for janicemurby

hi all im attempting to update coryApp script and im getting the following error PHP Warning: Division by zero can anyone help on this please be much appreicated heres is where the error is coming from if(isset($error) && !empty($error)) echo '<p style="margin:0px; padding:5px 20px"><font color="#FF0000"><small><i>'.$error.'</i></small></font></p>'; $config['showeachside'] = 4; $config['per_page'] = …

Member Avatar for jstfsklh211
0
780
Member Avatar for janicemurby

hi im attempting to update a script from coryApp and im getting the following error PHP Notice: Undefined offset: 11 here is the code where it is coming from can someone point me in the right direction on this ty jan x <td width="15%" class="headrows4" valign="top" align="left"> THIS LINE >>><p><input …

Member Avatar for ryantroop
0
3K
Member Avatar for janicemurby

hi ive done a piece of code for if select a region the postcodes pop up for that region all works on a seperate file but if i put on my working script it doesnt work any help would be much appreciated here is test code <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for AndrisP
0
363
Member Avatar for janicemurby

hi im working on a php script and i have come across the following error does anyone have a ideal what can cause this the error is: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/letsswin/public_html/dating_V1/dating/admincp/educations.php on line 74. the code where it …

Member Avatar for ryantroop
0
718
Member Avatar for janicemurby

hi im attempting to update a php srcipt and fixing errors and i have a error in the following block but cannot work out where if($_SERVER['REQUEST_METHOD']=='POST' && isset($_POST['smcomplete'])){ if(empty($_POST['abouth'])) $err_h = $aboutherorhis; elseif(strlen($_POST['abouth'])<6) $err_h = $datashort; else{ ERROR ON THIS LINE>>> $match = ($_POST['matchsame']=='on')?1:0;slBodyType'], $_POST['slHeightfrom'], $_POST['slHeightt $data = array($_POST['rdgender'], $_POST['slagefrom'], …

Member Avatar for janicemurby
0
298
Member Avatar for janicemurby

hi all im trying to update a script i found on a disk for a member site and im struggling with the following error PHP Notice: Array to string conversion in /home/public_html/dating_V1/dating/includes/database.php(20) : eval()'d code on line 1 heres the code for that section of php <?php $link = mysqli_connect($hostname, …

Member Avatar for janicemurby
0
247
Member Avatar for janicemurby

Hi i have several user types i.e female, male couple etc and when they register each group goes to there own page for profile setup but when they login they go to one standard profile page that came with script how would i redirect them to there own profile page …

Member Avatar for broj1
0
213
Member Avatar for janicemurby

hi all im attempting to update some script and i have a undefined error in a page see coding for error $column = "select * "; $sql .= " from favorites where user_id = '".$_SESSION['userid']."' "; of which the information a want to echo shows up so when i put …

Member Avatar for rproffitt
0
458
Member Avatar for janicemurby

hi all im wondering what i can do to stop this happening advsearch_result.php?city=&country=&gender=a+man&fage=18&lage=99&accomodate=I+can+Accomodate&minheight=152&sexuality=Straight&bodytype=&race=&piercings=No+piercings&tattoos=No+tattoos&dodrink=&smoker=&pincode=&multipleint=&seeking=a+man&meet_type=&travel=I+can+travel&maxheight=213&partner_sexuality=Straight&partner_body_type=Athletic&partner_race=&partner_piercings=No+piercings&partner_tattoos=No+tattoos&partner_drinking=Don't+drink&partner_smoker=&button.x=90&button.y=19 every time i click submit on a form all this come in address bar after file name the code is currently set as $male = $_GET['gender']; $seek = $_GET['seeking']; $age1 = $_GET['fage']; $age2 = $_GET['lage']; etc ... …

Member Avatar for diafol
0
230
Member Avatar for janicemurby

ive just done a simple register form where i can check username exists and before i put the username exists in the register works but when i have the username check in it doesnt work can someone check this over for me the script and error log are as follows: …

Member Avatar for janicemurby
0
725
Member Avatar for janicemurby

Hi im ageeting the following error in my script can anyone find a fix or solution hus jan x Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/letsswin/public_html/template_pageTop.php on line 7 Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/letsswin/public_html/template_pageTop.php on line 8 //check …

Member Avatar for Teri_1
0
344
Member Avatar for janicemurby

hi all im trying to place this piece of coding in a table that i iam echoing if anyone has any ideas as been trying for last god knows how long $fetch_img1 = mysqli_fetch_array(mysqli_query($conn,"select user_image from user_images where user_id = '".$show_id."' and main_image = '1' ")); $show_image = $fetch_img1['user_image']; ?> …

Member Avatar for diafol
0
169
Member Avatar for janicemurby

hi ive got a html table echoing through php and im having problems displaying image in the table heres what i have so far if($fetch_image['user_image']!='') { echo '<td>'.$fetch_image['user_image'].'</td>'; } else { echo '<td>'.<img src='images/blank_big.jpg' height='150px;' width='150px;' />.'</td>'; } and here is the fetch section $user_image = mysqli_query($conn,"select * from user_images …

Member Avatar for cereal
0
371
Member Avatar for janicemurby

good got job nearly finished but one slight glitch i have 2 entries in database but only one is showing twice in table results how can i get to show both results heres code fetch and connection block <?php include("config/db_connect.php"); //include("config/ckh_session.php"); $sql = "SELECT * FROM meets"; $result = mysqli_query($conn, …

Member Avatar for janicemurby
0
449
Member Avatar for janicemurby

hi i have a form for members to fill in and i want there own personal submissions under form where i will be adding options but it will only work if i put the submitted data above form else i get white screen heres my coding **top php block ** …

Member Avatar for diafol
0
262
Member Avatar for janicemurby

hi all ive got a file to display info from database and im trying some way to fetch username from another table for it i have put this at top of file. <?php $query = mysqli_query($conn,"select * from user"); $fetch_user = mysqli_fetch_array($query); ?> and here is the section for displaying …

Member Avatar for janicemurby
0
318
Member Avatar for janicemurby

hi im attempting to add mysqli_real_escape_string into form to make more secure and after i added it in code below $event_type = $_POST['event_type']; $event_date = $_POST['event_date']; $event_country = $_POST['event_country']; $event_postcode = mysqli_real_escape_string($conn, $_POST['event_postcode']); $event_title = mysqli_real_escape_string($conn, $_POST['event_title']); $event_description = mysqli_real_escape_string($conn, $_POST['event_description']); $event_ltm = $_POST['event_ltm']; like so and go to fill …

Member Avatar for janicemurby
0
253
Member Avatar for janicemurby

hi im struggling with this error see section below if anyone can help be much appreciated ty jan x <?php include("config/db_connect.php"); include("config/ckh_session.php"); // Inserting user Details code if(isset($_POST['submitmeet'])) { $event_title = addslashes($_POST['event_title']); $description = addslashes($_POST['description']); $insert = mysqli_query($conn,"update meets set event_type = '".$_POST['event_type']."' , event_date = '".$_POST['event_date']."' , stateid = …

Member Avatar for janicemurby
0
1K
Member Avatar for janicemurby

hi i have the following form where a member chooses how long they want to be be displayed on another page like example below <select name="hours"> <option value="1"<?php if(!empty($hours)) {?><?php if($_POST['hours']=="1") { echo "selected"; } ?><?php }?>>1</option> <option value="3"<?php if(!empty($hours)) {?><?php if($_POST['hours']=="3") { echo "selected"; } ?><?php }?>>3</option> <option value="6"<?php …

Member Avatar for diafol
0
228
Member Avatar for janicemurby

hi im attempting to update a script and i have come across the following error PHP Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in so here was the orginal $sql = "select * from chat where (chat.to = '".mysqli_real_escape_string($_SESSION['usernamechat'])."' AND recd = 0) order by id ASC"; …

Member Avatar for diafol
0
9K
Member Avatar for janicemurby

hi ive picked up a script and although ive put database details in its not picking them up heres the database file ommiting my database details of course config.php <?php ob_start(); session_start(); ini_set("display_errors", 0); $hostname = "localhost"; $database = "matureco_test"; $password = "xxxxx"; $username = "xxxx"; and heres the database …

Member Avatar for Dani
0
231
Member Avatar for janicemurby

hi i have the following error [09-Nov-2016 16:22:28 America/Chicago] PHP Notice: Undefined index: HTTP_REFERER in /home/matureco/public_html/index.php on line 224 [09-Nov-2016 16:22:28 America/Chicago] PHP Notice: Undefined index: email in /home/matureco/public_html/index.php on line 225 ive checked and they are in the php block see code below can anyone tell me why this …

Member Avatar for diafol
0
357
Member Avatar for janicemurby

Hi all im currently updating a script and repairing it after a page full or errors most ive done through searching but im stuck on this on if anyone can help be much appreciated jan PHP Notice: Only variables should be passed by reference on line 16 the piece of …

Member Avatar for ryantroop
0
754
Member Avatar for janicemurby

im attempting to add date of birth and age to a form and database the date of birth works fine and shows in database as it should be but the age is showing 0 in age column ive tried different things after searching and its staying the same heres the …

Member Avatar for janicemurby
0
205
Member Avatar for janicemurby

hi all im trying to update a script and i have the following errors which ive googled and im lost if anyone can help be much appreciated ty jan x PHP Notice: Use of undefined constant prepare_insert - assumed 'prepare_insert' in /home/matureco/public_html/UPLOADIMAGE/config/db_connect.php on line 32 code for this error is …

Member Avatar for cereal
0
1K
Member Avatar for janicemurby

hi all im in the middle of following a tutorial online for a rating system and im encountering a problem when i click a number of 1/5 to rate a topic the rating is not going into the database can someone check the code to see what going off sql …

Member Avatar for cereal
0
294
Member Avatar for janicemurby

hi im not sure if come into the right section but im looking at adding a chatroom to my site for my users to use and im wanting it where they dont have to log in or register to chatroom instead they login on site and the username is same …

Member Avatar for mblan180131
0
209
Member Avatar for janicemurby

hi i have followed a friends tutorial for my website and all is working upon production but when im attempting to add it to my site im having problems getting the following to show up in my page none of the links in the php block are showing up ive …

Member Avatar for janicemurby
0
248
Member Avatar for janicemurby

Hi im wondering if someone can guide me where to go im looking for a system where a user can stop another user contacting them via message system on my site ive search ignore user and block user but there is nothing for custom built sites only things like word …

Member Avatar for janicemurby
0
170
Member Avatar for janicemurby

hi im attempting to keep a group of tick boxes ticked after i refresh the browser in been through the forums trying different solutions but anything ive tried doesnt work if anyone has a solution to this be much grateful index.php <?php session_start(); include ('connect.php'); ?> <div class="main"> <h2>PHP: Get …

Member Avatar for janicemurby
0
2K
Member Avatar for janicemurby

hi i have a events script for users if the user submits a event then the event shows up fine but if they add another event it over rights the previous event how can i stop that where they can add more than one but maximum 4 as one time …

Member Avatar for gabrielcastillo
0
163
Member Avatar for janicemurby

hi all i have got a problem with my profile photo upload script after converting to mysqli everytime i go to upload a image i get the following error: Strict Standards: Only variables should be passed by reference in /home/matureco/public_html/registration2.php on line 11 and the code for that section is …

Member Avatar for janicemurby
0
278
Member Avatar for janicemurby

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: <?php …

Member Avatar for ryantroop
0
249
Member Avatar for janicemurby

hi all ive tried different things to solve this like remove any white space in php but i cant seem to get rid of this error can anyone suggest anything please. <?php include("connect.php"); ?> <?php // define variables and set to empty values $usernameErr = $emailErr = $passwordErr = $sexErr …

Member Avatar for ryantroop
0
526
Member Avatar for janicemurby

at last i got the checkboxes to work and add to database but the only this i need advice on if i refresh the page the selected items disappear how can i solve this the php file is as follows <?php include("config/db_connect.php"); extract($_POST); $check_exist_qry="select * from interests"; $run_qry=mysqli_query($conn,$check_exist_qry); $total_found=mysqli_num_rows($run_qry); if($total_found …

Member Avatar for janicemurby
0
373
Member Avatar for janicemurby

hi i have a script created for me and im attempting to add user_id so it it gets the userid from the users table so far i have done CREATE TABLE IF NOT EXISTS `checkbox` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(50) NOT NULL, `male` varchar(10) COLLATE utf8_unicode_ci NOT …

Member Avatar for diafol
0
357
Member Avatar for janicemurby

ive just followed a tutorial where if a user chooses to delete there account and after i click delete account i get the following message Unable to delete user account! can someone check this out for me please delete.php <?php include ('dbconnect.php'); if (isset($_GET['del'])) { $user_id = $_GET['del']; $delete = …

Member Avatar for diafol
0
214
Member Avatar for janicemurby

hi im attempting to get all selected checkboxes to show in a database column. But ive tried adding a sql string for database to the code below to add the selected to database but nothing is coming up. where is it best to add the string <?php $aDoor = $_POST['formDoor']; …

Member Avatar for Galbatorix
0
173
Member Avatar for janicemurby

hi all i have duplicated a script i had created and adapted it to something else i want and now im getting a Fatal error: Call to undefined function get_interests_data_from_post() in /home/jktempla/public_html/checkboxes/check.php on line 8 can someone help with this heres the coding for that section <?php include("connection.php"); $interests = …

Member Avatar for rubberman
0
399
Member Avatar for janicemurby

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 …

Member Avatar for ryantroop
0
247
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
202
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
224
Member Avatar for janicemurby

hi im wondering what the difference between mysqli_escape_string and mysqli_real_escape_string as i have a error on mysqli_escape_string and when i go to google error im just getting results in with mysqli_real_escape_string

Member Avatar for portjm
0
79
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
334
Member Avatar for janicemurby

PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given on line 31 $insert = mysqli_query ($conn," insert into user set user_name = '".$_POST['uname']."' , age = '".$age."' , page = '".$page."' , user_password = '".$password."' , user_birthdate = '".$user_birthdate."' , puser_birthdate = '".$puser_birthdate."' , user_gender = '".$_POST['gender']."' , user_country = …

Member Avatar for rubberman
0
13K
Member Avatar for janicemurby

hi im following a tutorial and when i went to test the login i press login but nothing happens can anyone check the code as i cant se whats up with the form <?php session_start(); include("includes/database.php"); if(isset($_POST['login'])) { $email = mysqli_real_escape_string($con,$_POST['email']); $pass = mysqli_real_escape_string($con,$_POST['pass']); $get_user = "SELECT * FROM users …

Member Avatar for janicemurby
0
191
Member Avatar for janicemurby

HI im getting the following error Warning: Invalid argument supplied for foreach() in /home/jktempla/public_html/includes/class-query.php on line 106 in the following bit of coding can anyone see whats happening public function do_user_directory() { $users = $this->load_all_user_objects(); foreach ( $users as $user ) { ?> <div class="directory_item"> <h3><a href="/social/profile-view.php?uid=<?php echo $user->ID; ?>"><?php …

Member Avatar for Johnny1
0
469

The End.