- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
34 Posted Topics
Re: [QUOTE=PierreJ;1182968]Thank whiteyoh , for your fast answer... But I akready know this way... I'm looking for a short way making a URL like [url]www.thesite.con?robert[/url] I'm sure that I already see this kind of URL but I don't know how they "catch"the variable in the index file. I was thinking about … | |
Hey guys.. I have a foreach loop (with multiple variables inside of it) and I need to collect the variables, as well as other content, and store it into a single string so I can output it into an email. Has anyone done something similar to this before? Here's some … | |
Re: How is the date entered in the database? Kind of hard to figure out what the problem might be without more info (an example). | |
Re: [QUOTE=hotice47;1312183] and one more thing how i can delete Guest users who are not online..[/QUOTE] You should use cookies that expire after a certain time limit is reached. For example, everytime a user updates something in the chat, update the time on the cookie. If the user attempts to update … | |
Does anyone know where the is_home() function is defined in wordpress? I've searched all over and practically searched every file in the script but I can't find it. | |
Re: Well you're missing an '>' in your <td> tag to start with. Other than that, you're missing too much code to see what's going on. If that doesn't fix it.. post your mysql_query. And your table formatting looks ugly as hell as well. Missing closing tags for just about everything.. … | |
Hey everyone, I don't even know where to begin with this. I need to limit folder access to only those members who are allowed to access them. For example, I'm creating a folder /5/ within a folder called /orderreports/ for the order id 5. I need to check which user … | |
Yesterday I setup a message/note script for a "view project" page. It seemed to work fine. Today I went to test it out a bit more and on random occasions I get stuck in a confirm loop. Screenshot: [url]http://rawrgv.com/images/screenlnl.png[/url] I tried unsetting the form submit variable, but that doesn't seem … | |
Re: [QUOTE=drjohn;1200065]Can't be done with PHP as it's executed server side and the result is then sent to the browser. You CAN do it with CSS or with Javascript however, by send the info and hiding it, then the CSS or javascript reveals the hidden info. If you visit the ukfolkfestivals … | |
Re: [QUOTE=mrcniceguy;1200774] just Remember Google is ur Friend)there ar millions of tutorials explaining this Thing.[/QUOTE] ^ That's how I learned. Search "user login script" or something like that on Google and you'll find several variations of how to do it. | |
Hello, I'm trying to pull data from multiple tables in a single mysql_query and I'm having trouble displaying the data that's pulled. Here's what I've got so far.. the highlighted code is the part that doesn't work. (sorry in advanced for the sloppy code.. i've been copying/pasting stuff all over … | |
Re: Search "java screensaver tutorial" in Google and you're set. | |
I'm trying to convert a row from a matrix of Char's to a String and all I've been able to get is a bunch of memory locations. I was hoping someone can lend me a hand. Here's what I've got: [CODE] for(int c=0; c<tempBoard.length; c++){ String charArray = " "; … | |
Re: [CODE] $image = substr($row['image'], 3); echo "<img src='".$image."' /><br />"; [/CODE] That's assuming the image location is stored in a column called "image" in your database table. In addition to that.. I'm pretty sure you need to insert 's before your quotes in the <img> tag so the "s are … | |
Re: [QUOTE]Chris how do you connect to a database? Robo answer Don't really want to do a database seems unnecessary as there is no other need for a database and the person who will be maintaining the site has any database experience. Yes thats what i'm planning to do but I … ![]() | |
Re: Feel free to use mine: I tried to take some of the extra code out and dumb it down a bit. Hopefully I didn't miss something. Good luck. [CODE] // FORM TO UPLOAD FILE <p><form enctype="multipart/form-data" action="upload.php" method="POST"> <input name="uploaded" type="file" /><BR /><BR /> <input type="submit" value="Upload" id="findFileButton" /> </form></p> … | |
Re: I'm about 90% sure it's because your first while loop gets the 6th row before you break out of the loop and doesn't display it. The only way I can think of fixing it is to to break at the end of it: [CODE]if($i == 5){ break; } $i++; [/CODE] | |
Re: Check the overhead of your table.. sometimes if could get a bit large if you're constantly creating/deleting things. | |
Re: It's rather obvious to me that you don't have permission to use whatever port you're trying to use. It works on your localhost because you have root permissions and I'm pretty sure you'll need root access to make it work on the server as well. I don't exactly know how … | |
Re: I'm not 100% sure, because I almost always use mysql_fetch_assoc, but I think you're missing a second parameter in your mysql_fetch function: Edit: Just looked at some other threads and apparently you don't need it, so disregard this post. [CODE]while ($row = mysql_fetch_array($result, MYSQL_ASSOC))[/CODE] Source: [url]http://www.php.net/manual/en/function.mysql-fetch-array.php[/url] | |
Re: Why don't you just move the folder? lol Also, I may be wrong, but can't you use multiple .. 's? So something like this.. ../../../folder/file.txt | |
Re: Pointing out which line, line 74 is might help your cause. | |
Re: [QUOTE=niths;1187704][CODE] <td><input name="radio" type="radio" id="radio[]" checked="checked" value="<?php echo $row['projectassign'];?>"></td> [/CODE][/QUOTE] Why on earth would you use a session to pass a variable if you're passing the variable through a form? Maybe you just didn't use the correct wording. Anyway, on whatever page you're posting the form to, you can use … | |
Alright, so I've got this dynamic form. My problem is.. the name could be anything between "1" to "100000" depending on what the output of a script is and which parts of the output the user chooses to select. What would you do to get all of the values from … | |
Anyone know what I'm doing wrong here? I'm trying to get this code to work so that if a directory exists.. the mkdir() function is bypassed (so i dont get an error) but it seems that no matter what I throw in my is_dir() function it always hops down to … | |
Re: [CODE]echo "<center><a href=\"$PHP_SELF?path=".$aPath."&page=".$aThisPage."&img=".$aFn."&idx=".$aIdx."\"><img rel=\"lightbox\" border=\"4\" width=\"".$twidth."\" height=\"".$theight."\" src=\"genthumbs.php?image=".$fullpath."&w=".$twidth."\" rel=\"lightbox\"></img></a></center>";[/CODE] I might have missed one or two.. but you need quotes surrounding the variable to drop it out of the echo and surround the variable by periods... or you can use {'s like below. And if the lightbox isn't working, the … | |
Re: Does it need to be through WiFi or can it go through a server? I'm not sure how you'd be able to do it through WiFi, but if both ends are connected to the internet, why not just transfer the info through a database or something. Have the client post … | |
Re: I have no idea what you're asking.. but the following code will extract every row of data from your table. It will display each value for title, file, and date and then go to the next row and continue until there are no more rows left. If that's not what … | |
Re: [CODE]$dblocalise = 'sql'.DS.$type.DS.'localise.sql';[/CODE] It's referenced to so many different things, it'd take me awhile to look through the entire code to find exactly what's causing the problem. But basically what's happening is you have an array of type int (just an example) and you're trying to insert data of type … | |
This should be a rather simple question to answer. I want to include a field of data using $_POST that is not inputted by the user in an <input name=" "> text box. Is there anyway to manually add a field to $_POST without using input? Example: [CODE]<form action="<? echo … | |
I've been scratching my head for a bit now and I can't think of a way to make a mysql_query pull a set of data that matches a number in an array. It's easier to explain what I want to do with code.. so here goes.. Then I need my … | |
I'm trying to write a program for class and I can't get my fractional exponent to work. I've tried using 2/3 2.0/3.0 and I've tried entering 2/3 into a separate variable, but nothing seems to work. I don't get any errors while building 2/3 but the logic does not come … | |
I'm not sure if I'm not comparing the strings properly or not, but for some reason my toppingCost function will only return 0 or a huge wacky number (when I mess around with the code a bit). Does anyone see anything wrong with this? [CODE] // represent the cost of … | |
I have no idea why, but I'm having problems with getting my strings to compare properly. Below is my code. The part I'm having trouble with is in the while loop. For some reason the programs looping even when my string matches the constant. Any help would be appreciated. [CODE] … |
The End.