Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~13.3K People Reached
Favorite Tags

30 Posted Topics

Member Avatar for Geonith

//Newline and tab space to single space $from_mysql = str_replace(array("\r\n", "\r", "\n", "\t"), ' ', $from_mysql); // Multiple spaces to single space ( using regular expression) $from_mysql = ereg_replace(" {2,}", ' ',$from_mysql); // Replaces 2 or more spaces with a single space, {2,} indicates that you are looking for 2 …

Member Avatar for mnelson4
0
6K
Member Avatar for 'Stein

Yup its a windows 98 entry , i had also messed up like this before , and its safe to remove that entry , but i doubt that your windows Xp copy might be running slow due to this.

Member Avatar for gerbil
0
243
Member Avatar for ultra vires

Hey guys need your help here. I will go ahead and describe my problem and what i intend and what i am getting. Platform for SQL Queries : MS Access There are 2 identical table in terms of table structure, they contain information ( RAW Data) about month, money i …

Member Avatar for ultra vires
0
113
Member Avatar for ultra vires

I would like to know that if there is a way to include the name of the form in HttpWebRequest class so that when i fire my request to the web page it also passes the form name.

Member Avatar for Ramy Mahrous
0
85
Member Avatar for ultra vires

Is there a way to use curl with c# ?? I tried libcurl .Net but its really messy :(

0
73
Member Avatar for kevin wood

i guess this is what you are looking for :) [url]http://www.webmasterworld.com/php/3146706.htm[/url]

Member Avatar for kevin wood
0
107
Member Avatar for atplerry

Instead of directly running from the dreamweaver, which opens the php file instead of parsing it through the apache server try opening it from the location of the server. What i mean is : make a directory called "test" in your htdocs folder in WAMP installation and copy your "hello.php" …

Member Avatar for phper
0
247
Member Avatar for mizteryq

You can use PHP-GTK for building stand alone application. Link: [url]http://gtk.php.net/[/url] What is PHP-GTK? PHP-GTK is an extension for the PHP programming language that implements language bindings for GTK+. It provides an object-oriented interface to GTK+ classes and functions and greatly simplifies writing client-side cross-platform GUI applications.

Member Avatar for ultra vires
0
130
Member Avatar for kumar_niten

This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. Source : PHP online manual Link : [url]http://in2.php.net/ob_start[/url] View example listed there to get a better idea

Member Avatar for ultra vires
0
74
Member Avatar for dabamb

If you can elaborate more on what is the problem rather than saying that i need help with the system, then maybe we could help you out. First of all tell, what all have you done.

Member Avatar for dabamb
0
142
Member Avatar for shadiadiph

If you want to view the last updated record and you have a column which stores the last update. Then use this : (i am assuming that you have stored time in unix timestamp format, i.e you have used php's time() function) [CODE] $sql = "SELECT * FROM tblexdetails where …

Member Avatar for ultra vires
0
3K
Member Avatar for oslover

you have to define these variables before you can use them. DB_SERVER , DB_SERVER_USERNAME , DB_SERVER_PASSWORD and DB_DATABASE

Member Avatar for ultra vires
0
123
Member Avatar for justinmyoung

Instead of using PHPmyAdmin i would suggest you to use PHP to open the file and read the test file and write a sql query that would go around in a loop until the end of file. This is the fastest way of doing it , if the text file …

Member Avatar for ultra vires
0
64
Member Avatar for aran87

Problem : Having 2 submit buttons submit to 2 different pages Solution : [CODE] <form name="fruits" action="" method="post"> [/CODE] [CODE] <input type="button" name="Apple" value="Give Me apples " onClick="document.veggie.action='get_me_veggie.php'; document.fruits.submit();" /> <input type=”button” name=”orange” value=”Give Me Oranges” onClick=”document.fruits.action=’get_me_fruits.php’; document.fruits.submit();” /> [/CODE] Here you go :)

Member Avatar for ultra vires
0
56
Member Avatar for maddogsprofiles

error 2 and 3 are occurring because you haven't initiated a MySQL connection. define your $conn_id ex: <?php $db_name="rps"; $db_url="localhost"; $db_username="root"; $db_password="rps"; $connection = mysql_connect($db_url,$db_username,$db_password);

Member Avatar for ultra vires
0
99
Member Avatar for Venom Rush

Have a look here, the author has described a number of ways for handling Pretty URLs [url]http://www.phpriot.com/articles/search-engine-urls[/url]

Member Avatar for Venom Rush
0
87
Member Avatar for kevin wood
Member Avatar for kevin wood
0
104
Member Avatar for queenc

You cant read a DOC file in the manner that you have used as the content is not stored as in the case or normal text file. Try opening the doc file with notepad and you will get what i mean. You are better off using iFilter for reading DOC …

Member Avatar for ultra vires
0
76
Member Avatar for chicago1985

PHP does have frameworks like Cold Fusion. Check out the Zend and others ( google is your friend ;) )

Member Avatar for ultra vires
0
78
Member Avatar for pancgom

I would go with sessions too . They are a better and neat way of doing this. To start a session [CODE] session_start(); [/CODE] To write variables into session [CODE] $_SESSION[variable_name] = variable_value; [/CODE] To end a session [CODE] session_destroy(); [/CODE] remember to use session_start() at the top of every …

Member Avatar for buddylee17
0
1K
Member Avatar for ash112

I will explain you the logic what has to be done with an example and you can implement that in your script. [CODE] $results = mysql_query("SELECT * FROM f_category ORDER BY c_order DESC", $connection); $numrows = @mysql_num_rows($results); $x = 0; while ($x < $numrows) { $cid = stripslashes(mysql_result($results, $x, "c_id")); …

Member Avatar for somedude3488
0
140
Member Avatar for jaydude23

What does the function now() do exactly ?? can you post the function here ?

Member Avatar for ultra vires
0
154
Member Avatar for tuannie

try using an [U][COLOR=Orange]array[/COLOR][/U] instead of making 5 variable... if you still dont get it then read on for the code... int x[5],sum=0; // creates an array to store 5 integers for(int i=0;i<5;i++) // loop to take 5 values and evaluate them { cin>>x[i]; if(x[i]%2==0) // checks if the nubmer …

Member Avatar for khanh1975
0
296
Member Avatar for ultra vires

Hi guys, i am new to java so i started of with basics, but now im stuck at a little problem. I will paste the code and error's below, hoping that some1 could sort em out [code=java] import java.lang.*; import java.io.*; class Sphere{ float radius; int cXcord; int cYcord; int …

Member Avatar for ultra vires
0
88
Member Avatar for ultra vires

Is there a way to store multiple enteries in a same field (Like adding delim's..etc , which would be considered while we are firing queries at them) Ex: i have a field named subjects.. is is supposed to have multiple entries in the same field (English , maths ,etc) Is …

Member Avatar for ultra vires
0
159
Member Avatar for ultra vires

There is a strange thing going on with my copy of Visual Studio.. the class for ADO isnt there .. what i mean is that i cant use System.Data.ADO it simply isnt there ..what do i need to do get ADO access for my programs (based on database connectivity)

Member Avatar for ultra vires
0
82
Member Avatar for ultra vires

My friend just gave me a c++ problem.. well the problem was to make small circles on circumfrence of a big circle that is positioned in the middle of screen... well i can get that middle of screen by getmaxx()/2 ... but all i can get to find locus of …

Member Avatar for jim mcnamara
0
328
Member Avatar for ultra vires

i was working on an application....(chat based program (server /client)) and i needed that when a particular string is recieved i can activate picturebox for 3 seconds and then disable it ( picturebox.visible= false) i have no idea on how to use timer control at all because i never felt …

Member Avatar for williamrojas78
0
128
Member Avatar for ultra vires

out of the blue i lost 20 - 30 % of icons like .doc ,.ppt all micrsosoft office and some other programs. Is there a way to like get them back or something :cry:

0
213
Member Avatar for ultra vires

I wanted to calcualte the execution time of Bubble sort or for that matter any loop . i tried using the clock funtion in c but it gives me 0 seconds for even 10000 elemnts being in the list :sad: .

Member Avatar for bumsfeld
0
153

The End.