- 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
132 Posted Topics
i advice you shour separate `$example1 = "[email protected], [email protected]; [email protected]";` in the same character like `( ; )` then you can use the php explode() `$emails = explode(';',$example1);`
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 …
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';
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 …
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
the above examples are right you could also try this site in making a favicon http://www.favicon.cc/
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); } …
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);
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 …
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; …
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 …
You mean, you gonna make it a responsive website?
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
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;
can you give me the tables and data so i could try it.(sql)
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>';
SELECT group_concat(revertrsn separator ' ') from LN08PENm #for mysql SELECT wm_concat(revertrsn)from LN08PENm # for oracle
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; } } }
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
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.... }
how about this ,getting the computer name `gethostname()` try to echo and it will display your computer name
; 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
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/
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; …
could you post the script of inserting the data
be sure that you sql server is running then http://www.linuxquestions.org/questions/linux-server-73/cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysqld-sock-753632/
http://social.msdn.microsoft.com/forums/en/netfxnetcom/thread/a75533eb-131b-4ff3-a3b2-b6df87c25cc8/
yah jorgeM was right it depends on who you are being manage by. best case senario for that is you could grant those task which a network administrator had, which could be a good experience for a student..
you could have also design you network with diffrent approach from the public network to your private network and you could also use their advice.
try this common function to check or uncheck input checkbox from 'formname' form function checkAll(){ var inputTags = formname.getElementsByTagName('input'); for (var i=0, length = inputTags.length; i<length; i++) { if (inputTags[i].type == 'checkbox') { if(inputTags[i].checked==true){ inputTags[i].checked = false; }else{ inputTags[i].checked = true; } } } }
did you see some javascript errors have you tried using browser development tools to see some javascript error.. like firefox just press `ctrl+shifg+j`
yes you could have border without affecting space gaps because border already collpased
yah EvolutionFallen seems right in addition just be sure the your logout function is int logout.php if youve got to follow his code =).
try Updating each row, Deleting, And Creating
can you give your table structure? and as what arti18 posted..there is a form as you save the username and password cause from your code there is no form.. from the savepassword.php file this line `$sql = "UPDATE admin SET admin_id='$admin_id', admin_password='$admin_password' WHERE admin_id='$admin' ";` $admin_id should contain post or …
http://blog.sqlauthority.com/2009/04/13/sql-server-introduction-to-joins-basic-of-joins/
try to check if `$_GET['man_id']` is not empty or if `$_GET` is not empty or isset like if(isset($_GET) and !empty($_GET)){ print_r($_GET); }else{ echo 'empty'; exit; } befor this line ` $man_id=$_GET['man_id'];` @ line 3 lets see whats the result
hope it will help http://en.wikibooks.org/wiki/Web_Development/Choosing_the_right_programming_language
i found this on your code `$resultday = mysql_query("SELECT COUNT(idads) AS countidadsday GROUP BY date FROM adsmgt") or die(mysql_error());` basically this displays error because you declare group by before the table name so this should be the proper one `$resultday = mysql_query("SELECT COUNT(idads) AS countidadsday,date, time FROM adsmgt GROUP BY …
Hi guys, Need an effective suggestions on how to deal with this situation. Im working with php and mysql. Now the system i am creating needs to send emaill notification once a year.
yah its correct for just showing the tables... but be sure to declare first `$selected_venue_id` outside or inside the loop =) then you can have the attribute for `<select>` onchange
The End.