373 Posted Topics

Member Avatar for rahul.anand77

please post your script's part, which you think contains an error.

Member Avatar for network18
0
70
Member Avatar for asim ahmad

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

Member Avatar for network18
0
75
Member Avatar for Zack_Grindall

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

Member Avatar for network18
0
546
Member Avatar for gtey

[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> <? } …

Member Avatar for network18
0
82
Member Avatar for lcyew

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]

Member Avatar for lcyew
0
569
Member Avatar for headedtomexico

[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?

Member Avatar for network18
0
170
Member Avatar for lcyew

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]

Member Avatar for lcyew
0
115
Member Avatar for OmniX

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.

Member Avatar for OmniX
0
143
Member Avatar for ultras1
Member Avatar for ultras1
0
100
Member Avatar for laxminarayan108

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.

Member Avatar for network18
0
85
Member Avatar for ayesha789

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 …

Member Avatar for network18
0
127
Member Avatar for hi.meral

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.

Member Avatar for hi.meral
0
81
Member Avatar for genieuk

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

Member Avatar for genieuk
0
161
Member Avatar for AdventDeo

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.

Member Avatar for network18
0
111
Member Avatar for jithusdani

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.

Member Avatar for network18
0
119
Member Avatar for smvec

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 …

Member Avatar for network18
0
103
Member Avatar for santhanalakshmi

Its doesn't seem to be a php related question, please carry it to general category or elaborate it properly.

Member Avatar for Will Gresham
-1
92
Member Avatar for Tigran

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 …

Member Avatar for network18
-1
96
Member Avatar for venus_me11

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 …

Member Avatar for hireaprogrammer
0
128
Member Avatar for bhakti.thakkar
0
71
Member Avatar for nic1213
Member Avatar for buddylee17
0
89
Member Avatar for samaru
Member Avatar for MikeJ

The End.