609 Posted Topics

Member Avatar for jmann22

Well, there's this https://www.etsy.com/developers/documentation/resources/jquery And some more documentation on the Etsy API https://www.etsy.com/developers/documentation/getting_started/api_basics

Member Avatar for jmann22
0
259
Member Avatar for jmann22
Member Avatar for pixelsoul
0
266
Member Avatar for paul-lucas

If your query comes back with multiple arrays like this, then you probably need to refactor your query, rather than cleaning up the results. If there's really no other way, or really need to merge arrays, I've used the following in the past to do this. array_unique(array_merge($array1,$array2), SORT_REGULAR); http://php.net/manual/en/function.array-merge.php http://php.net/manual/en/function.array-unique.php

Member Avatar for paul-lucas
0
335
Member Avatar for William_21
Member Avatar for pixelsoul
0
35
Member Avatar for lonrat
Member Avatar for Stephano

There are probably hundreds, if not thousands of tutorials and information on creating custom forms that input to the datatbase using Wordpress. Not to mention all of the Wordpress extensions out there that can do it as well.

Member Avatar for Gideon_1
-2
440
Member Avatar for phoenix254

Websockets is what you're wanting. You may still run into issues with browser support, but then again, there are work arounds you can use as well. Websockets allow for data to be pushed to a client, rather than a client requesting data. I would probably check out http://socket.io/ as they …

Member Avatar for pixelsoul
0
158
Member Avatar for tNicknames

So you want a button that closes the users browser window, but opens a dialog first? The code works for a prompt if a user tries closing the window the normal way, not really sure why anyone would have a button on the page the closes a browser window though.

Member Avatar for pixelsoul
0
397
Member Avatar for Niloofar24

I would use jQuery or javascript for the visual display to the user. Something like http://jsfiddle.net/pixelsoul/xh4t2hoy/

Member Avatar for Niloofar24
0
429
Member Avatar for Niloofar24

You could build a database/flat file of the cities yourself, or you could use an API that pulls the cities in as a user types them as well. For example, here is an API that does just that http://www.geobytes.com/free-ajax-cities-jsonp-api. In addition to that, I believe http://www.geonames.org/ has an API as …

Member Avatar for pixelsoul
0
257
Member Avatar for dusk2dawm

It's called parallax scrolling. https://ihatetomatoes.net/simple-parallax-scrolling-tutorial/ http://webdesign.tutsplus.com/tutorials/create-a-parallax-scrolling-website-using-stellar-js--webdesign-7307 http://jquer.in/random-jquery-plugins-for-superior-websites/parallax-js/

Member Avatar for Troy III
0
201
Member Avatar for davijhon
Member Avatar for stokie-rich

Try that. <?php include('inc/header.php'); require('connection_db.php'); if (isset($_POST['submit'])){ $uname = mysql_escape_string($_POST['uname']); $pass = mysql_escape_string ($_POST['pass']); $pass = md5 ($pass) ; $uname = mysql_query("SELECT * FROM `users` WHERE `uname` = '$uname' AND `pass` = '$pass'"); if(mysql_num_rows($sql)) > 0 { echo "you are now logged in successfully!"; exit (); }else{ echo "Wrong Username …

Member Avatar for stokie-rich
0
395
Member Avatar for RobertHDD
Member Avatar for <M/>
1
277
Member Avatar for boney

You could do it with file_get_contents, but I would recommend trying the HTML DOM library. Here is a decent blog post from Nettuts on this. http://code.tutsplus.com/tutorials/html-parsing-and-screen-scraping-with-the-simple-html-dom-library--net-11856

Member Avatar for pixelsoul
0
77
Member Avatar for AntonyRayan

> but I want to validate, when I select the image, not in submitting. The code cereal provided does exactly that.

Member Avatar for AntonyRayan
0
184
Member Avatar for Siberian

It really depends on what the problem is, who your target audience is for that site, and how easy it would be to put a hack in for IE7. IE7 has a fraction of a percent in market share for browsers these days. You could also detect older versions of …

Member Avatar for Siberian
0
149
Member Avatar for Gangotri

Sure. INSERT INTO funny_people (nose, ear, brain) VALUES ("Gangotri troll nose", "Gangotri hairy ear", NULL);

Member Avatar for pixelsoul
-2
181
Member Avatar for harishprakash

I'm not sure what you mean by "change alignment" but, you could use the **non-standard** <marquee> tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee You may want to look at the supported browsers first though. Personally I think the marquee went out of style a long time ago, and they're really annoying.

Member Avatar for pixelsoul
0
127
Member Avatar for pritaeas

Can we change the font to Comic Sans also? Because that would just be too awesome.

Member Avatar for diafol
4
852
Member Avatar for elvi.1221
Re: HTML

The span tag and class look good, assuming you're using Font Awesome, then the most likely reason is that the path to the CSS is not valid. http://fortawesome.github.io/Font-Awesome/3.2.1/get-started/

Member Avatar for pixelsoul
0
69
Member Avatar for reis02

It wasn't very easy... but here you go! ** ## The Secret Formula For The Original Krabby Patty ## ** - S**e**s**a**me Seeds - Bo**t**tom bun - Chum (Food) - Ketchup - Mu**s**tard - Mayonnaise - Relis**h** - Cheese - P**i**ckles (Food) - Let**t**uce - Tomatoes - Onions - **Salt** …

Member Avatar for almostbob
-3
151
Member Avatar for omarabed

> I think, the best way to create a website for beginner is to use some web builder. I disagree, unless that person is only interested in building a website without actually learning HTML, CSS, etc.

Member Avatar for pixelsoul
0
215
Member Avatar for markdean1989

the root of your web server is the "www" directory. To create a "front page" of your website you would create an index page. If you're using PHP it would be index.php After that you can create directories to structure and organize the files for your website like images, css, …

Member Avatar for pixelsoul
0
132
Member Avatar for Bensirpent07

Are you talking about just the font color that you have set to "0"? It's instant for me in Chrome and Firefox.

Member Avatar for Bensirpent07
0
349
Member Avatar for enterdani

If you paste the url into your address bar in your browser and go directly to it, does it work? If it works and you truly are just trying to make it a clickable link in the email, then $message .= "<a href='$s_web/confirmaccount.php?code=$encryptpass&id=$id'>confirm account</a>";

Member Avatar for pixelsoul
0
401
Member Avatar for subbu_1

It looks okay to me, try `var_dump($_POST)` on your results.php page to be positive. I want to point out also, the original mysql functions are now deprecated in PHP and you should be using mysqli or PDO for your database connections. http://php.net/manual/en/migration55.deprecated.php

Member Avatar for subbu_1
0
528
Member Avatar for Samuccaya

Yes, that is CSS that you would put in your stylesheet preferably. It can go into the head of your document, but it's not really suggested. Here is a pretty good blog article on using custom fonts http://css-tricks.com/snippets/css/using-font-face/

Member Avatar for mattster
0
86
Member Avatar for happygeek

> These anonymous could very well be a western intelligence agency. I think it's unlikely, unless the show they put on for the media was to achieve some other agenda they have, maybe to keep cyber security issues in the news. If not an agency, it's admirable that they want …

Member Avatar for pixelsoul
4
671
Member Avatar for fireburner29

Here is a decent article about using jQuery to accomplish this. http://tech.tiffanyandjeremy.com/Articles/Two-level-JQuery-check-and-uncheck-all-child-checkboxes-of-a-parent-checkbox I'm sure there is some stuff about it in raw JavaScript, but I prefer jQuery over raw JavaScript for something like this.

Member Avatar for fireburner29
0
2K
Member Avatar for johnmartin.sanchez_1

If you're being prompted for your routers credentials, I can guarantee you that you won't fix it in XAMMP's configuration. Your port 80 is available externally, if it wasn't you wouldn't even get a response from your router (if it is really your router that is responding). Which leads me …

Member Avatar for johnmartin.sanchez_1
1
1K
Member Avatar for euhiduwehfui

I would recommend using jQuery. It makes using AJAX calls trivial. http://api.jquery.com/jquery.ajax/ Here is a tutorial from Nettuts that might give you an idea. http://code.tutsplus.com/tutorials/submit-a-form-without-page-refresh-using-jquery--net-59

Member Avatar for euhiduwehfui
0
807
Member Avatar for manazian
Re: Php

http://jdmweb.com/creating-a-simple-image-gallery-with-php-jquery http://www.sitepoint.com/php-gallery-system-minutes/ http://www.tutorialized.com/tutorial/Image-gallery-using-php-and-mysql-blob-storage-and-displaying-the-image-from-mysql-blob/75423 and about 61,400,000 more results on Google

Member Avatar for diafol
-3
261
Member Avatar for local1page
Member Avatar for Tuan_2

I'm wondering the reason for even have a "cart" when you only have one product. Wouldn't it make it a lot simpler to just have a "buy now" button that takes them off to Paypal to pay for it? I wouldn't use a cart at the grocery store for one …

Member Avatar for Tuan_2
0
202
Member Avatar for SimonIoa

They're libraries that PHP uses to edit the images, so they are installed on your server, where the image is manipulated. Nothing needs to be installed on the client PC.

Member Avatar for cereal
0
670
Member Avatar for grakovski

Exactly what diafol said. In your loop you're creating the structure each pass through. You want to create your array outside of your loop and then add the new data to the array with the loop. $values3 = array('repo' => array()); while($row = mysqli_fetch_assoc($get2)) { $values3['repo'][] = array('name3'=>$row['user_name']); } The …

Member Avatar for grakovski
0
769
Member Avatar for Tuan_2
Member Avatar for Lardmeister
Member Avatar for AntonyRayan

The easiest method is to use jQueryUI's autocomplete IMO http://jqueryui.com/autocomplete/

Member Avatar for Sugmuffen
0
285
Member Avatar for Aethon

It really shouldn't matter whether you write the html for this, or if it is generated by PHP. PHP doesn't manipulate the DOM after the page has been rendered. Do you have a live page somewhere that we might be able to see it in action?

Member Avatar for Aethon
0
314
Member Avatar for old_apache

You've got one line of PHP here that is for a form error. The code that actually gets the size of the image would be helpful. And when you say "i got nothing.", what do you mean? Do you get an error message? does the $_FILES array even exist? etc.

Member Avatar for old_apache
0
793
Member Avatar for Viswajith_1
Member Avatar for mehul5336

They've pretty much documented the entire framework, including forms and databases. Basic Database Usage http://laravel.com/docs/4.2/database Query Builder http://laravel.com/docs/4.2/queries Forms & HTML http://laravel.com/docs/4.2/html

Member Avatar for pixelsoul
0
32
Member Avatar for iamthwee

When I started using Laravel I didn't really care for them. It comes with the blade templating engine, and once I understood the syntax I thought it was nice. Thought you have the option of using other templating engines with it as well.

Member Avatar for diafol
0
153
Member Avatar for Stefce

It's being caused by `Cobreloa - O'Higgins`. Try escaping with backslashes like `Cobreloa - O'Higgins`. You should be sanatizing your data before inserting it into your database, which includes add backslashes. An example, css-tricks.com has an example function for doing this, which I'm sure is fine to use. http://css-tricks.com/snippets/php/sanitize-database-inputs/

Member Avatar for Stefce
0
310
Member Avatar for game4tress

When you're outputing images that are stored in the database you need to declare a header that tells the browser that the content is an image so it knows how to handle it. On the page where your query is for the image, you'll want to declare a header for …

Member Avatar for pixelsoul
0
169
Member Avatar for lovewithweb
Member Avatar for ankit.baphna

You can bind an ajax call on the selector of your choice with the event of your choice. Using jQuery helps stream line the code for making a call with AJAX to your script that runs the query, then returns the results back to the page, in the div, table, …

Member Avatar for pixelsoul
0
257
Member Avatar for ramsiva

I want one billion dollars and peace on earth. Oh and a pizza. https://code.google.com/p/php-excel-reader/

Member Avatar for ramsiva
0
74

The End.