Search found 4 matches
- Thu Jan 19, 2012 4:52 am
- Forum: PHP - Code
- Topic: search the mysql database with full/part words
- Replies: 1
- Views: 212
search the mysql database with full/part words
i am having the database consists of morethan one lac rows. we have a search option in our website to search the database for required information. the present code is like this: form.php `<input type="radio" name="tag" value="city" /> CITY <br/>` `<input type="rad...
- Wed Jan 27, 2010 5:48 am
- Forum: PHP - Code
- Topic: calling a function from another function
- Replies: 3
- Views: 101
Re: calling a function from another function
To pass information into a function you should use arguments. To pass information out of a function you should use return values. That's it. Beyond that, variables in one function do not magically appear in another function. PHP manual on functions thank s for quick reply i passed the arguments to ...
- Tue Jan 26, 2010 11:49 am
- Forum: PHP - Code
- Topic: calling a function from another function
- Replies: 3
- Views: 101
calling a function from another function
i got a problem while calling a function from another function. the code runs like this. function get_all($agcode){ global $connection; $query="SELECT * FROM agdb WHERE agentcode={$agcode}"; $result=mysql_query($query, $connection); confirm_query($result); while($row=mysql_fetch_array($res...
- Mon Jun 29, 2009 12:04 pm
- Forum: PHP - Theory and Design
- Topic: applying different formating options on the text
- Replies: 2
- Views: 628
applying different formating options on the text
i am a learner in php and in one exercise : the user has to input the text and in a text area and there should be formatting options like change the color of the text, size and font family. i am able to the task but the result is in another page. please any body tell me is it possible to do it in th...