Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~5K People Reached
PC Specs
Linux (Ubuntu)
Favorite Tags

15 Posted Topics

Member Avatar for kutuup
Member Avatar for big24fan

I think you should use a separate table to store the "cp_ads_welcome_msg" field and use foreign key on all the "WP_XXX_Options" to reference the "cp_ads_welcome_msg" field. By doing this, you only need to update one table and all the "WP_XXX_Options" will point to the same "cp_ads_welcome_msg". Hope it helps.

Member Avatar for EmilyJohnson
0
77
Member Avatar for prajesh2

you could try this one [url]http://www.killerphp.com/tutorials/object-oriented-php/[/url] Very simple and direct-to-the-point style of teaching. Goodluck. :)

Member Avatar for macobex
0
65
Member Avatar for curbster

I think you want to convert a letter to its equivalent number in the alphabet. Am I right? You can do it by using this formula. [CODE] Character.toLowerCase(ch) - 'a' + 1 [/CODE] function [CODE] public int toInt(char ch) { return Character.toLowerCase(ch) - 'a' + 1; } [/CODE]

Member Avatar for curbster
0
1K
Member Avatar for vjcagay

Packages are just folders. That's just it. Basically, it is used to group related classes and files.

Member Avatar for ~s.o.s~
0
102
Member Avatar for BuhRock

Do I understand your question right? You just want to convert a string to an integer, right? You can just use Integer.parseInt(); [CODE] String aNumber = "1234"; int numberValue = Integer.parseInt(aNumber); [/CODE]

Member Avatar for coil
0
178
Member Avatar for manofhouse

also, i think there is no such statement as [CODE] else (CONDITION) [/CODE] it must be [CODE] else { // code here } [/CODE] or [CODE] else if (CONDITION) { // code here } [/CODE]

Member Avatar for macobex
0
142
Member Avatar for showman13

Timestamp. Basically, you want to use timestamp if you will use the datetime value in other country, or places with other timezone. For example, you are in USA and you save the timestamp December 1, 2010 12:20:00 in your database. When you go to China for example, and you recover …

Member Avatar for macobex
0
179
Member Avatar for Obsidian_496

I don't think PHP supports templates, considering the fact that it is a dynamic language.

Member Avatar for macobex
0
133
Member Avatar for mshauny

If you are working with a large project, it is much advisable to use the magic method __autoload() to include class files, rather than including them manually. Including class files manually is frustrating especially if working with large set of classes, so i advice you to learn using __autoload(). [url]http://php.net/manual/en/language.oop5.autoload.php[/url]

Member Avatar for macobex
0
137
Member Avatar for macobex

I'm in the middle of a project development, and I'm frustrated with this problem. Im running XAMPP under Ubuntu 10.04 (Lucid Lynx) mySQL version : Ver 14.14 Distribution 5.1.41 The problem is that, mySQL is accepting null values even if the field is declared with the NOT NULL constraint. Example: …

Member Avatar for macobex
0
265
Member Avatar for macobex

I've just learned how to use vectors. I'm thinking about, what is the best way to create a vector, IF you do not know its initial size. Here are some of my options. 1.) This is the simplest I think, but is there any memory issue about this technique? [CODE] …

Member Avatar for n.utiu
0
138
Member Avatar for macobex

So, I'm really frustrated with this problem. I desperately need some good explanation about this. Why does the calling function does not reflect the change done in the called function? despite the fact that I pass the variable via pointer. Any explanations please. Thanks in advance. [CODE]#include <iostream> using namespace …

Member Avatar for dgr231
0
122
Member Avatar for gretty

Function 2: the 5th line should be: s[i] = toupper(s[i]); toupper() fucntion is returning a value, it is not directly manipulating the string, so you still need to assign the current character to the returned value. Hope it helps.

Member Avatar for mrnutty
0
202
Member Avatar for packrisamy

I think it is more advisable to instantiate an object using this syntax: Ball *r = new Ball; if you will follow the syntax that i've said, you can access member functions and variables using the following syntax: (*r).Do(); or r -> Do(); either of the 2 is correct. The …

Member Avatar for macobex
0
140