Member Avatar

<?php $array['key1']['key2']=array(); array_push($array,$array['key1']=>'one',$array['key2']=>'two') print_r($array['key1']['key2']); ?> can someone tell me if this is possible for multidimensional arrays? revise the code if I am wrong actually I am creating a site for billboards reservation

Member Avatar
+0 forum 10
Member Avatar

May I ask if there already broadband connections that uses USB or HDMI the connection medium of a modem or router or gateway of a certain house to the node or exchange? I would like to also chat with you for open discussion forum at this email address aldrich.uy.g@gmail.com

Member Avatar
+0 forum 1
Member Avatar

I have a project that must have centralization of databases that will have access to the web on a PHP script. I can merge MSSQL and MySQL databases if and only if they were both: 1.) On a same server or 2.) Of the same server type The problem is what if they were on 2 distinct types of server. Like what the title's scenario is. May be I am at the wrong section but because this relates with PHP, I posted here.

Member Avatar
+0 forum 3
Member Avatar

what is the reason of removing the feature toggle code? previous interface of this website has toggle code. may I know why was it removed?

Member Avatar
+0 forum 1
Member Avatar

I have MS EXCEL 2k3 problem: On my previous post I have the NOT the INTERSECTION of 2 sets of data using VLOOKUP() where is the equivalent function of INTERSECTION in Discrete Mathematics. Right now I was looking for forums if Excel has the ability to combine 2 sets of data not by concatination. In Database Programming the sets of data from multiple tables is possible by using UNION() others are possible also on JOIN(). Since in database programming was possible because I am more excellent in web programming than using excel and finding the possiblities if ever Excel has …

+0 forum 0
Member Avatar

Problem: I have a version of 2003 of MS EXCEL for example I have Line A and Line B in the same work sheet the DATA of Line A has a b c d e and f the data of Line B has b and d only if I use this formula Vlookup($A:$A,$B:$B,1,FALSE), it returns b and d in line C but what I want is th the a c e and f how would I do that. in discerete Mathematics, vlookup() is the INTERSECTION of 2 sets but what I want is NOT the INTERSECTION of two sets in …

Member Avatar
+0 forum 2
Member Avatar

I dont know where to post it, but this is the reliable help from geeks I've known for several years Problem: I have a version of 2003 of MS EXCEL for example I have Line A and Line B in the same work sheet the DATA of Line A has a b c d e and f the data of Line B has b and d only if I use this formula Vlookup($A:$A,$B:$B,1,FALSE), it returns b and d in line C but what I want is th the a c e and f how would I do that. in discerete …

Member Avatar
+0 forum 1
Member Avatar

I found a way on how to code the backup for mysql database table. but I was wondering on how PMA(PHPMyAdmin) does this scenario on backing up the sql file. the one that has AUTOMATIC download to your machine. this is the simple syntax I made myself [CODE=PHP]<?php /*TOOLS YOU CAN USE advertisement See Also: Cron Job Tutorial: Crontab Scheduling Syntax and Script Example Constant Contact Chooses SkySQL for MySQL Support Manage Backups for WordPress Files and Databases This application will help you in the following ways: It will allow you to do backups automatically, instead of manually with a …

Member Avatar
+0 forum 1
Member Avatar

My PHP Session Log-in and log-out works fine but this is the problem I have a site consists of admin folder and outside the admin folder are the customer page files. both of them has sessions for log-in and log-out purposes but it acts so WEIRD because if I'm running on a same browser... the admin page log-in data value copies to customer page file and vice versa (from customer to admin page). If I set to run the admin or the customer page file on a different browser it seems to work fine but what I want to know …

Member Avatar
+0 forum 5
Member Avatar

I wanna try my self as an experience. Scenario: I have a member join and member log-in wherein the pass word is encrypted in the database (MySQL) Now let's say he forgot the password it too lazy to just open your email account for just getting the password recovery. What I thought of is to only show the encrypted password since the admin level cannot see the username. I wanted to show the password the non-encrypted information on password which could be only accessed by customers.

Member Avatar
+0 forum 6
Member Avatar

typically i'm good at trouble shooting windows OS even at reformatting and installtion with winows bootable flash disk and it's bootable DVD. but I have a problem in linux. what I want you to know is to properly set up bootable flash drive containing suse linux. because I can prepare bootable windows flash disk, may be there's a procedure or an Application that can prepare Linux bootable Flash Disk. I have now in my personal computer an OS of windows 7 Ultimate. but the my personal computer doesn't have a DVD rom drive and I only have 16 GB flash …

Member Avatar
+0 forum 3
Member Avatar

In my full program. I managed to finish my own thesis project from a certain bookshop company. It's features has: 1.) CMS ( Catalog, Gross Revenue, Number of Users, Number of Orders, Contact details of customers, Multiple admin Accounts, update-able Currency Foreign Exchange (from Oanda.com), paypal module, one-to-one and one-to-many messaging service (thru smtp), facebook like, twitter twit, RSS feeds, newsletter, loaclization, inventory, order listing detailss, product and catalogs, and so on that is necessary for a complete CMS. 2.) customer page has products, paypal, cash on delivery, my account, log-in sign-out, facebook like, twitter twits, RSS Feed, newsletter, About …

Member Avatar
+0 forum 4
Member Avatar

I have no idea if it is possible to post selling product if there's no human operation. What I mean is this scenario. this is a bookstore that wants to create an online page of shopping cart for their own. Among the thousands of items in that bookstore that is available. a person has determined during the inventory hours to which is the top 5 selling products of their bookstore. Problem: Is there a way that only a machine could determine dynamically implemented to which among the thousands of items in that bookstore is the TOP 5 selling products, with …

Member Avatar
+0 forum 5
Member Avatar

you may download [URL="https://skydrive.live.com/embedicon.aspx/.Public/CLC.zip?cid=3e21e1e16478087a&sc=documents"]this[/URL] to see the whole thesis program. I'm more for now on functionality than design interface. this about a problem on the get_value.php to the receipt.php the problem: I can get now the value using session functions but the problem is.... the list of checked items from the body.php (search the list of items) that was run by postback.php thru AJAX now from the body.php viewed on broweser. there was list of checkboxes... those check boxes function are done on the next page (get_value.php)... which was echoed properly.... the listed thngs which was done by the checkbox …

Member Avatar
+0 forum 6
Member Avatar

the problem here is When I check 1 checkbox there's no mysql error but if the checked checkboxes are more than 1 then an error occurs. it only takes the first but the following checkboxes occurs an error. the code can be downloaded here. the file of the problem is get_value.php [URL="https://skydrive.live.com/embedicon.aspx/.Public/CLC.zip?cid=3e21e1e16478087a&sc=documents"]https://skydrive.live.com/embedicon.aspx/.Public/CLC.zip?cid=3e21e1e16478087a&sc=documents[/URL] please help me out getting all the values of all checked checkboxes. in my program.... the first in the list was taken by the process but the succeedig checkboxes occurs an error. pleast tell me here the correct code of the program

Member Avatar
+0 forum 8
Member Avatar

File name:index.php [CODE=PHP] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","postback.php?q="+str+"&query_type="+query,true); xmlhttp.send(); } </script><title> Search Books </title> </head> <body> <form method ="get" > <div style="background-color:Orange"> <h3>Welcome<?php echo $_GET['username'].", "; ?> Want to search a book?</h3> Search:<input type="text" name="users" onKeyUp="showUser(this.value)"/><br/> Search By<br/> Author<input type="radio" name="query_type" id="Author" onClick="showUser()" checked="checked" style="color: Black"/>or by<input …

Member Avatar
+0 forum 5
Member Avatar

body.php [code=php] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","postback.php?q="+str+"&query_type="+query,false); //xmlhttp.open("POST","postback.php",false); xmlhttp.send(); } </script><title> Search Books </title> </head> <body> <form method ="GET" > <div style="background-color:Orange" align="left"> <h3>Welcome<label name="name"><?php /*require('validation.php');*/ echo $_GET['uname'].", "; ?></label>Want to search a book?</h3> Search:<input type="text" name="users" onKeyUp="showUser(this.value)"/><br/> Search By<br/> Author<input type="radio" name="query_type" id="Author" onClick="showUser()" checked="checked" style="color: …

+0 forum 0
Member Avatar

the code in php: name it as postback.php [CODE=PHP] <?php $q=$_GET['q']; $query_type=$_GET['query_type']; $words=explode(' ',$q); $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("clc_books", $con)or die('cannot connect'); $q = preg_replace('/\s\s+/', ' ', $q); // remove extra space echo "<table border='1'>"; echo" <tr> <th>book id</th> <th>book number</th> <th>book name</th> <th>Author</th> <th>SRP</th> </tr>"; $operator=""; $condition=""; for( $i = 0; $i < count($words); ++$i ){ $condition.=$operator." CONCAT(".$query_type.") LIKE CONVERT(_utf8 '%".$words[$i]."%' USING latin1) COLLATE latin1_swedish_ci"; $operator=" OR "; } $sql = "SELECT *,CONCAT(".$query_type.") as fullname FROM `clc_books_list` "; if ($condition!="") $sql .= " where ($condition) "; $result = mysql_query($sql) or die('cannot query …

+0 forum 0
Member Avatar

I have Xampp as my server. Apache server from my Laptop works here on my netbook by replacing the "localhost" in to it's IPv4 address. On my netbook. it has WebMatrix which runs on an IIS. what I want to see is an IIS working to view on my Laptop. I tried to replace the "localhost" with the IPv4 address of my netbook. but the problem has occured. the web files is in PHP. both the same file name as it is. what i want to do is if there's a way that localhost will be look like webhost that …

+0 forum 0
Member Avatar

I have a problem when it comes to my plan for a thesis defense. though the PHP scripts are now ready... I wonder if I can access a loclahost from other computer in an intranet. Plan of the Problem: Computer A is the client computer of Computer B and Computer C. Computer B is the hosting server (or the menu) while Computer C is the hosting server of the payment process in transacted Computer B. Computer A will go through the payment process in Computer C. Computer C will now Communicate with Computer B (Server to server communication) thru XML …

Member Avatar
+0 forum 4
Member Avatar

I have a form called Form1. wherein Form1 has a split panel container. on the right side of Form1 is a web browser window. the right side are the buttons. one button there is calling another form. but there's a problem on this Form called Form2. I have google earth EXE and it's component files together with the same folder of the project. The Form2 will call the googleearth.exe file now... I know the program syntax [code=visual basic .net] 'on form load Process.Start("C:\Users\ALDRICH\Documents\Visual Studio 2010\Projects\Google Locator\Google Locator\Google Earth\client\googleearth.exe") [/code] My question now is... since process start will just open a …

Member Avatar
+0 forum 1
Member Avatar

I have 2 forms right now Form1 and Form2 the default setting start up is Form2. Inside Form 2 there was a button that will release the Form1 button using Form1.Show(). I have now the problem. What I want to do now is to close the Form2 without closing the Form1. inside Form2 button: [CODE=Visual Basic.NET]Button_Click.... Form1.Show() 'End End sub [/CODE] is there any way that solves my problem?

Member Avatar
+0 forum 4
Member Avatar

POSTBACK.php [CODE=PHP] <?php $q=$_GET['q']; $words=explode(' ',$q); //$words2 = "'%".implode("%','%",$words)."%'"; //echo $words2; $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or die('cannot connect'); //$sql = 'SELECT * FROM `ajax_demo_table` WHERE `FirstName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci OR `LastName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci'; $q = preg_replace('/\s\s+/', ' ', $q); // remove extra space // $sqlw = "SELECT *,CONCAT(FirstName, ' ',LastName) as fullname FROM `ajax_demo_table` WHERe "; //$sql = "SELECT *,CONCAT(FirstName, ' ',LastName) as fullname FROM `ajax_demo_table` WHERE CONCAT(FirstName, ' ',LastName) LIKE CONVERT(_utf8 '%".$words[$i]."%' USING latin1) COLLATE latin1_swedish_ci "; echo "<table border='1'>"; //if(mysql_fetch_array($result)>=1){ echo" …

Member Avatar
+0 forum 2
Member Avatar

I don't have any syntax error with this code on my PHP file.. I have only a problem when it comes to output of the search query error messaging... here's the code postback.php [CODE=php]<?php $q=$_GET['q']; $words=explode(' ',$q); $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or die('cannot connect'); //$sql = 'SELECT * FROM `ajax_demo_table` WHERE `FirstName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci OR `LastName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci'; $q = preg_replace('/\s\s+/', ' ', $q); // remove extra space for( $i = 0; $i < count($words); ++$i ){ $sql = "SELECT *,CONCAT(FirstName, ' …

Member Avatar
+0 forum 9
Member Avatar

Dear readers and administrators, I wonder if I have the right to suggest here to add new item list in this site but it since I have the right post it here, I want to suggest to add a forum section or thread section under web development about the new web programming language called CSHTML (C# HTML or what is called easily to remember as RAZOR Programming Web Development) Just simply call it as RAZOR. When I found this out... I found it interesting than ASP.NET MVC so easier than JavaScript alone and can embed C# files or codes into …

Member Avatar
+0 forum 2
Member Avatar

I have two files here.... index.html and postback.php index.html [CODE=HTML] <html> <head> <script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","postback.php?q="+str,true); xmlhttp.send(); } </script> </head> <body> <form> <!--<select name="users" onchange="showUser(this.value)"> <option value="">Select a person:</option> <option value="1">Peter Griffin</option> <option value="2">Lois Griffin</option> <option value="3">Glenn Quagmire</option> <option value="4">Joseph Swanson</option> </select>--> <input type="text" name="users" onchange="showUser(this.value)"> </form> <br /> <div id="txtHint"><b>Person info will be listed here.</b></div> </body> </html> [/CODE] postback.php …

Member Avatar
+0 forum 8
Member Avatar

ALL THE FILES ARE HERE. [URL="http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar"]http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar[/URL] THERE'S A PROBLEM IN THE FILE RECEIVER.PHP I can't solve why I cant upload with restrictions, what I want is to upload multiple files in one deploy... it's an array of files. I want these each files of every array element is checked and then saved in the destined folder. if it's images such as jpeg or other formats... it will be saved to images folder and if it is music then it music and other types in others folder. I tried to use if statement with $_FILES['type'] I dunno what to do. pls …

Member Avatar
+0 forum 2
Member Avatar

this is the code for selecting the file to be deleted by the user [CODE=HTML] <title>File Delete</title><form enctype="multipart/form-data" action="delete.php" method="POST"> <input type="hidden" name="hidden1" value="file to be uploaded in AldrichSample folder" /> Please choose a file: <input name="deleted" type="file" /><br /> <input type="submit" value="DELETE" /><br /> <input type="reset" value="cancel" /><br /> </form> [/CODE] this is the code for getting the file path [CODE=PHP] <?php //$delete=$_POST['deleted']; echo basename( $_FILES['deleted']['name']); $dir = dirname(__FILE__.$_FILES['deleted']['name'])."\\".basename( $_FILES['deleted']['name']); echo "<p>Full path to this dir: " . $dir . "</p>"; ?> [/CODE] the question is why i cant get the last subfolder? it only gets the subfolder of …

+0 forum 0
Member Avatar

this is the whole code where in I got a problem [CODE=php] <?php //get the value of the selected radio value from webpage1.html $n=$_POST['company']; $dbhost="localhost"; $dbuser="root"; $dbpass=""; $dbname; ?> <html><head><title>web page1</title></head><body> <?php // logical selection for $n if($n==1){ echo"You selected Company <font color=red>bhagis portal</font> <br>"; $dbname="bhagis_portal"; } elseif($n==2){ echo"You selected Company <font color=red>bli portal</font> <br>"; $dbname="bliportal"; } elseif($n==3){ echo"You selected Company <font color=red>m portal</font> <br>"; $dbname="m_portal"; } else{ echo"You Selected Company <font color=red>vg portal</font> <br>"; $dbname="vg_portal"; } $conn=mysql_connect($dbhost,$dbuser,$dbpass)or die("Error connecting to MySQL"); mysql_select_db($dbname)or die(mysql_error()); $query="Select * from img_table"; $row=mysql_query($query)or die(mysql_error()); while($result=mysql_fetch_array($row)){ echo $result[0].") "; echo "<img src=/".$dbname."/images/".$result[1]."><br>"; } ?> <form …

Member Avatar
+0 forum 3
Member Avatar

I want a table that is auto computing like the ability of the microsoft excel that when I input a data in cell B1, C1 and D1( just an example on the features of excel ) it will compute an average in cell E1 which does not need to press any button to compute and tells whether if it is passing, passed or failed in cell F1( this cell f1 designates from the computation ) my aim here is to input 20 persons and input the Prelim Grade, Midterm Grade and Final Grade then the average is shown on the …

Member Avatar
+0 forum 5

The End.