Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #864
~29.1K People Reached

56 Posted Topics

Member Avatar for meakish

First off check your PHP.INI file. Normally found in the folder PHP which is normally created when you download PHP. In here will be this line extension=php_mysqli.dll Make sure that there is not a ; before this line. you should have on your computer a folder named PHP. In this …

Member Avatar for penny.anne.9
0
235
Member Avatar for nadiam

simple answer is that you do not call your jquery code from anywhere. This just might be you haven't included all your code. More complicated answer to follow in 5 minutes

Member Avatar for nadiam
0
287
Member Avatar for hanspeare
Member Avatar for hanspeare
0
5K
Member Avatar for ravi142
Member Avatar for davy_yg
Member Avatar for noelthefish
0
144
Member Avatar for nadiam

Try changing line 5 var R8seats = $(".8r").clone(); to var R8seats = $(".8r:first").clone(); Otherwise you are cloning all images with a class of 8r.

Member Avatar for nadiam
0
448
Member Avatar for Violet_82

as you are doing Jquery you are almost there. Change <input type="submit" text="Submit" /> back to <button id="butpress">Submit</button> Then in your JQuery change $("button").click(function() to $('#butpress').click(function()

Member Avatar for Violet_82
0
1K
Member Avatar for nadiam

Personally I would add a little more of your code on here to give a better picture of what you already have and what you are trying to achieve. Therefore I will take a little guess as to what you are doing. lastmonth.php <?php require "connect.php"; $userid = $_GET['userid']; <-- …

Member Avatar for Lsmjudoka
0
5K
Member Avatar for Walter Faber

You have stored all the images in an array so all you need to do is to run the same 2 lines of code and it will pick another random image.it's line 28 and 29.

Member Avatar for noelthefish
0
217
Member Avatar for João_5

you have missed out the while loop. $comp = mysql_query("SELECT comp or * FROM ping"); <-- I think you want row comp or both fields from table ping while ($row = mysql_fetch_assoc($comp)) { $str = exec("ping -n 1 -w 1 $row['comp']", $input, $result); if ($result == 0) { mysql_query(" INSERT …

Member Avatar for João_5
0
391
Member Avatar for nadiam

easiest way is to stop using the submit button that resubmits your form. use a `<button>` and call a phpsave program using JQuery. If you dont want to do it that way then when you submit your form your javascript has to keep track of what your current tab is …

Member Avatar for noelthefish
0
3K
Member Avatar for malisubhani

here is a webpage which might help you do something. [Click Here](https://github.com/GoogleChrome/webplatform-samples/blob/master/webspeechdemo/webspeechdemo.html) Here you will see that if you have Chrome you can implement this API. As it writes to a html tag you can use what is in there in PHP to do something but I am not sure …

Member Avatar for noelthefish
0
158
Member Avatar for ogok2010

this will get you started and you can finish it off <!Doctype html> <html> <head> <h1> H A N G M A N </h1> <img src="HangmanStep1.gif" id="hangman"> </img> <script> var secretword=["horse","frogs","turtle","snail","chicken","turkey","bird","dorphin","lion","bear","cat","dog","spider"]; var whichword = secretword[Math.floor((Math.random()*13)+1)]; var click=0; var WrongGuess=""; var RightGuess=""; var numwrong=0; var numright=0; var guess=""; var n=0; function …

Member Avatar for Airshow
0
148
Member Avatar for sugumarclick

try something like this $('#se' + counter).keydown(function(event) { $.each(json.users, function(i, e) { if (e.name.search(new RegExp(/$('#se' + counter).val()/i)) != -1){ $('#price' + counter).val(e.price); $('#author' + counter).val(e.author); } }); }); I would rename your IDs here FROM id: 'textbox' + counter TO id: 'price' + counter

Member Avatar for noelthefish
0
568
Member Avatar for game4tress

JQUERY $.getJSON('chatmessage.php', function(data) { var elm = '<p>From' + data.from + 'Message ' + data.message + ' </p>'; $('#chatmessagebox').append(elm); } and chatmessage.php connect to the database and get the message store message in $content and echo it out. $content = array( 'from'=>'someone', 'message'=>'this is a message' ); echo json_encode($content); this …

Member Avatar for game4tress
0
2K
Member Avatar for branding4you

I would use a small bit of jQuery $( ".classnameofinputs" ).change(function() { $.post('ajax/realtimesave.php', {"field":$(this).id(), "newvalue":$(this).val()}, function(data){ if (data=='error') { alert('there is a problem'); }); }); then realtimesave.php use the field name and newvalue to update only that part of the database. Realtimesave.php will only be called if a value of …

Member Avatar for branding4you
0
267
Member Avatar for WoW Me Web Girl

6. this statement will match the letter 'o' in the previous statement and return the length of the resulting array which is 2. 7. function tagcount(element) { var searcharea = document.getElementById(element); var count = searcharea.getElementByTagName('a').length; }

Member Avatar for WoW Me Web Girl
0
173
Member Avatar for pwolf

look at www.pusher.com This allows you to use websockets and a Flashbridge if needed and a basic 10 user testing sort of package is free. you can easily store all messages in a table and with a little bit of a fiddle you can be up and running in about …

Member Avatar for noelthefish
0
294
Member Avatar for furlanut

try changing $alphasearch.="<span><a href='javascript:ajaxFunction();' name='alphasearch' value='$char'>$char</a></span>\n"; to $alphasearch.="<span><a href='javascript:ajaxFunction();' name='alphasearch' id='alphasearch' value='$char'>$char</a></span>\n"; and var parameters="char=$name" to var parameters= $('#alphasearch');

Member Avatar for furlanut
0
126
Member Avatar for pravaut

ok I hope you dont mind but I would split out your Javascript into a separate file. Therefore I would do it this way. First off your HTML <div> <button type="button" name="getdata" id="getdata">Get Data</button> </div> <div id="result_table"> <table id="spells" border="1"> <thead> <tr> <th>ID</th> <th>Spells</th> </tr> </thead> <tbody> </tbody> </table> </div> …

Member Avatar for pravaut
0
608
Member Avatar for rotten69

what browser are you using? I think that the clipboardData object only works in IE.

Member Avatar for rotten69
0
227
Member Avatar for newbie26

as I am not sure what you are trying to do here are a couple of suggestions. Either use sockets OR check out pusher.com. This is what I use for alot of things at the moment as it save writing a socket program and because you are using their API …

Member Avatar for noelthefish
0
295
Member Avatar for Sanchixx

change line 2 to $page. Change the news.txt to hello world! with nothing else around it.

Member Avatar for Sanchixx
0
569
Member Avatar for lsabinano

what are the problems you are having? is it 1, the date does not write at all to the database. or 2, it writes junk to the database?

Member Avatar for lsabinano
0
188
Member Avatar for skorm909

ok my maths have not been tested in 20 years but I am sure that what you are producing here should follow this p = m/n Pi = (approx) p * 4 <- this is the line you are missing. you only ouput the ratio.

Member Avatar for noelthefish
0
137
Member Avatar for noelthefish

At the moment I have a Div in a Div within a container div. now the effect I am looking for is shown here. ![ineed1](/attachments/small/2/ineed1.jpg "align-left") What I have at the moment is shown here. ![atthemoment](/attachments/small/2/atthemoment.jpg "align-left") Which bit of the CSS did I get wrong. I will put code …

Member Avatar for G_Waddell
0
190
Member Avatar for noelthefish

Hi, I have looked at this code and I cannot see the problem. If anyone can spot the error then I will be very grateful. Basically I am returning an array from a .PHP in json format the code is here. echo json_encode($anarray); the array is made up like "vegetable" …

Member Avatar for Airshow
0
144
Member Avatar for steveissuperman

as you seem to be using PHP here is a function that is built into PHP array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure [, string $escape ]]]] ) [code] <?php $row = 1; $handle = fopen("test.csv", "r"); while (($data = fgetcsv($handle, 1000, ",")) …

Member Avatar for drjohn
0
2K
Member Avatar for otakua

try taking out the full stop in this message 'Could not connect to MSSQL database.' then see if the same error comes up

Member Avatar for cwarn23
0
156
Member Avatar for AdventDeo

Hi again, Ok the last time you got the idea so quick that this time you will kick yourself for not thinking of it. so follow these steps. 1. add an extra parameter to the Javascript in country_dropdown.php call it something like dropdown. Change the call to country.php within the …

Member Avatar for Josh Connerty
0
241
Member Avatar for AdventDeo

ok this is really simple just follow these rules. 1. you need to set up the selects. 2. you need a trigger. in this case you would use onchange() as this detects when the value of a dropdown has changed. 3. you need to call the javascript/AJAX to run the …

Member Avatar for AdventDeo
0
145
Member Avatar for goldy736

you do this by adding an image tag [code] <img src="whatever.jpg or png etc" id="whatever" onclick="dosomething();"/> [/code] This is the easiest way of doing it and I use it in various forms. to pass the array information you can echo it within the () of the function that is called …

Member Avatar for goldy736
0
271
Member Avatar for zeusofolus
Member Avatar for mundetas

I would check that the 'type' being returned is an int and not a char. If it is a char change == to ===

Member Avatar for mundetas
0
94
Member Avatar for groogruxking40

[icode]window.open('http://wwww.christiancouriernewspaper.com/upload.html',Upload','width=400,height=400')[/icode] change to [icode]window.open('http://www.christiancouriernewspaper.com/upload.html','Upload','width=400,height=400')[/icode]

Member Avatar for noelthefish
0
54
Member Avatar for rahul8590

This is simple. in your HTML do this [code] <div id="form1"> <input id="participants">Participants <input id="payment">Payment </div> <div id="form2"> </div> <script language="javascript" type="text/javascript"> function getHTTPObject(){ if (window.ActiveXObject) return new ActiveXObject("Microsoft.XMLHTTP"); else if (window.XMLHttpRequest) return new XMLHttpRequest(); else { alert("Your browser does not support AJAX."); return null; } } function doForm2() { …

Member Avatar for noelthefish
0
754
Member Avatar for letlet_pogs

post your code here so that we can have a look at what you are trying to do and we should be able to sort it out quite quickly for you. If you have sorted it out already then great as sometimes it is just a case of trial and …

Member Avatar for noelthefish
0
72
Member Avatar for kako13

[code] if ($path != '.' || $path != '..' || basename($path) != basename($file_path)) change to if ($path != '.' && $path != '..' && basename($path) != basename($file_path)) [/code]

Member Avatar for kako13
0
117
Member Avatar for 68thorby68

this one works and is being used within the office. [code] $from = "From: <martin.thorburn@tiscali.co.uk>"; $fileatt = "PDF/"; $fileatt .= $filename; $fileatttype = "application/pdf"; $fileattname .= $filename; $headers = "From: $from"; $messageletter = "what ever text you would like in here. It can be huge and use \n to start …

Member Avatar for noelthefish
0
260
Member Avatar for Vortex05

Bonjour, here is a PHP script that I use that allows you to attach a file to the email. Therefore is you develop an appointment card or vaccination card then this is perfect for it. [code] $to = "Patient name."<".$emailaddress.">"; $subject = "vaccinations"; $from = "The Doctor <bookings@thedoctors.com>"; $fileatt = …

Member Avatar for noelthefish
0
144
Member Avatar for praveen_dusari

ok here is a work around as I think that I have the idea of what you are trying to achieve though I cannot be sure. 1st off it seems that you need to know the total number of products that you have on the screen as then in the …

Member Avatar for noelthefish
0
99
Member Avatar for wwwmadeasy

I use ZEND framework to create the PDF. It is so simple and you can create your own template. Just look up Zend PDF on the net there is loads of help. This will then either write it to a directory if you want or you can render it onto …

Member Avatar for noelthefish
0
113
Member Avatar for shella

do you mean you have to pass more information in the function dyl_get_subcategories() ? if so then all you have to do is change the onchange="dyl_get_subcategories();" to onchange="dyl_get_subcategories('<php $var ?>');" Change the Javascript function to function dyl_get_subcategories(myvar) Then you can access it within the function by calling myvar.

Member Avatar for noelthefish
0
126
Member Avatar for goodnohello
Member Avatar for aashishn86

Assuming that the save of the path to the database has worked then the problem would lie in the display of the path value. If you post the code of the edit form then I or someone else will be able to help spot the error. Thanks Noel.

Member Avatar for aashishn86
0
115
Member Avatar for Fishnetandlace

From a quick look I would suggest that your text-indent could be the problem. If you can pass on the code for this then I should be able to tell you what the problem is. Thanks Noel.

Member Avatar for Fishnetandlace
0
109
Member Avatar for mehdighobakhloo

post your code and then people will sort it out for you quickly. Normall you would have a value element in the 1st dropdown menu which you would pass to a query to fill the second dropdown. Depending on how you are setting up the 1st dropdown will depend on …

Member Avatar for vanu
0
233
Member Avatar for suchisuchi07

Yes you can do this with AJAX and Javascript. All you would do is include an event with the HTML. Here is a quick example. HTML [code] <select name="form_option" id="form_option" onchange="check('form_value');"> <div id="thischanges"> </div> [/code] Javascript funtion [code] <script language="javascript" type="text/javascript"> function getHTTPObject(){ if (window.ActiveXObject) return new ActiveXObject("Microsoft.XMLHTTP"); else if …

Member Avatar for noelthefish
0
80
Member Avatar for aveao

[code] <html> <head> <title>Swapping the boxes!</title> </head> <body> <center> <h2> <font color= "purple" face= "comic sans MS"> Swap the text entered from one to the other! </font> </h2> <br/> <br/> Enter text in each box: <br/> <input type="text" id="txt1" size= "15" value= "" /> &nbsp&nbsp&nbsp <input type="text" id="txt2" size= "15" …

Member Avatar for aveao
0
77
Member Avatar for dipakxyz

can you post or send me the code to html2fpdf.php it might be you are miss calling the object class or there is a small error in it.

Member Avatar for chrishea
0
506

The End.