Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~11.5K People Reached
About Me

A guy with face shimmering brightly in the pitch black darkness…and eyes like all the stars in the sky gathering as one…a guy who says some pretty corny stuffs like eternity does exist...and also I think its a lot easier to place the blame on yourself…

Favorite Tags
Member Avatar for RonKevinT.Manuela

I'm new to git bash using console2: what Im trying to do here is to "ti build -p android -T device" but at the end it shows me the following error events.js: 72 throw er // unhandled 'error' event ^ Error: spawn OK at errnoException(child_process.js:980:11) at childProcess._handle.onexit(child_process.js:771:34)

0
109
Member Avatar for RonKevinT.Manuela

So Im using jqueryui datepicker..already set the dateformat to mysql format but sadly it still won't insert into my EventDate field..EventDate has a Date datatype.. <script> $(function() { $( "#datepicker" ).datepicker({ dateformat: "yyyy-mm-dd", changeMonth: true, changeYear: true }); }); </script> Maybe there's something wrong with my submit? <form role="form" action='' …

0
113
Member Avatar for RonKevinT.Manuela

I'm having a hard time thinking of a way to make a form for events.php(User adds an event by inputting Event Name and Event Date) I have made a table "Events"; with Fields 1. EventID int 2. EventName varchar 3. EventDate Date---->this is the problem mysql uses Year-Month-Day format. I …

Member Avatar for diafol
0
225
Member Avatar for RonKevinT.Manuela

I have here an integrated version of my code into a modal... This code gives undefined index id <!-- Edit-Page Modal --> <div class="modal fade" id="edit-pages" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <h4 class="modal-title" id="myModalLabel">Edit Page</h4> </div> <div class="modal-body"> <?php …

Member Avatar for diafol
0
738
Member Avatar for RonKevinT.Manuela

This code works fine except for the fact that it doesn't display what I queried on posts tabs...only this part of the code with an id=pages displays my query..i checked if I have a wrong query but it works when I change the include("../includes/mainpanelpage.php") to include("../includes/mainpanelpost.php")...meaning only the code inside …

0
98
Member Avatar for RonKevinT.Manuela

I am able to delete the file from the database but not the file found on a folder associated with it...is there somethign wrong? <?php include("../includes/mysqliconnect.php"); include("../includes/config.php"); if(isset($_GET['delpost'])){ $delpho = $mysqli->query("SELECT * FROM photos where imageID=$imageID"); $run=mysqli_fetch_array($delpho); $imageName=$run['imageName']; $dir = '/uploads'; unlink($dir.'/'.$imageName); $stmt = $db->prepare('DELETE FROM photos WHERE imageID = …

Member Avatar for mark.suner
0
303
Member Avatar for RonKevinT.Manuela

Is it possible to list down all files from a folder then have an option to delete them one by one?if so, can you give me the right way to do it?not the code but the step by step tutorial or explanation..well if its a code I just hope I …

Member Avatar for diafol
0
275
Member Avatar for RonKevinT.Manuela

Im trying to convert mysql query to mysqli but it doesnt work...why? From: mysql_query("UPDATE views SET views=views+1 WHERE viewID='1'"); To: $q1=$mysqli->query("UPDATE views SET views=views+1 WHERE viewID='1'"); Errors: Notice: Undefined variable: mysqli in C:\wamp\www\SICS\home.php on line 5 Fatal error: Call to a member function query() on a non-object in C:\wamp\www\SICS\home.php on …

Member Avatar for gabrielcastillo
0
369
Member Avatar for RonKevinT.Manuela

So basically, I want to require the user to select from the checkbox Here is addpost.php <form action='' method='post'> <p><label>Title</label><br /> <input class= "form-control" type='text' name='postTitle' value='<?php if(isset($error)){ echo $_POST['postTitle'];}?>'></p> <p><label>Description</label><br /> <textarea name='postDesc' cols='60' rows='10'><?php if(isset($error)){ echo $_POST['postDesc'];}?></textarea></p> <p><label>Content</label><br /> <textarea name='postCont' cols='60' rows='10'><?php if(isset($error)){ echo $_POST['postCont'];}?></textarea></p> <!--For textarea's …

0
102
Member Avatar for RonKevinT.Manuela

lets say a news and events tab is clicked and it shows news...by clicking read more you may view the whole content of the news including the image present inside...is there a way to display the image on the news tab without clicking the read more button?

Member Avatar for gabrielcastillo
0
85
Member Avatar for RonKevinT.Manuela

Just a quick question...S_SESSION['variablename'] only works on php files within the same folder?

Member Avatar for RonKevinT.Manuela
0
107
Member Avatar for RonKevinT.Manuela

Errors: 1. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in C:\wamp\www\SICS\includes\submitcategory.php on line 75 2. PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\SICS\includes\submitcategory.php on line 75 <?php …

Member Avatar for RonKevinT.Manuela
0
2K
Member Avatar for RonKevinT.Manuela

Ok so I was asked to add user logs on the website....problem is, I dont know what that is...what it does, what should be considered...why is it important...i tried google but I failed to understand why i have to do user logs....Can anyone give me some tips/ insights..etc...thanks in advance!..

Member Avatar for pritaeas
0
116
Member Avatar for RonKevinT.Manuela

Can you test google analytics even when im just running the website Im doing in localhost? (Mysql)..if so, how should I do it or( give me the link to its tutorial)?

0
94
Member Avatar for RonKevinT.Manuela

SO I found a javascript I want to use: <script type="text/javascript"> function FindNext () { var str = document.getElementById ("findInput").value; if (str == "") { alert ("Please enter some text to search!"); return; } if (window.find) { // Firefox, Google Chrome, Safari var found = window.find (str); if (!found) { …

0
103
Member Avatar for RonKevinT.Manuela

Just a quick question. can you activate a browsers ctrl+F functionality using php?Like click the button and ctrl+f activates

Member Avatar for RonKevinT.Manuela
0
487
Member Avatar for RonKevinT.Manuela

Here is a php file that i HAVE...so at the moment it displays the latest news on the site but I want to add 5 more...how should my query be? <?php $stmt = $db->query('SELECT postID, postTitle, postURL, postDesc, postDate FROM posts where postid=(SELECT max(postID) from posts)'); while($row = $stmt->fetch()){ $output …

Member Avatar for RonKevinT.Manuela
0
194
Member Avatar for RonKevinT.Manuela

Ok so here's the thing my classmate did a very good html file...this is the basis of the design of our homepage...there is a part where I should put the news on a collapsible group blah blah..i need help Here's the query to show news and events(nevermind the paginator Im …

Member Avatar for RonKevinT.Manuela
0
270
Member Avatar for RonKevinT.Manuela

Okay so Im gettin an error of Fatal error: Call to a member function fetch_array() on a non-object in C:\wamp\www\Usersearch\search.php on line 54...Im trying a tutorial on AJAX live search...http://ninetofive.me/blog/build-a-live-search-with-ajax-php-and-mysql...I only replaced the database connection to my own database... here's the Usersearch.php <?php /************************************************ The Search PHP File ************************************************/ /************************************************ …

Member Avatar for RonKevinT.Manuela
0
3K
Member Avatar for RonKevinT.Manuela

So, my groupmate designed the look of our website...I was trying to integrate it with the other code....I decided to first do the login form....i dont know but I cant get it to work...-_- 1. lets start from the config.php: <?php ob_start(); session_start(); include('functions.php'); //database credentials define('DBHOST','localhost'); define('DBUSER','root'); define('DBPASS',''); define('DBNAME','sics'); …

0
107
Member Avatar for RonKevinT.Manuela

A couple of weeks ago my laptop experienced wrong input of keyboard on some keys...adjacent keys or keys near each other tend to be typed even though only one key is pressed..for a while now i have been using a usb keyboard then suddenly my laptop's keyboard worked fine...i didnt …

Member Avatar for oriclon
0
277
Member Avatar for RonKevinT.Manuela

code works fine...but I have a bunch of photos which are jpeg and they cant be uploaded while the other jpeg photos are able too...its really weird..oh well here's the code... <?php error_reporting(0); mysql_connect('localhost','root',''); mysql_select_db('uslt'); ?> <html> <head> <title>Album Gallery</title> <link rel='stylesheet' href='style.css'> </head> <body> <div id='body'> <?php include('title_bar.php');?> <div …

Member Avatar for RonKevinT.Manuela
0
177
Member Avatar for RonKevinT.Manuela

It seems it only executes the first line in which for example in uploading a .PNG photo it changes the format to Jpeg....I guess it has something to do with my if elseif else statement.....help :p <?php if (isset($_POST['submit'])) { $name= $_POST['name']; $album_id=$_POST['album']; $file=$_FILES['file']['name']; $file_type=$_FILES['file']['type']; $file_size=$_FILES['file']['size']; $file_tmp=$_FILES['file']['tmp_name']; $random_name=rand(); if(!empty($name) or …

Member Avatar for RonKevinT.Manuela
0
173
Member Avatar for RonKevinT.Manuela

Okay so a few days ago I finished a tutorial of photo gallery...I'm having problems of putting images other than jpg format...the one who made the tutorial said that you can add formats to be uploaded but he didnt show it..here was his code in his upload.php...I tried experimenting on …

Member Avatar for mattster
0
187
Member Avatar for RonKevinT.Manuela

/*Ok so I have this code and it works fine but the problem is that it gives an out put like this one: 2014 June 2014 August Supposedly I would like to have august just below June...I tried putting the Group by Year(Postdate)..and it almost gave me the solution but …

Member Avatar for RonKevinT.Manuela
0
127
Member Avatar for RonKevinT.Manuela

Okay so the code is able to generate the files but I have a problem with files that are saved with space...when user clicks on the link it says page not found...example a file with a filename of "research proposal" gives the error Not Found The requested URL /simpleblog/kcfinder/upload/files/ was …

Member Avatar for RonKevinT.Manuela
0
130
Member Avatar for RonKevinT.Manuela

i wanted to list down files found on a folder..so far it works but I also want it to be a link..one click and file will be downloaded.. <?php // directory path can be either absolute or relative $dirPath = '../kcfinder/upload/files'; // open the specified directory and check if it's …

Member Avatar for RonKevinT.Manuela
0
292
Member Avatar for RonKevinT.Manuela

SO i WAS TESTING my code..and it doesnt seem to work...here it is <?php require_once('../includes/config.php'); if ($_Session['roleID']=1) { echo "admin"; } elseif ($_Session['roleID']=2) { echo "faculty"; } ?>

Member Avatar for RonKevinT.Manuela
0
803
Member Avatar for RonKevinT.Manuela

hello masters, I have a problem regarding limiting the pages a certain user can access..in my case, i have added a roleID to my members table... here is the original code first <h1>Welcome SICS Admin!</h1> <ul id='adminmenu'> <li><a href='index.php'>Modify News Archive</a></li> <li><a href='categories.php'>Categories</a></li> <li><a href='users.php'>Faculty</a></li> <li><a href="../" target="_blank">Department Website</a></li> <li><a …

Member Avatar for ehpratah
0
224
Member Avatar for RonKevinT.Manuela

$stmt = $db->prepare('SELECT postID, postTitle, postSlug, postDesc, postDate FROM blog_posts WHERE postDate >= :from AND postDate <= :to ORDER BY postID DESC'.$pages->get_limit()); is there something wrong with my query?

Member Avatar for pritaeas
0
196