Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 70
Search took 0.68 seconds.
Search: Posts Made By: deafdigit
Forum: PHP 02-09-2013, 01:26 PM
Replies: 1
Views: 220
Posted By deafdigit
VERY long php-script crashes

Hi all,

I've found some forum posts regarding this subject around the web, but nothing really seems to hit the spot. I thought I'd ask the pros.

I have a php-script. A very, VERY long...
Forum: JavaScript frameworks 12-25-2012, 04:22 PM
Replies: 4
Views: 455
Posted By deafdigit
Took me a little while to get this tested...

Took me a little while to get this tested properly but is exactly what I needed.

Thanks a lot DanInMa.

Merry Christmas.
Forum: JavaScript frameworks 12-18-2012, 08:35 PM
Replies: 4
Views: 455
Posted By deafdigit
Well the question thing was just an example....

Well the question thing was just an example. Let's keep it simple.

I want this link


<a href='javascript:void(e);' id='a1'>Link</a>


to open a dialog containing a form with this hidden...
Forum: JavaScript frameworks 12-17-2012, 10:43 PM
Replies: 4
Views: 455
Posted By deafdigit
Dynamic JQuery UI dialogs

Alright so I've seen something like this question around, but I can't really figure out how to make it right...

With a php-loop I'm building a table. Each row of this table represents a question...
Forum: JavaScript programming 09-07-2012, 01:14 PM
Replies: 1
Views: 381
Posted By deafdigit
JavaScript pop-up reminder on specific date

Hi all,


I have a bunch of (MySql) DateTime values in my MySql DB. They're coupled with a comment. What I'd like is a sort of pop-up box reminder, that displays when one of the DateTime values is...
Forum: PHP 08-17-2012, 07:23 AM
Replies: 2
Views: 252
Posted By deafdigit
That looks very promising. I'll give that a go. ...

That looks very promising. I'll give that a go.

Thanks Fou-Lu.
Forum: PHP 08-16-2012, 04:02 PM
Replies: 2
Views: 252
Posted By deafdigit
Sorting multidimentional arrays with PHP

Hi,


I have a multidimentional array (2 dimensions) and I'd like to sort the outer-most array according to a key of the inner-most arrays.


array(5) {
[0]=>
array(3) {
["id"]=>
Forum: PHP 08-13-2012, 08:31 AM
Replies: 1
Views: 335
Posted By deafdigit
Hi all, I have solved it myself! It...

Hi all,


I have solved it myself!

It seems I was so clever as to run the message-variable trough mysql_real_escape_string() which screwed it up.


//deafdigit
Forum: PHP 07-26-2012, 01:02 PM
Replies: 1
Views: 335
Posted By deafdigit
Formatting php mail

Hi all,


I'm creating a PHP-script that's supposed to send an e-mail with multiple attachments. After browsing for hours I finally found a script that does this pretty much without errors. I'd...
Forum: PHP 06-19-2012, 12:24 PM
Replies: 2
Views: 237
Posted By deafdigit
Make an object inside a function

Hi eveyone,


I have a problem with a function. I'm very new to OOP PHP so it's very possible, I'm doing something wrong.

My function:


function f($id) {
//Include classes
Forum: PHP 05-10-2012, 11:15 AM
Replies: 3
Views: 301
Posted By deafdigit
That worked jmj001 - thanks. Should have thought...

That worked jmj001 - thanks. Should have thought of that :-)

I do know that 40 is a lot of properties - I'm new to the game of OOP, so I've got much to learn still. Thanks for your response too...
Forum: PHP 05-06-2012, 09:47 PM
Replies: 3
Views: 301
Posted By deafdigit
A function using variable variables?

Hi guys,


I'm learning OOP PHP and trying to make a setter-method for a class, I've come up with a question.

The method is passed a variable and it then sets the appropriate property to that...
Forum: PHP 03-17-2012, 10:22 AM
Replies: 3
Views: 290
Posted By deafdigit
Upgrading to PHP5?

Hey everybody,


I have a website with a hugely complicated application system in PHP. The site is hosted on a third-party server.

On the host's administration-pages I can see that the...
Forum: Flash & ActionScript 01-10-2012, 09:21 AM
Replies: 1
Views: 884
Posted By deafdigit
Flash builder and MySQL - string comparison

Okay so I watched this tutorial on how to make a simple Android App using Adobe Flash Builder (4.5).

It basically fires a php-script, sending post-vars, which then does some database checks, and...
Forum: JavaScript programming 12-14-2011, 03:13 PM
Replies: 1
Views: 2,096
Posted By deafdigit
Iterating through form with dynamic names

Hi everybody,


I have a php file with an almost-standard html form. The not-so-standard part is that the name-attributes of the form elements are dynamically generated as such:


<? for($i=0;...
Forum: MySQL 10-14-2011, 11:16 AM
Replies: 7
Views: 638
Posted By deafdigit
Great. Thank you very much, Old Pendant.

Great. Thank you very much, Old Pendant.
Forum: MySQL 10-12-2011, 10:51 AM
Replies: 7
Views: 638
Posted By deafdigit
Okay so this works great, but I have one more...

Okay so this works great, but I have one more thing I need implemented for the query.

I have another table that looks like this:


jnr slut
20165 0
20166 2
20167 1
20168 1
Forum: MySQL 10-11-2011, 09:14 AM
Replies: 7
Views: 638
Posted By deafdigit
Thank you Old Pendant (and Bubikol Ramios too). ...

Thank you Old Pendant (and Bubikol Ramios too).

The way I designed the table, I'm almost but certain there aren't any ties (fingers crossed).

I'll report back when I try the queries out.
Forum: MySQL 10-10-2011, 11:37 AM
Replies: 7
Views: 638
Posted By deafdigit
Complicated query - maybe SELECT DISTINCT?

Hi everybody,


I have a problem. I need a query and I can't figure out how to write it. I figured maybe some of you clever guys can.

I have a table that looks remotely like this:
...
Forum: JavaScript programming 10-10-2011, 11:23 AM
Replies: 4
Views: 297
Posted By deafdigit
Thanks again, Philip. Your function did the...

Thanks again, Philip. Your function did the trick. Very nice.

I'll be able to do this in the future.
Forum: JavaScript programming 10-05-2011, 12:10 PM
Replies: 4
Views: 297
Posted By deafdigit
Hi Philip, First of all - yes onchange...

Hi Philip,


First of all - yes onchange ofcourse. For some reason my fingers keep typing "onchance" instead.

I want this because I'm danish and I need my users to enter a currency-amount. In...
Forum: JavaScript programming 10-05-2011, 11:00 AM
Replies: 4
Views: 297
Posted By deafdigit
onChance-function for textinput to regulate characters

Hi there,


I need a bit of javascript to solve a problem I'm having.

I have an HTML text-input field, and I would like - simply - that it be impossible to enter a period-character (.).

My...
Forum: PHP 07-07-2011, 12:07 PM
Replies: 3
Views: 225
Posted By deafdigit
Oh clever escaping... Why didn't I think of that....

Oh clever escaping... Why didn't I think of that. Thanks Durangod.
Forum: PHP 07-07-2011, 11:47 AM
Replies: 3
Views: 225
Posted By deafdigit
Uploading html to mysql - running out of " and '

Okay so here's the problem.

I want to upload a <a>-link to my mysql-database - tag and all. Here's the code:


$var = "<a href='www.google.com'>link</a>";
$conn =...
Forum: JavaScript programming 12-03-2010, 03:06 PM
Replies: 4
Views: 1,809
Posted By deafdigit
Is bumping allowed?

Is bumping allowed?
Showing results 1 to 25 of 70

 
Forum Jump

All times are GMT +1. The time now is 06:22 PM.