39,326 Topics

Member Avatar for
Member Avatar for SirMahlon

my form has an option where user can choose to fill but should that option be choose then the form will will submit to two tables if not chosen the one table using php/mysql.table being patient and insurance table. Prompt assistance will be appreciated.thanks $query = "insert into patients (title,patientid,name1, …

Member Avatar for SirMahlon
0
175
Member Avatar for Eagle.Avik

hi want my user to upload images to my server. There is a lot of security risks i am aware of, like: 1. client side validation is not a good idea. 2. PHP code can be embedded into various other data types.(like embeded in a image file) 3. by using …

Member Avatar for cereal
0
746
Member Avatar for RikTelner

Is there a secure PHP encryption on which NSA hasn't put or isn't able to put in future of 20 years it's hands on?

Member Avatar for pritaeas
0
224
Member Avatar for ronaldpaul

Friends, in my project i'm using onblur event in four text boxes and using that onblur event i wanna call different javascript functions i.e', like first text box onblur="test()" and in second text box onblur="test1()" etc. But only one onblur onblur is calling the function and other onblurs are not …

Member Avatar for gökhan_1
0
7K
Member Avatar for jtreyes

Hello! Could anybody please help. I need to be able to insert a set of user inputed form values to a database and then redirect to the same form with the values still in the fields. I tried to use "[I]$_SESSION['PHP_SELF'][/I]" in the form action. It redirects me to the …

Member Avatar for janetkissho
0
3K
Member Avatar for suika

Hi, I am using VB6 and phpMyAdmin connected by WAMPServer for my system. I am new in this language. Here's the code in my that seems to be wrong: Private Sub cmdsubmit_Click() Dim rs As ADODB.Recordset Dim strsql As String strsql = "insert into table1 ( surname, firstname, middlename, house, …

Member Avatar for hapticz
0
677
Member Avatar for cmps

I am coding a bbcode parser system. But I'm stuck with the nested tags. I would like to know if someone know the regex pattern to find for instance a [url] tag. Example: [url][url]Hello world .com[/url][/url]. I want the output for this to be <a>[url]Hello world .com[/url]</a> where [url]Hello world.com …

Member Avatar for cmps
0
265
Member Avatar for geneh23

Hey everyone, I have a question about how to dynamically change a link based on the current page. Sort of like the "breadcrumb" feature in wordpress. However I don't want it to read as follows: "index.php", "about-us.php"..ect. I want the link to be something like "Home" "About Us" ..ect. How …

Member Avatar for geneh23
0
253
Member Avatar for sara.alsaffah

hi iam working on building a website for maintaining PCs, and if anyone get in my site asking for help, if i try to answer him the answer will go to the werong person, so please any help <html> <head> <meta charset='utf-8'> </head> <body > </body> </html> <?php $dbhost = …

Member Avatar for pixelsoul
0
125
Member Avatar for wfray

The following PHP code works fine with javascript in Internet Explorer but fails in Firefox. Javascript is enabled in Firefox. It appears that when the button/icon is clicked, it enters the javascript function, but doesn't change the icon on the page. It also seems to return to the PHP code/page …

Member Avatar for wfray
0
340
Member Avatar for RikTelner

Resource: http://www.w3schools.com/php/php_xml_simplexml.asp I wasn't able to Google it since I don't know how to form question. So lets say the **xml** file is <?xml version="1.0" ?> <major> <point>Tower</point> </major> </xml> I can retrieve it by using **PHP**: <?php $file = simplexml_load_file("file.xml"); echo "Well, the point in on ". $file->point ."."; …

Member Avatar for RikTelner
0
110
Member Avatar for Naveed_3

here is my code <td align="right"><img src="images/follow.jpg" width="125" height="24" /><A HREF="http://www.facebook.com"><img src="images/facebook.jpg" width="23" height="24" /> I can not get directed to www.facebook.com but the link redirects it to www.mywebsitename.com/www.facebook.com. Please suggest the code Thank you.

Member Avatar for broj1
0
42
Member Avatar for Amr87

I have this array Array ( [0] => Array ( [post_category] => cat-1 ) [1] => Array ( [posts_count] => 33 ) [2] => Array ( [cells_num] => 1 ) [3] => Array ( [grid_num] => 0 ) [4] => Array ( [post_category] => cat-2 ) [5] => Array ( …

Member Avatar for Amr87
0
143
Member Avatar for Linddha

i have 3 table with different structure.. * article (content of only text) * download (content of text,file and image) * market (text, image) i want to show the search result from those table together but with different style (only text, or image, or both) but when i use UNION …

Member Avatar for urtrivedi
0
133
Member Avatar for ImZick

Hi i have input type text as date with a value of "2013-12-25" and i have a database with a field of month and a value of (December) and Year (2013). How can i convert the value of (2013-12-25) to a string of December and Year so i can use …

Member Avatar for broj1
0
323
Member Avatar for logicslab

Dear pals, I am searching a payment gateway which can do Credit/Debit/Internet banking in a single system. Do you know any thing in current existing system . Let me know and advise Thanks anes

Member Avatar for urtrivedi
0
454
Member Avatar for gsynr

Hi...All I am new to Ajax in PHP and trying the below code which works fine in Google Chrome but not works in IExplore.. Thanks in Advance <script language="javascript"> function showTeh(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

Member Avatar for gsynr
0
173
Member Avatar for daniel.conlinjr.1

if run to a delemia when im out of the hosue and not near a net work i want to be able to run on local, but i dont want to have to change the credientials is there a way i can have it try one and if it snt …

Member Avatar for ryantroop
0
94
Member Avatar for Salman Bukharii

<?php //////////////////////////// ////////////Kharcha Section //////////////////////////// $kid = 0; if(isset($_POST['kharcha_btn'])){ if(!empty( $_POST['karaya'] ) && !empty( $_POST['custom'] ) && !empty( $_POST['store-fees'] ) && !empty( $_POST['market-fees'] ) && !empty( $_POST['commision'] ) && !empty( $_POST['mazdoori'] ) && !empty( $_POST['wapsi-khracha'] ) && !empty( $_POST['munshiyana'] ) && !empty( $_POST['daktar'] ) && !empty( $_POST['kham-bekri'] ) && !empty( …

Member Avatar for broj1
0
138
Member Avatar for Tko_1

hello, when I echo $acfile; it shows up with the users name. when i try to insert the variable into the text field, the below code will show the value as blank. $HTML .= ' <input type="text" value="' . $acfile . '" id="contest-name" name="contest[name]" value="' . ( isset( $entry['name'] ) …

Member Avatar for broj1
0
98
Member Avatar for erum.saeed.75
Member Avatar for pelle12
0
169
Member Avatar for Kniggles

Hi All, Am trying to send the same e-mail to 2 addys with one click with out using the cc or bcc , this is the line i am syuck on $email = '$_REQUEST['email'],$_REQUEST['email2']' ; it works if i do not add the 2nd email request to i am guessing …

Member Avatar for Kniggles
0
193
Member Avatar for ismail123

I've created a View called 'Other member's which I only want to be displayed to logged in users. Is there a way where I can add this as a menu item next to 'View'and 'Edit'? how can i do this one for Drupal?

Member Avatar for diafol
0
52
Member Avatar for RikTelner

Hi there. I was kinda researching on how I could store data at best (in my opinion). I came on "CSV" files. Which looked great to use. I found out there are two functions that can operate file. So I keep Googling on how to use the syntax and how …

Member Avatar for cereal
0
280
Member Avatar for annyangel

dear all, i have a code in php class. through that code plz help me to solve my problem. in the below code why we use $this->message .. can't we use $message under constructor? plz pl ztell me thanks **myClass.php** <?php class myClass { public $message; public function __construct() { …

Member Avatar for pelle12
0
143
Member Avatar for RikTelner

I downloaded this: http://www.php.net/downloads.php The first one. I have read this: http://stackoverflow.com/questions/4301975/how-can-i-run-a-php-without-a-web-server So I thought answer on StackOverflow would be perfect. It looked so. But when I "untared" I saw no **php.exe** in the folder. How this can be?

Member Avatar for RikTelner
0
381
Member Avatar for varun gaba

hey i am facing a problem in sorting the post.I want that when a user click on **NAME** button then all post display by name.Then if user want to print the post by the latest date.Then it click on **DATE** button.How is it possible .what will i do in wordpress...

Member Avatar for patk570
0
165
Member Avatar for damle1

Hi I am New to PHP and my question looks stupid but i am stuck I want to search operation register to search by id and print out put of perticular id my first file has this code: <form action="printotreport2.php" method="POST" target="_blank"> <tr> <td>Ot Reg ID of Patient </td> <td> …

Member Avatar for Fr3aK
0
228
Member Avatar for tqmd1

Sir I am using these codes <div id="search"> <label for="filter">Filter</label> <input type="text" name="filter" value="" id="filter" /> </div> <br /> <table cellpadding="2" cellspacing="0" width="90%" id="resultTable"> <thead> <tr> <th> <strong>ID</strong> </th> <th> <strong>Name</strong> </th> <th> <strong>Mobile</strong> </th> <th> <strong>City</strong> </th> <th> <strong>Country</strong> </th> </tr> </thead> <tbody> <?php $sql = "SELECT * from …

Member Avatar for tqmd1
0
206
Member Avatar for aaliyahgorge

How to promate our face book brand pages ? Please give some useful tips that definetly hel or solv out my problem.

Member Avatar for Smiti
0
168

The End.