8,966 Posted Topics
Re: http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/454394/robot.txt | |
Re: > $database = mysql_select_db(DB_DATABASE) That returns a resource. > $database->sql_query($sql); This implies an object. Where did you get that code? I think you are mixing up different solutions. Check the PHP code snippets, there are samples for MySQL, MySQLi and PDO. | |
Re: Give an example. What you are asking is not clear. | |
Re: What is the code for the `query` function? | |
Re: What are you outputting, `$content` or `$replaced_content` ? | |
Re: > Does any java script work without web server? Yes, but I doubt Javascript will have access to your shared files. > If I need to have a web based solution If you are allowed to install [XAMPP](https://www.apachefriends.org/index.html) or [WAMPServer](http://www.wampserver.com/en/), or even [IIS Express](http://www.iis.net/learn/extensions/introduction-to-iis-express/iis-express-overview) then you can build a script. | |
Re: See the link above to server2go. | |
Re: > get all the content of filehippo That content is copyrighted, be careful what you do. | |
Re: Do you get an error, or what? | |
![]() | Re: Here's a start, you just need to convert the output into a tree: <?php $html = <<<EOT <ul> <li>menu 1</li> <li>menu 2<ul> <li>menu 2.1</li> <li>menu 2.2</li></ul></li> <li>menu 3</li> </ul> EOT; function find_ul_or_li($source) { $result = false; $pos_ul = strpos($source, '<ul>'); $pos_li = strpos($source, '<li>'); $pos_cul = strpos($source, '</ul>'); $pos_cli = … |
![]() | Re: > Exactly what are regex? Patterns for testing against input strings. > Do we write them ourselves or are they prdefined expressions? You write them, but there are many examples readily available. > If we can write regex ourselves, how do we write them? Text editor or tool. > how … |
Re: UPDATE members SET password='$password', salt='$random_salt' WHERE id = ? The `AND` is messing it up, thus the query fails. | |
Re: > number as a label in marker i want to display. I don't think gmap supports this, so you need to create pins for every number, either statically or dynamically. | |
Re: Use `:filename` instead of `$filename`, like the other bound parameters. | |
![]() | |
Re: I don't see anything wrong with your connection string, but are you sure the path to the file is correct? | |
Re: Most likely there was an error in the query you executed. Read [URL="http://www.daniweb.com/forums/thread191031.html"]this thread[/URL] first. | |
| |
Re: PHP runs on the server, not the client, so that info isn't directly available to you. If possible at all, you'll need Javascript. | |
Re: Probably Amsterdam, but I (and millions of others) prefer the [Keukenhof](http://500px.com/search?q=keukenhof&submit=Submit) | |
Re: > if choose the second way how to i insert them You can use `|` (or) | |
Re: > it gives me this error On what line? | |
Re: > if you take time and code it If you want someone to code this for you, you'd better try in the [Jobs forum](http://www.daniweb.com/business-exchange/jobs-and-resumes/52). | |
Re: > how can i search a record with no In or no Out from the date range specified? If you group by employee number and date, the `COUNT(*)` should be even. The ones with an uneven count miss an in or an out. Unfortunately, this does not account for say … | |
Re: > I would like to try, but think its beyond my capabilities as Im just a begginer. Non-sense. Once you try one of the examples, all other will be just like it. Just jump in. > Would I have to rewrite the pages I already have etc the session and … | |
Re: There was an error, did you connect properly? $result = mysql_query("SELECT * FROM chart1") or die(mysql_error()); | |
Re: > I have purchased the sms api. Where's the documentation? What do you have so far? | |
![]() | Re: Perhaps [this](http://www.daniweb.com/web-development/javascript-dhtml-ajax/code/276506/jquery-forward-array-to-server) will get you started. ![]() |
Re: > i wanna know about what they represent Usually a product number, but QR code is designed to contain something larger, like an URL. > how they are read by our application Usually by an external scanner. These scanners read the image and convert it into plain text, which is … | |
![]() | Re: Use: http://api.jquery.com/event.stoppropagation/ It stops the event from "bubbling up". $(".dd-item").click(function(){ alert($(this).find('.dd3-content').html()); alert($(this).find('.url').html()); event.stopPropagation(); }); ![]() |
Re: http://www.daniweb.com/community-center/daniweb-community-feedback/threads/452623/new-forum-topic-idea#post1962905 | |
Re: > asdfghjklasdfgh Hmz, although not an infractable offence it looks like on [one of them](www.daniweb.com/web-development/web-design-html-and-css/threads/446774/best-windows-8-web-editor) the entire thread of replies has been downvoted too. > piece of my mind for randomly... Don't start a flame war. | |
| |
Re: Works for me, provided you change `write` to `alert` | |
Re: > Note, this won't graph anything unless you have the html/css (i didn't provide that). Why not? Without it it's a code snippet that doesn't run. | |
Re: Do you have documentation? It says there's a problem with security, perhaps it needs more than just a username and password. | |
Re: > How can I modify contents of a web page (like text) and have it stay that way locally, You can try to use HTML5's local storage feature, but if someone clears it, your changes will be gone. There's no guaranteed way to do what you want. > Alternatively, are … | |
![]() | Re: You could use [array_flip](http://www.php.net/manual/en/function.array-flip.php) to remove the need for the two constant arrays. Although a conversion is needed then. ![]() |
The End.