- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
35 Posted Topics
what menu ? a navigation menu or print options menu ? what kind of menu ?
do you mean you wish to use PHP instead of this "http://wwtele.com/cgi-sys/formmail.pl" ? this part of your form is very confusing [code=html] Name:<input name="realname" type="text" size="30" /> <input type="hidden" type="text" value="REAL-NAME-VALUE-HERE" name="name" /> [/code]
you can try this [code=javascript] function checkAll(field) { if(document.myform.CheckAll.checked) { for (i = 0; i < field.length; i++) field[i].checked = true; } else { for (i = 0; i < field.length; i++) field[i].checked = true; } } [/code]
i'm not sure what your question is but a query isn't saved , only parts of it are sent to the search.php page using the GET method (for example) which in turn are used to construct a database query and display the results of that query (search)
if you wish to display a countdown, you will need javascript which will force the redirect for you
try this [code=php] echo number_format(1.0E+10, 0, '', ''); [/code]
you'd probably have to use an sql qury such as this: SELECT business_name FROM business_table WHERE business_name LIKE '%KEYWORD%' ORDER BY bid DESC; and ofcourse never forget to sanitize user input first
or if you didn't want to change your php.ini (i don't think you should) use the @ sign [code=php] <?php $url = "gssgdd"; @$tags = (get_meta_tags($url)) ? get_meta_tags($url) : false; if($tags){ echo "worked"; }else{ echo "failed"; } ?> [/code]
if a session variable was set, you can access through $_SESSION['variable_name']
you wish to select all tag id and tag text for every item? well , you can do that in one query [code=mysql] SELECT u.item_id, t.tag_id, t.tag_text FROM useritemtag u, tags t WHERE u.tag_id = t.tag_id ORDER BY u.item_id ASC; [/code]
Arsench, you do realize this thread is 5 years old don't you ?!
before you do the insert, query the table for that username to check if it already exists, and if it does, return a "username already taken" error message.
you can do that by displaying the result of dividing the larger limit value by 5
[QUOTE=cwarn23;1162859]Yes for free. It is one of the things I enjoy doing when I have plenty of time. And latley I have had a lot of time with my SHA1 project aborted.[/QUOTE] he said "Fee" not "Free" lol
the reason is because you're not submitting the form in the first place , use an in put type submit to image instead
did you try assigning it different style values? inline for example?
do you mean redirect to the subdomain "piecework.mydomainname.com/en/11" ?
use the mkdir() function to create a directory the the copy() function to copy the index file :)
"setTimeout('animatefadein()', 1000);" should be inside the if statement inside animatefadein() function
you can use $_SERVER['REMOTE_ADDR'] which returns the ip address of the person browsing the page something like this [code=php] $ip = $_SERVER['REMOTE_ADDR']; if ($ip == '127.0.0.1') { exit('blocked'); } [/code] just an example :)
why not try this: [code=javascript] var moo= 15000.00; var orig= 920.00; var bool = orig - moo; if (bool < 0) { ...some code here... } [/code]
get the contents of the folder and use "is_dir()" in an "if" statement so that you would chmod files only :)
yes it can be done you could try something like this: [code=php] <?php $ftp = ftp_connect('polar.ncep.noaa.gov'); ftp_login($ftp, "anonymous", ""); ftp_get($ftp, 'akw.46001.bull', '/pub/waves/latest_run/akw.46001.bull', FTP_ASCII); ftp_close($ftp); $file = file('akw.46001.bull'); echo '<pre>'; foreach($file as $line) { echo $line; } echo '</pre>'; ?> [/code] this downloads the file, reads it into an array type …
both queries seem fine to me, can you post the entire error message?
you need to access $_FILE instead of $_POST it should be: $file = $_FILE['file2']['name'] instead of $file = $_POST['file2'];
hello , first i want to say that im very new at c++ , i managed to create a very simple program through searching the internet , this little program involves running a certain exe file with parameters : (e.g: "c:\folder\file.exe" -parameter1 -parameter2) i am using the system() function to …
Hello, please bear with me if this question is stupid. I'm fairly new to this and i really need to know. is it possible to use [B]"SELECT COUNT"[/B] to get the number of DIFFERENT values one column currently holds grouped by a value from another column.?
Hi, is it possible to control the output so that one output would replace the one before it ? let me explain, i made a countdown timer, the counting instance is printed out but normally i would get something like this [ICODE]9876543210[/ICODE] what i want is for the counting instance …
i don't know if it will help but you could try this: [CODE=cpp] int seconds=time (NULL); string characters; char seconds1[128]; itoa(seconds,seconds1,10); string seconds2=seconds1; string sqlquery="INSERT INTO chatlog (datetime, message) VALUES (" + seconds2 + "," + characters + ")";[/CODE]
Hello everyone, i have the following code [CODE=cpp]#include <iostream> #include <conio.h> using namespace std; int main() { cout<<"\nPress Any Key To Continue "; getch(); return 0; }[/CODE] it compiles fine on my windows xp using microsoft visual c++ , and i can run the resultant executable file with no problems …
i would access the windows registry and get the username
HI, if i have something like this [CODE]char string[16]; std::cin>>string;[/CODE] and i type something and press "Enter" then [ICODE]std::cin[/ICODE]would terminate, how do i get it to terminate when my first key input is "Enter" ? because normally if i do that , input will not terminate and i will only …
Hello, i need help on how to search for a sentence inside a txt file after opening it and then applying a condition if that sentence was found. im a beginner so i don't know how. basically i have written a program that uses system("command>file.txt") to start a command line …
i think you use the atoi function for that [code]string a; int b; b=atoi(a);[/code]
The End.
hashinclude