Everything posted by alex_oiste
-
mysql_fetch_array error
I will Thank you both!
-
mysql_fetch_array error
The error has disappeard now and everything seems to work fine. Thanks I was not aware that this function was so ancient lol. I am just responsable for a site and it's all using these functions...
-
mysql_fetch_array error
Hi guys, I am really a beginner with PHP, so I need your help on this one. I get this error on one of my pages. Warning: mysql_fetch_array() [function.mysql-fetch-array]: The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH. in /home/a8744633/public_html/pages/user_panel.php on line 9 Line 9 in that file is this: $account_info = mysql_fetch_array(mysql_query('SELECT create_date, function, real_name FROM account WHERE login="'.$_SESSION['username'].'"'),0); What is the problem?
-
My web design portfolio
It looks really nice! Good work! I hope you fill up your portfolio
-
How to implement a search function
I was expecting a reply, but ,anyway, I found out that I can generate my playlists in XSPF (XML Shareable Playlist Format). So, you asked for XML, right? Would this work? http://pastebin.com/GrAuWaYz
-
New Guy at the Bottom of the Mountain
Hello Ollie and welcome to WDF! I wish you all the best and to became a good web-designer who builds awesome websites! I think the most useful tip I can give you is to start this thing called 'web-design' by building something you actually need. That's what got me into this domain and started my passion about it! I was in need of someone to code my webpages but no one offered, so I started myself to do that. At first I knew absolutely nothing, but google was basically the main tool to learn stuff. You may apply this concept for you for a personal website (with wordpress, exactly) while you're travelling and visiting gorgeous places, right? Also I recommend you this site: http://codecademy.com/ for the basics of whatever you like (i.e. HTML/CSS/JS). It has great courses for any programming language (I believe)! By the way, your name reminded me of the main character of the Arrow TV series, haha, that's cool!
-
How to implement a search function
The raw HTML VLC generates me is this: http://pastebin.com/JXg3eQF7. Does the first line make my HTML an XML document or something? I can generate only in HTML, XSPF, M3U and M3U8. I'll do some research to see if I can generate in other formats my playlists. Thank you! It works now! I'll have it as a back-up just in case (and also save it for further use).
-
How to implement a search function
I mean what if I want to search only through songs that have a length > 3 mins and start with letter E only in the Rock section? Is that possible? What about a particular sorting? By name, length? Seems to work there on the website, but I'm not able to click the HTML CSS JS boxes to see the code used. I refreshed the page, even the cookies, what's the problem?
-
How to implement a search function
THIS is so awesome!! Thank you so much! It works! What if I want to add a filter to this? Is it possible?
-
How to implement a search function
Hm, I think I did something wrong? I put the code on the page where I have all my songs indexed (this one) right after the <style></style> tags (which are right after the <body> tag), and you can see the result on the page I linked above. I type my search and the results don't appear, but the song list disappears. What did I do wrong?
-
How to implement a search function
I don't really know what a CMS is/does... I just googled it and I don't think I understood it in it's depth.
-
How to implement a search function
Thank you, I was aware of that method and I've already tryed it. It's effective, yet it's not what I had in mind because I wanted the search results to be generated/displayed on my site directly without iframes. But I don't know if it's possible
-
How to implement a search function
I'm trying it right now! Thanks for the tip! I'll try using PHP to do what I need now that I can work with it. You can click on my website link in the main post and then just click on one category shown there (eg. All Songs ) and there you go, that's what VLC generates me. You can do it without PHP?
-
How to implement a search function
Hi guys! I was playing with VLC Media Player's options and I created playlists in HTML based on my songs and an idea came into my mind. What if I'd implement a search function to search one or more keywords trough the html pages (to find a song)? I googled for it and all I got were some programs that work only in PHP and with servers, but I don't have such things. I'm hosting my test site (where I 'play', to say so) at a website that doesn't provide access to the necessary stuff to implement the function in any way I have seen while searching on google. My test site where I'd like to implement the function is this: http://alextests.pancakeapps.com/. You'll see that I managed to sort songs in a few categories. Then, another idea: what if I want to search a song in a particular category? Could I sort them alphabetically or some other way (ex. lenght) when the results are displayed? I'm sure there's a way to do this using Lucene, Solr, Sphider, etc, but (acording to what I understood) all these require server access and PHP support, while I can't even host PHP files (they just don't display themselves, it just pops up the .php file for download). Is there a way to do this with the things I can use? I mean, could this be done (even if not so complex) using my html pages and some scripts or something? By the way, this is just something I want to do for myself (searching a song) and yes, I know I can use Windows's search bar, but that's not the point. I'm curious if this could be done and how exactly. I'm sorry if this sounds stupid (I'm aware that this might not be possible), but I'm no 'web wizard' to know everything, and I figured out that (hopefully) here I might get some help form more people. If linking my website bothers any of the Mods or if I posted in the wrong section, they can delete/move this thread.
-
Windows 10
Wow! That site is awesome! Thanks a lot, it really helped me to look for what I needed!
-
Some stock photos sites I've found
Hello guys! I was browsing for stock photos when I found an intresting article about 'stock photos that don't suck'. I checked them out and I've found some pretty awesome stuff! Then, I was thinking about sharing them with you. I hope this doesn't bother anyone and if this was posted before, mods can delete it Little Visuals http://littlevisuals.co/ Unsplash http://unsplash.com/ Death to the Stock Photo http://join.deathtothestockphoto.com/ New Old Stock http://nos.twnsnd.co/ Superfamous (requires attribution) http://superfamous.com/ Picjumbo http://picjumbo.com/ The Pattern Library http://thepatternlibrary.com/ Gratisography http://www.gratisography.com/ Getrefe http://getrefe.tumblr.com/ IM Free (requires attribution) http://imcreator.com/free Jay Mantri http://jaymantri.com/ Public Domain Archive http://publicdomainarchive.com/ Magdeleine http://magdeleine.co/ Foodiesfeed http://foodiesfeed.com Picography http://picography.co/ Raumrot http://www.raumrot.com/10/ ISO Republic http://isorepublic.com/ Source: medium.com by Dustin Senos. I didn't check out the ones at the bottom of the list because I've found what I needed on the sites at the top, so there's a chance that some may be deactivated or not updated. I hope this helps anyone
-
Newbie says hello and needs advice
Your ideas sound awesome! Keep up the hard work
-
Newbie says hello and needs advice
That sounds really interesting! I'm going to try this for sure. I bet a lot of ideas I had, I forgot them due to not writing them down when they came up on my mind.
-
Newbie says hello and needs advice
Thank you for your advice! If I had too much inspiration I'd note every idea and 'postpone' it for later while I take care of the current one. I love music too, but what ideas could have came out of that? I'm just curious.
-
Windows 10
Yeah I allocated 4GB RAM from my HDD and things don't seem to be working any faster. I think i'm going to undo that and change some settings for best performance. So did my download
-
Windows 10
Why didn't i tink of that? Great idea! But as I went through the settings I remembered that I can allocate virtual memory from my HDD for Windows to use it as RAM, right? Would that help ? Honestly I love how Windows10 is designed, I'd rather lose some space to make it work properly than losing the appearance it has. My girlfriend had the same exact problem. The downloading process stops at a particular percent during download and it never seems to work. Finally she had no choice than to shut it down, because she had enough of pointless waiting. I don't know if it's normal, but i ensure you you're not the only one If you intrerrupt the downloading process (in my described-above case, at least) you will simply stop the update that upgrades to windows 10, but you can start it again later if you want to (starting the update process again) ! This might help you: https://www.microsoft.com/en-us/software-download/windows10. It does the same thing as the update, the only difference is that this may actually work Just download the thing right there and run it, the downloading should start and eventually finish successfully. Also, don't worry if it stucks again even with this, try again and it will most likely work.
-
Windows 10
Well, I can't do anything about it right now. I'll just have to deal with it I guess.
-
Windows 10
I just realised i said 'at least theoretically two times better', I misjudged the specs of this PC with another PC of mine. Even so, it should run okay as i have an Intel Dual-core 2.20GHz 2.20GHz processor, 2GB RAM (64 bit). I meet the minimum requirements, right?
-
Windows 10
Actually it might not. My hardware is on average (at least) theoretically two times better than Windows 10's system requiments. I don't know, maybe you're right.
-
Newbie says hello and needs advice
Hello @All-rounder and thank you ! Something tells me that I'm going to find it soon! And yup i wouldn't mind at all that kind of 'spam' haha