609 Posted Topics

Member Avatar for mattyd

I've seen it happen once now too. Keeping a console open when submitting might show some clues as to what is happening there.

Member Avatar for kevwood
0
192
Member Avatar for geneh23

Your last identical post from a week ago had 29 views, with no responses. If that were my post, I would have asked my self "what is wrong with the way I asked this question, and how can I change it so I will get an answer?". I'm not trying …

Member Avatar for geneh23
0
420
Member Avatar for darkelflemurian

If you have full control of your server/environment (which it sounds like you might) I would most likely use node.js with the Socket.io plugin. The reason I ask about whether you have your own server, is because a lot of hosts out there still don't support installs of Node.js. Building …

Member Avatar for PubNub
0
335
Member Avatar for terryds

What you actually see happening on CSS Tricks page is, the content is all there on the page aleady and it is just showing and hiding the content depending on which option a user chooses from the list. It is using jQuery and CSS for the showing and hiding of …

Member Avatar for pixelsoul
0
113
Member Avatar for andi-dev

What you're asking for is pagination like used with large data sets, to split out the results into different "pages". JorgeM gave a good suggestion on where you would need to start. Here is an example done with jQuery and a plugin http://datatables.net/

Member Avatar for diafol
0
368
Member Avatar for mattyd
Member Avatar for RikTelner

You can use base64 for the video and audio source in HTML5. Here is a blog post that gives some more information on that. http://www.iandevlin.com/blog/2012/09/html5/html5-media-and-data-uri

Member Avatar for RikTelner
0
108
Member Avatar for sanjay_7

You're missing a closing bracket for your foreach loop. I would do something like this probably <?php if (file_exists('note.xml')) { $xml = simplexml_load_file("note.xml"); $i = 0; foreach($xml->agent as $agent) { if($agent->id == 1){ print $agent->id; print $agent->image; print $agent->name; print $agent->company; print $agent->street; print $agent->city; print $agent->phone; $i++; } } …

Member Avatar for pixelsoul
0
277
Member Avatar for iamthwee

I don't see any php mail function :-\ And is this topic just duplicating this one? http://www.daniweb.com/web-development/php/threads/471398/php-mail-not-working

Member Avatar for cereal
0
797
Member Avatar for RikTelner

You're getting an error because: 1) $test was not defined. 2) You don't use a query string when using include(). Are you just trying to get the query parameter values from the query string? If this is index.php you would put into your address bar index.php?test=solved Then you could do …

Member Avatar for RikTelner
0
166
Member Avatar for everton.retweets

You mean like $fullname = $firstname . " " . $surname; slugify($fullname); Or am I am misunderstanding what you want?

Member Avatar for everton.retweets
0
422
Member Avatar for itzarun

I didn't know what it was until I read the link, now I do. Happy Pongal :)

Member Avatar for Reverend Jim
0
145
Member Avatar for safeer008

To add to pritaeas suggestion, use CSS3 for the blink animation, and then maybe use a fallback to jQuery/JavaScript. Here is an example for doing it with jQuery http://jsfiddle.net/Sk8erPeter/Yca4Z/

Member Avatar for pixelsoul
0
113
Member Avatar for ddanbe
Member Avatar for Warrens80

I would be pretty pissed off if they removed it as a federal holiday, because I would most likely have to work on that day after they did that. In fact I think America should just make every religous day, from every religion, a federal holiday. I deserve more days …

Member Avatar for Reverend Jim
0
1K
Member Avatar for sagisgirl

The reason it is only working on the first row is because you are using ID. The JS goes through the DOM and finds the first ID that matches and stops there instead of continuing. You really should have more than one ID on a page at any one time …

Member Avatar for JorgeM
0
2K
Member Avatar for davy_yg

This is the function that I use, but I typically truncate a string by the word. function stringTrim($string, $length){ $string = (strlen($string) > $lenth) ? substr($string,0,$length) . '...' : $string; return $string; } CSS Tricks has a couple of example of functions that do that http://css-tricks.com/snippets/php/truncate-string-by-words/

Member Avatar for davy_yg
0
302
Member Avatar for Dani

I don't know of any sites that have these stats (that are reliable at least). I know that it is one of the largest JS libraries being used out there. I always use the Google CDN for hosting my jQuery/jQuery UI files. It is widely used, and the chances that …

Member Avatar for Troy III
0
366
Member Avatar for <M/>
Member Avatar for <M/>
0
343
Member Avatar for chaitu11

If you're using the jQuery UI dialog, then here is an example of form validation before submit. http://jqueryui.com/dialog/#modal-form If you need further help on this, you will most likely need to share the relevant code.

Member Avatar for Bachu
0
45
Member Avatar for deepak.fugo

Test this code from the PHP manual on your server and see if it works. If it doesn't then it is an issue with your environment. Maybe a port being blocked, or the IP is "bad". <?php $ftp_server = "ftp.example.com"; $ftp_user = "foo"; $ftp_pass = "bar"; // set up a …

Member Avatar for pixelsoul
0
2K
Member Avatar for Tu Dinh

I had this problem once after I had copied and pasted the header with the doctype from another page. It was picking up something weird that I couldn't see in the editor that somehow got copied over. Go into your header.php and manually remove <!DOCTYPE html> and then retype it …

Member Avatar for Tu Dinh
0
233
Member Avatar for fheppell

I believe this is what JorgeM is referring to? http://fgnass.github.io/spin.js/ This looks nice for generating a indicator of activity, and like JorgeM said, you would just use an onclick event to show it. Though, there would need to be some type of callback to hide it once the download is …

Member Avatar for fheppell
0
255
Member Avatar for mangel.murti

well, it doesn't respond to a ping, but this does.... http://vsshare.hop.clickbank.net

Member Avatar for pixelsoul
0
92
Member Avatar for suncica2222

Here was the suggestion I had gave for the last person that asked about parsing bbcode. http://jbbcode.com/ It may work for you as well, and you could just extend the class to add more of the functionality you're looking for.

Member Avatar for pixelsoul
0
350
Member Avatar for cmps

I'm not trying to shoot down your idea, but why not just use a bbcode parser that already exists (unless you are doing it to learn)? Here is a class someone had done and you could extend it if needed http://jbbcode.com/

Member Avatar for cmps
0
266
Member Avatar for sara.alsaffah

So, when you say "the answer will go to the werong person", do you mean the record gets entered to your database with the wrong user id? It seems like there is more code to this that could be the problem, but is this really correct `$user_id=$_GET['edit'];` ?

Member Avatar for pixelsoul
0
128
Member Avatar for mbarandao

Use a hidden input `<input type="hidden" value="" />` in your form and then set the value of the input with jQuery.

Member Avatar for mbarandao
0
203
Member Avatar for Frank_6

An important part to include in this would be the error message you're seeing. Make sure the smtp settings are correct/enabled in your php.ini file as well.

Member Avatar for pixelsoul
0
889
Member Avatar for davy_yg

Yup. You can do something like this $imageCode = htmlspecialchars('<img src="images/banner/'.$data2['images'].'" width="900px">'); echo '<td>'. $imageCode .'</td>'; Or even this would work echo '<td>'. htmlspecialchars('<img src="images/banner/'.$data2['images'].'" width="900px">').'</td>';

Member Avatar for pixelsoul
0
121
Member Avatar for devianleong

> How can I pass my ID to fancy box when I click the image I don't understand what you're asking here. Can you clarify this question a little more? Maybe describe the problem you are seeing rather than what you might think is the problem.

Member Avatar for pixelsoul
0
111
Member Avatar for DTSCode
Member Avatar for bguild

You might of not read all the way down the page. He has a solution towards the bottom regarding changes to htaccess. > I have scanned Google search pages for more than an hour to find the perfect solution. But finally got my answer from maxcdn official support page.

Member Avatar for Dani
1
876
Member Avatar for azapovjednik

Bulky tables is going to be more a burden in the long run if they keep growing than a bunch of lighter tables, so I would creating more tables, rather than trying to cram a bunch into one. You're most likely going to be working with a relational database, and …

Member Avatar for azapovjednik
0
264
Member Avatar for daniel.conlinjr.1

The css validator isn't the holy grail authority on css, it is just a tool. They even say that on the site. The css should work fine in most browsers. Even the site you got the css from will have massive amounts of warnings and errors. It is more common …

Member Avatar for iamthwee
0
191
Member Avatar for patk570

This may not be what you're looking for but, you could use Google calendar on your website. https://support.google.com/calendar/answer/41207?hl=en http://www.webdesignerdepot.com/2012/04/integrating-google-calendar-with-your-website/

Member Avatar for patk570
0
198
Member Avatar for oh2labs

What about the tutorial is not working for you? It shouldn't really matter weather you generate an array of products with prices using PHP, or put it static on the page. The Javascript is just using what exists in the DOM, and that won't change without a page reload, or …

Member Avatar for oh2labs
0
1K
Member Avatar for Learner010

You could try using an API http://dictionaryapi.com/ Or you could see if this might be helpful http://wordweb.info/developer/SQL.html

Member Avatar for pixelsoul
0
106
Member Avatar for Ancient Dragon
Member Avatar for ypdev2

> The calculation I'm trying to get is sum of total+shipping, once I add this code i'm getting strange numbers on the total label. I am confused a little here, you mean that you're trying to get the sum of **Grand Total (fish)** + **Shipping** right? And then put that …

Member Avatar for stbuchok
0
4K
Member Avatar for Dani
Member Avatar for T4gal

Those areas of text that did not translate are most likely static in the theme files, which is why they didn't translate. The only option would be to open those files that are part of the theme and find those areas of text that need to be changed and then …

Member Avatar for T4gal
0
127
Member Avatar for Djmann1013

This code has a number of issues in my opinion. Setting this variable isn't necessary. `$file_name = $_FILES['upload']['name'];` You should just do this. `$file = preg_replace('/\s+/', '_', $_FILES['upload']['name']);` What are you doing here? `$_FILES = $file;` The reason it that it is not replacing the spaces in the file name …

Member Avatar for Djmann1013
0
364
Member Avatar for georgecalvin12
Member Avatar for HoverportMedia

> I'm not advocating TB at all It is pretty nice, I see nothing wrong with that ;-)

Member Avatar for HoverportMedia
0
128
Member Avatar for HoverportMedia

I see no link for "ingredients". Are you sure it isn't just browser plugin you have installed?

Member Avatar for mildred2013
0
206
Member Avatar for Deep Modi
Member Avatar for mildred2013
0
176
Member Avatar for yavindu

When you say "gets messed up", is it because the page size isn't big enough to accommodate the size of the table? You might try changing the size of the paper size for the PDF file. It shows information about this option on https://code.google.com/p/dompdf/wiki/Usage

Member Avatar for Lsmjudoka
0
130
Member Avatar for nancybrown1959

Change this `mysql_select_db($conn, "yourmil_content");` To this `mysql_select_db("yourmil_content", $conn);`

Member Avatar for Lsmjudoka
0
434
Member Avatar for nadiam

I agree with JorgeM, use mysqli or PDO. With this though, you should be checking for errors as well. `$result=mysql_query($query) or die (mysql_error());`

Member Avatar for nadiam
0
217

The End.