Posts
 
Reputation
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
1 Commented Post
0 Endorsements
Ranked #1K
~11.9K People Reached

21 Posted Topics

Member Avatar for hazzag1995

What you need to do is create an OnClickListener for your button. Inside the onClick() method, you need to create an "Intent" to invoke the desired activity ("screen" in your post). One example for starting an activity: http://stackoverflow.com/questions/4186021/how-to-start-new-activity-on-button-click If you post your code I can provide more concrete help.

Member Avatar for hazzag1995
0
379
Member Avatar for Lygris

Instead of android:name="Dungeon_Dice_Roller" try this: android:name=".Dungeon_Dice_Roller" The dot (.) is important as it denotes the class name which will be appended to the package name by the compiler.

Member Avatar for Lygris
0
153
Member Avatar for lbeddawi

In your PageKindCheck() function you actually return when you find a checked checkbox. That is why only one div displays: [code] if (theForm.elements["PageKind"][i].checked) { PageKind = theForm.elements["PageKind"][i].value; return PageKind //alert(PageKind) break; } [/code] What you could do is populate an array with all the checked page kinds, then return that …

Member Avatar for lbeddawi
0
292
Member Avatar for McLaren

Another consideration is that you are matching the entire line, so it compares $name against the entire line you are processing in each iteration instead of doing a pattern match. For just matching $name somewhere in $line you should use preg_match().

Member Avatar for McLaren
0
114
Member Avatar for himit

Hi, Could you please show us the relevant code? Without that, it is impossible to answer your question, as you could be referring to any of an unlimited number of scenarios... Cheers

Member Avatar for himit
0
2K
Member Avatar for theighost

Hi, The only way I can think of to do this would be to add a rewrite rule in your .htaccess file: [code] RewriteEngine On RewriteRule ^/path/yourfile.xml$ /path/yourfile.php [/code] This will basically execute the php file in the background while the user only sees the .xml extension.

Member Avatar for kokoro90
0
180
Member Avatar for ronin13378

You are contributing the following post: This section in the code does it: [code=php] foreach($_POST as $key=>$value) { $message .= $key.": ".$value."\n\r"; } [/code] It puts the name and value of each of your form fields in $message, which is then sent as an email. I don't know why above …

Member Avatar for kokoro90
0
137
Member Avatar for RalphAllan

Hi, You need to make sure you know where your DocumentRoot is. That is where your PHP scripts go. Then you also need to know which URL will actually reach it (usually something like [url]http://localhost/yourscript.php[/url]). Maybe this will help: [url]http://www.tagbytag.org/tutorials/getting-started/web-design-software/wamp-guide[/url] Good luck!

Member Avatar for braveheart_sb
0
153
Member Avatar for ElegantElephant

If you are talking about a numerical autoincrement field, the easiest is to use this query: select max(insertid) from tablename; You need to substitute the actual column and table name. Then you add 1 to the result and you have your next insert ID. As the above poster pointed out, …

Member Avatar for loganphp
0
4K
Member Avatar for pedroteixeira07

Can you provide an example of the expected operation? Does the table contain numerical values? You need to provide more details in order for someone to be able to help...

Member Avatar for diafol
0
136
Member Avatar for robroy

One question: why are you using uppercase letters (<SCRIPT...>) instead of lowercase, which is required by your doctype of choice, XHTML. I don't know if that causes Firefox not to load it, but it should be changed anyway in order to be compliant with the standard. Several posters above put …

Member Avatar for Troy III
0
1K
Member Avatar for cane23

It seems that you have a typo in your query in line 19, unless your "course_code" column in the "courses" table is correctly spelled as "course_coode" with an extra o. Also in line 96 you have this: WHEREcourse_code=$coursecode There should be a space between "WHERE" and "course".

Member Avatar for saiprem
0
100
Member Avatar for rajeesh_rsn

Did you include logic on your myaccount page (and all the other pages on your site) to redirect to the login page if no active session is detected? If not, I think that would be a way to solve your problem.

Member Avatar for cwarn23
0
611
Member Avatar for slyme

You can reference files outside the DocumentRoot in your PHP scripts. You can use either relative or absolute path names, since PHP can "see" the whole file system.

Member Avatar for slyme
0
409
Member Avatar for agrophobic

Have you tried escaping the single quotes like this? $sql = mysql_query("SELECT * FROM {$table} WHERE Suburb='$suburb'"); The problem with the single quotes is that PHP interprets anything in single quotes as literal. Hope this helps

Member Avatar for Graphix
0
272
Member Avatar for codemaker

I agree with ardav. Pulling predictable static numerical data from a server does not make sense. Javascript can generate that. If, on the other hand, you need to retrieve some data from a database (or a file on the server) in order to fill in the secondary combobox, AJAX makes …

Member Avatar for diafol
0
247
Member Avatar for shadiadiph
Member Avatar for ramanand

No, you don't have to create a new folder for every page. However, in order for php code to be executed, you not only need to make sure to use the <?php opening and ?> closing tags, but also make sure that the directory is in fact configured as a …

Member Avatar for ramanand
0
162
Member Avatar for usang2me

Your closing bracket (the last '}' ) does not have a corresponding opening bracket. That is why this is not valid PHP syntax. It may help to indent your code so you can spot things like this more easily :-)

Member Avatar for BzzBee
0
354
Member Avatar for john53147

If you press the power button for at least 5 seconds the machine will power off (same effect as unplugging the power). If your system has somehow been corrupted, however, you may not be able to boot it again. In that case I would recommend taking a backup of all …

Member Avatar for kokoro90
0
140
Member Avatar for qwertyas

When I tried it on my server, it worked. Are you sure that the machine you are doing this on is able to access alertbox.in ? The error seems to point to the computer not being able to reach that address.

Member Avatar for kokoro90
0
116

The End.