Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
90% Quality Score
Upvotes Received
13
Posts with Upvotes
12
Upvoting Members
12
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
6 Commented Posts
~39.0K People Reached
About Me

Avid enthusiast of CakePHP, hopelessly addicted code junkie, legend in my own mind

Favorite Tags
Member Avatar for CFROG

I'm using Ubuntu server 12.04 LTS, nginx, PHP5, PHP5-fpm Recently I upgraded my PHP from v 5.3 to what I thought would be 5.4 but the package I used was further along than I thought and I ended up with v 5.5. It upgraded with no issues but I really …

Member Avatar for matrixdevuk
0
406
Member Avatar for Gearspro

Hello, this maybe a obvious. But i'm new to all this and i really need some help! :). I was wondering if someone knew how i could turn off email verification (being emailed to confirm the account) As i feel it is not necessary to have spam stopper, being an …

Member Avatar for I.M.O.G.
0
299
Member Avatar for CFROG

I'm receiving an 'undefined index' error when calling a new window and I can't quite figure out why. Seems to me like the variable is not being passed, or holds no value, and again I can't figure out why. I use an identical code for 'state' with no issues. Here …

Member Avatar for mwita
0
122
Member Avatar for CFROG

Does anyone feel that Cake is worth the trouble it takes getting used to it? I don't mind putting the time into learning it as long as it pays off in the end. They claim you are up and running faster and spend less time re-inventing the wheel and while …

Member Avatar for johnbo100
0
125
Member Avatar for wayz1229

i'm realy confused on how to do this.. deperately need help. i have two tables as below: table1- qid(primarykey), qtitle table2- aid(primarykey), atitle, qid example, table1- (qid=1; qtitle=fruits), (qid=2; qtitle=vehicle) table2- (aid=1; atitle=apple; qid=1), (aid=2; atitle=banana; qid=1), (aid=3; atitle=car; qid=2), (aid=4; atitle=bike; qid=2), (aid=5; atitle=bus; qid=2); when i retrieve the …

Member Avatar for kitschkath
0
113
Member Avatar for redmaverick

Hi guys, I need to pass a variable from a php page to another php page. There are two methods GET POST both involve user action like submitting by clicking a button or clicking a link How to send a variable without such user actions?

Member Avatar for deepakrajpal
0
2K
Member Avatar for CFROG

I'm trying to output the results of an array to a table. To be more specific, I'm trying to output pictures ... let's say 5 pics per row for example. Below each pic I'd like to display a few options like delete, etc. I'm not looking for the answer, just …

Member Avatar for ijn1
0
278
Member Avatar for Tenaciousmug

I am having huge trouble with this Mysql_real_escape_string to prevent SQL Injection. I have tried everywhere possible to input it in my code. My code looks a lot different than most peoples. I mean my login/registration system works PERFECT.. besides that it's not protected from SQL Injection yet which is …

Member Avatar for Mogradjinn
0
2K
Member Avatar for dan_t

Hello everyone, I'm having a little trouble here. I'm trying to use a session created from log in(the user id) and take that user id and pull out information from the data base. An example would be: (this is not the actual code, but I will wrap it anyway) [CODE] …

Member Avatar for rajarajan2017
0
108
Member Avatar for jatpatel1

Hi there, I have been scratching my head for a few days now! with this problem: I am trying to echo out some data from a mysql table. I have a column name Country which has the following Countries: India, Malaysia Austaralia etc. I also have a column name Town …

Member Avatar for kingredyard
1
212
Member Avatar for wish02

Hi! Im planning to make the entries of the Ticket # links to view the ticket information. But how do i pass the value of the clicked ticket# to the next page? thanks in advance! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } ?> <html> <head> <title>Employee</title> <style type="text/css"> <!-- .tableContent { …

Member Avatar for ayesha789
0
112
Member Avatar for wish02

Hi! I'm having problems in getting the value of the selected item and showing the items in the second dropdown. When I select a category on the first menu, the choices on the second menu appears but the selected choice doesn't show in the dropdown. And i don't get the …

Member Avatar for wish02
0
271
Member Avatar for CFROG

I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the …

Member Avatar for CFROG
0
87
Member Avatar for CFROG

I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the …

Member Avatar for CFROG
0
62
Member Avatar for CFROG

All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after …

Member Avatar for CFROG
0
102
Member Avatar for muralibobby2015

hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world.

Member Avatar for mrnutty
0
85
Member Avatar for niths

hi all, i need a link 'delete' so that wen i click on that link button that selected name should get delete. i know somewhat to write delete code but how to make it in a link..? can any one... Thanks in advance.

Member Avatar for pssubash
0
199
Member Avatar for QWaz

Hi, I am having real trouble trying to figure out how I can add multiple rows into a MySQL database at one time. I have a form where the person selects a number from the drop down options. then I need to add that amount of new rows into a …

Member Avatar for QWaz
0
111
Member Avatar for Darkicon

I'm very new to PHP so I'm still learning how to do stuff. I cannot figure out what is wrong with this code: [CODE=PHP] if($row->played_time >= 60){ $time = round($row->played_time,2) / 60 " mins";} elseif($row->played_time >= 3600){ $time = round($row->played_time,2) / 60 / 60 " hours";} elseif($row->played_time >= 86400){ $time …

Member Avatar for rajarajan2017
0
142
Member Avatar for danielagaba

Hi, I'm displayin data in my database in a table form using a for loop . In my loop i added a radiobutton so that a selected radio button would identify the row on the table. This is the code is used: [CODE] for($j=0;$j<=$nrows2;$j++){ while($row = mysql_fetch_row($result)){ print "<tr><td>".$row [0]."</td><td>".$row …

Member Avatar for CFROG
0
131
Member Avatar for phpDave

I have been working with this for a while now. User page has a counter that they can reset when they click on a link. The link goes to a script that updates the counter to zero but when I test it all rows in table update to zero. [CODE]$colname_Recordset1 …

Member Avatar for phpDave
0
185
Member Avatar for QWaz

Hi, I'm fairly new to php and am having a lot of trouble with a simple little select problem. I have tried it about 20 different ways and it just keeps spitting out errors and not working My code is: [code] <?php session_start(); // built in php function to start …

Member Avatar for QWaz
0
911
Member Avatar for jamesbarnhill

I'm pretty sure this is a simple fix, but I don't see it: [CODE]foreach($rows as $row) { $result .= "<li><a href='"javascript:void(0)" onclick="javascript:chatWith('.$row->username.')">" .htmlspecialchars(getNameFormatOnline($row->name,$row->username,$ueConfig['name_format']))."</a></li>\n"; }[/CODE] This is a list of online users; putting the username inside "javascript:chatWith('USERNAME_HERE')", to initiate a chat. Thanks, James

Member Avatar for CFROG
0
147
Member Avatar for computerfox

hey guys, i had this working before, but when i added another bit, it stopped and now i can't get it to work again :( [code] //Put data into right tables mysql_query("SELECT* FROM inprogress"); mysql_query("INSERT INTO complete SELECT* FROM inprogress WHERE Status='Y' "); mysql_query("SELECT* FROM complete"); mysql_query("INSERT INTO inprogress SELECT* …

Member Avatar for CFROG
0
59
Member Avatar for leeZA1

Hi, i have a database which stores admin account details when an administrator selects to view all acounts is there any way of changing the password do they cannot read them all??

Member Avatar for leeZA1
0
77
Member Avatar for bjeffries

Well at least I think my troubles are with the get variable. I know my code is amateur I am very new to PHP and trying to learn as much as I can. So I am trying to create a photo gallery any having trouble with getting my get variable …

Member Avatar for bjeffries
0
338
Member Avatar for mrcniceguy

i have this weird problem and i dont know how to make it work. the problem appears after i consider the OR statement.without or statement the first part is working . So idont how to use this statement in mysql. i hope someone can help me. Down is my script. …

Member Avatar for mrcniceguy
0
361
Member Avatar for mrcniceguy

hi everyone! i`m trying to display a friend of a friend from a friend table,but i dont know how to do it. i have a table called friends,which has id,friendid and userid fields. Now i want if a member loggin, to be displayed a list of friends of his friends …

Member Avatar for mrcniceguy
0
112
Member Avatar for PHPclown

Hello guys. Can someone give me an simple example, how to make when someone register in to my game, to set him in some place on the map. I dont have map right now, and thats my question. How to make browser game map ? Some kind of tutorial or …

Member Avatar for diafol
0
146
Member Avatar for IAuchmoody27

Warning: require_once(../../GrBx/cw3/admin/application.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\GrBx\cw3\admin\ProductForm.php on line 2 Fatal error: require_once() [function.require]: Failed opening required '../../GrBx/cw3/admin/application.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\GrBx\cw3\admin\ProductForm.php on line 2 Can someone please explain this error message? I am using Cartweaver and I'm trying to change it in a …

Member Avatar for Cartweaver
0
393