373 Posted Topics
Re: please post your script's part, which you think contains an error. | |
Re: yes, you can relocate it by editing the DocumentRoot setting in XAMPP\apache\conf\httpd.conf. for example - It should currently be: C:/xampp/htdocs Change it to: C:/projects/sample etc | |
Re: try to echo your $_post before the line6 like - [CODE]echo '<pre>'; print_r($_POST); echo '</pre>'; [/CODE] It may help you, because 'team' is array also | |
Re: [CODE] <? $link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password') or die(' ' . mysql_error()); mysql_select_db('my_database') or die('Could not select database'); $query = "SELECT * FROM my_table where row_id ='".$id."' "; $result = mysql_query($query) or die('Query failed: ' . mysql_error()); while($row = mysql_fetch_array($result) ){ ?> <tr><td><?=$row[0] ?> </td><td><?=$row[1] ?> </td> </tr> <? } … | |
Re: This will give you the number of slashes in the string $str - [CODE] $str = "sdfsd/frg/grgr/rgr/"; $arr = explode('/',$str); echo $slashCount = count($arr) -1; [/CODE] | |
Re: [QUOTE=headedtomexico;1006329] The first function that failed was imageftbbox(), so I downgraded to code to imagettfbbox() and that wasn't found either. Any help would be greatly appreciated.[/QUOTE] The imagettfbbox() rquires both GD library and the FreeType library both. FreeType@ [url]http://freetype.sourceforge.net[/url] or [url]http://www.freetype.org[/url] You did it? | |
Re: or else u can just specify the amount of words you want par line with 'wordwrap()' like below - [CODE] $wordParLine = 10; wordwrap($string', $wordParLine); [/CODE] | |
Re: please check (or post here) with the database's table structure too, the player_id should have been as 'not null'. put the below code your line 2 - [CODE] echo "=>".mysql_error(); [/CODE] and post the output of echo here. | |
| |
Re: you wont even need the if else to have the dynamic meta tags , do something like below - <meta http-equiv="keywords" content="<?php echo "this is static or fixed".$dynamic_id. "this is again static".$dynamic_name /> Like in above case $dynamic_id will have its unique value for each record. | |
Re: hey what you asking is very broad, about developing a complete form, is this a homework problem. It seems that, you expect somebody to post the complete code for the form you want. Try google for some with the keywords like 'inventory management form' etc and try to modify the … | |
Re: For this you will need to look into the js code of fck. Check what exactly happen when you click that fck's "Paste as Plain text" button, all that need to happen onclick of your html button.It might help you. | |
Re: replace line 6 , wih below -[CODE] echo $comment = str_ireplace($row['banned_words'], $replacementword, "".$_POST['comment']."" );[/CODE] or in simple language echo the $comment and post the ouput here | |
Re: hey its impossible to have any integer number '0' stored as '000' because it wil violate its defenition. The easy way to have the db it that way, store '0' and display it '000' when it comes to scripting. hope this might help you. | |
Re: first decide against what (format ) you want to validate with them, like all numbers or all chars or no special chars etc. If thats the case, better to this in javascript. | |
Re: Many Internet Service Providers (ISP's) require that you send your username and password before you are allowed to send email. This is called "Authentication" or "SMTP Auth". More recently, some ISP's have begun to require that you have TWO separate and different login names - one for checking mail and … | |
Re: Its doesn't seem to be a php related question, please carry it to general category or elaborate it properly. | |
Re: The type of table in mySQL will serve a lot of purpose for this :) ex. innodb or myISAM innodb provides the lock on row basis instead of that on complete table. So ur this type of problem might get solved, just have some research for the table types of … | |
Re: You can controll all this things if you create the admin side for the user side feature u talking about. So you can add any number of bus companies that way from the admin side and those wil reflect in the user side of it. About the login, it can … | |
Re: what was that..!!! :) please mark the thread as solved. | |
Re: Is this problem solved, if yes please mark the thread as solved | |
The End.