- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 24
- Posts with Upvotes
- 22
- Upvoting Members
- 17
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 3
im a guy
Re: i advice you shour separate `$example1 = "person-1@here.com, person_2@there.net; person.3@wayoverthere.com";` in the same character like `( ; )` then you can use the php explode() `$emails = explode(';',$example1);` | |
Re: copy and paste this <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { … | |
please help me in this,how would i do some recursive statement in my stored procedure. here is what i want -- @requestcode will genereate some random string set @requestcode = (SELECT substring(@username,0,3)+'-'+SUBSTRING(CONVERT(varchar(255), NEWID()), 0, 9)) -- then i want to check if the string generated is existing to 'sampletable' select … | |
Re: you can upload file without using the drive name.. note that Source ->>(should have already an access)->> Destination then you could access it the destination like: $config['upload_path'] = '\\\\ipaddressOrName\\sharedpath'; | |
Re: This flow might help ---controller 1. controller :(loads the form) --- view 2. form : you can start the form by this "echo form_open('[redirect to contact function for sending email]')" perhaps contact funtion accepts parameters like "email" for from,"subject" and "body" on submit #note be sure you loaded the form … | |
Re: yes it is possible depends also on what web language you want to pair with oracle me i experiece pairing it with php i use oci http://php.net/manual/en/function.oci-connect.php | |
Re: the above examples are right you could also try this site in making a favicon http://www.favicon.cc/ | |
Re: you could use the header('Content-type: text/xml'); then try to print a xml tags like the example below as it get data from the table the data will be displayed as xml $stmt = "select * from table"; $query = mysql_query($stmt); $data = array(); while($row=mssql_fetch_assoc($query)){ $data[] = array($_GET['query'] => $row); } … | |
Re: i think this could help $sendTo = 'test@localhost'; //valid email address created on your localhost mail server $subject = 'This is the subject'; $headers = "From: testing@localhost"; $msg = "The quick brown fox jumps over the lazy dog"; ini_set("SMTP","127.0.0.1"); ini_set("smtp_port","25"); mail($sendTo, $subject, $msg, $header); | |
Re: hi dude you could try this site i think this could help http://www.programr.com/zone/js | |
help me find out what's wrong with this code i got stuck with this error > ldap_search Search: Operations error <?php error_reporting(E_ALL); ini_set('display_errors', 'On'); $ADServer = 'sample.example.net'; $loginto = 'Aboitiz'; $uname = $_POST['uname']; $passwd = $_POST['pass']; $ldapconn = ldap_connect($ADServer) or die("Could not connect to LDAP server."); $ldaprdn = $loginto."\\".$uname; $ldapbind … | |
Re: first you have to have 1.apache - for the webserver 2. php 3. mysql - for the database or you could download xampp (it has all of the stuff above) you could choose any text editor i am using subline text editor | |
| |
here the link of an the image what i am expecting http://s1302.beta.photobucket.com/user/havefwithme/media/layout_zps7366480f.png.html but what i got is A(blue box) inherits the hieght of its mother container the b(red box) here is my css A{ border:1px solid blue; width: 300px; float:right; } B{ border: 1px solid red; position: fixed; bottom:0px; right:0px; … | |
Re: my advice to you is at your db you should have allocated permission column like firstname | access maryjoye | 1-> admin then as the users login put the access column to a $_SESSION so you could use it on a session to easy identify what is the permission of … | |
Re: You mean, you gonna make it a responsive website? | |
Re: in fixing it dont echo the execution if you want to print the statement separate it like $sql = "select * from table"; echo $sql; $query = mysql_query($sql); but if you want to print the result follow veedeoo's advice | |
Re: how about trying this one assuming $num is the number you want to fill $num = "4"; $len = strlen($num); $zeros = 5-$len; $no = ""; for($x=1;$x<=$zeros;$x++){ $no .="0"; } $no = $no.$num; echo $no; | |
Re: can you give me the tables and data so i could try it.(sql) | |
| |
| Re: assumint that the variable name of your array above is $array $index = 1; echo '<table>'; foreach($array as $val){ if($index==1){ echo '<tr>'; foreach($val as $key => $value ){ echo '<th>'.$key.'</th>'; } echo '<tr>'; } echo '<tr>'; foreach($val as $key => $value){ echo '<td>'.$value.'</td>'; } echo '</tr>'; $index++; } echo '</table>'; |
Re: SELECT group_concat(revertrsn separator ' ') from LN08PENm #for mysql SELECT wm_concat(revertrsn)from LN08PENm # for oracle | |
Re: if youre using jquery function set_status(){ $('formname input').each(function() { if(this.disabled==true){ this.disabled=false; }else{ this.disabled=true; } }); } or native javascript function set_status(){ var len = document.former.elements.length; //please be noted that former is the name of your form for(var x=0;x<len;x++){ if(document.former.elements[x].disabled==true){ document.former.elements[x].disabled=false; }else{ document.former.elements[x].disabled=true; } } } | |
Re: be sure to run your mail server.. then have this php code ini_set("SMTP","127.0.0.1"); # set the smtp server ini_set("smtp_port","25"); # set port mail($sendTo, $subject, $msg, $header); #send mail | |
Re: in your button submit <input type="button" onclick="validator_function_from_js()" value="submit"/> then in your javascript have this function function validator_function_from_js(){ var username = document.getElementById('usernameidhere').value; var password = document.getElementById('passwordidhere').value; //then the rest of the code.... } | |
Re: how about this ,getting the computer name `gethostname()` try to echo and it will display your computer name | |
Re: ; Maximum allowed size for uploaded files. upload_max_filesize = 20M ; Must be greater than or equal to upload_max_filesize post_max_size = 20M #php.ini | |
Re: you could a create a responsive website.. there are lots of frameworks that could help you on this some are http://twitter.github.com/bootstrap/ http://foundation.zurb.com/ | |
Re: z-index is not an absolute measurement, where your specifying z-index your specifying relative heres: your updated code but it has a lil move .actionlist { background:#e6eaf6; border:1px solid #d9e0f4; border-radius:5px; width:132px; padding:8px 0 } .dott { list-style:none; background:yellow } .dott li{ height:20px;} .dott li a { padding:2px 9px; color:#454545; font-size:11px; … |