- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I've been working as a developer since 2001, mostly in a LAMP environment.
16 Posted Topics
Re: You can also do this in a single query, instead of looping to make multiple queries. Just implode [CODE] $users=array("Vito","Joey","Vinny"); // glue them together with ', ' $userStr = implode("', '", $users); $query="SELECT * FROM users WHERE name in ('$userStr')"; [/CODE] With the 'glue' we use, this produces a where … | |
Re: There's no way to just hand you an answer for this, as it all depends on the code in place on your site. You need to go back to your developer with this request. If you're using an off-the-shelf e-commerce package and don't have a developer, you might consider hiring … | |
Re: You might check the error logs to see if it holds something more meaningful. If you can pinpoint which query is failing, print it to screen to see if there's a problem with the query. | |
Re: I don't know how others are seeing this, but my take is that you're making it a lot of work to help you. For instance...based only on what you've given, I'd say that there's no unifying file that includes the javascript file or the individual select boxes. That aside, you … | |
Re: Is the download freely available to registered members, and registration is free - i.e. it's not a file that requires payment? Assuming it's freely available... The only hacking effort I can think of is a rather weak DoS attack, asking your server to download a potentially huge file repeatedly. I … | |
Re: [QUOTE=whiteyoh;1167052]Can anybody give any help?[/QUOTE] There are a lot of things that could be causing a client to fail, and a lot of unknowns. Some questions I would have for you: Do you have access to your apache error logs? Is there any output to your screen? Do you know … | |
Re: [QUOTE=abhish2005;1155673]IS THERE ANYWAY TO INSERT VALUES FROM JAVASCRIPT?????????OR IS THERE SOME WAY BY WHICH I CAN PASS THE JAVASCRIPT VALUES TO PHPIN THE SAME PAGE........(IM TRYING TO USE COOKIES etc.etc BUT AM REALLLLLY SHORT OF TYM!!!!!!!!!!!!!PLEASE HELP!!!!)[/QUOTE] Sounds like a perfect job for Ajax! You can send data to a … ![]() | |
Re: Here's a possible solution...[url]http://blog.dynom.nl/archives/Multiple-PHP-versions-on-one-webserver_20091103_53.html[/url] | |
Re: I had a quick look at version 2.7.1. Newer versions may be similar. Look at wp-includes/query.php, beginning on line 1739. That looks like a good starting point. | |
Re: Look for the API for each one. Here's the one for google... [url]http://code.google.com/apis/contacts/[/url] | |
Re: I've done something similar, but it was on a closed kiosk box. Unless you're doing something similar, I would advise against it, as security has to be very lax to do so. You will either need to: 1) make the shell script executable by apache (or whatever web server you're … | |
Re: It sounds like you might need to try a union. See if this gets what you need: [CODE]$query = "SELECT table1.id AS id2 WHERE column = 'blah' UNION SELECT table2.id AS id2 WHERE column = 'blah'";[/CODE] You can check out the mysql documentation for UNION for more info. | |
Re: [QUOTE=ajuas;1155657]i have a website [URL snipped] which need a forum PHP code.. i am interested to start a forum on my website.. someone please post me a complete php code for that.[/QUOTE] I don't think you're going to get anyone to "post me a complete php code for that" but … ![]() | |
Re: You're going to run into many problems trying to implement this. MySQL will not auto-increment an id like this, nor will it increment with leading zeroes. You would have to determine the next number within your code. Could I ask the reasoning for this type of customer id? If your … | |
Re: Look in/around your c:\server directory for an index file (index.htm, indext.html, default.htm, etc.). That will be your web root, and where apache is looking for files. It's usually in htdocs, but doesn't sound like it by what you say. A fresh install will have a few .gif files there as … | |
Re: [QUOTE=jetjash;881704]Hai, I tried the below mentioned query’s Select Cardno, cardeventdate, min(cardeventtime), max(cardeventtime) from table where cardeventtime between 030001 to 030000 Jash.[/QUOTE] Not sure about any intricacies of SQL SERVER 2000, but the 'between' clause uses an 'and' between the values: ...between 030001 and 030000 Also...since your time has a … |
The End.